java.lang.IndexOutOfBoundsException

Index: 0, Size: 0

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web6955

  • Index: 0, Size: 0
  • Index: 0, Size: 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.glassfish.admin.monitor.StatsProviderRegistry.disableStatsProvider(StatsProviderRegistry.java:168) at org.glassfish.admin.monitor.StatsProviderManagerDelegateImpl.register(StatsProviderManagerDelegateImpl.java:144) at org.glassfish.external.probe.provider.StatsProviderManager.register(StatsProviderManager.java:61) at com.sun.ejb.monitoring.stats.EjbMonitoringUtils.registerComponent(EjbMonitoringUtils.java:70) at com.sun.ejb.monitoring.stats.EjbMonitoringStatsProvider.register(EjbMonitoringStatsProvider.java:95) at com.sun.ejb.containers.BaseContainer.createMonitoringRegistryMediator(BaseContainer.java:5141) at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:461) at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:147) at com.sun.ejb.containers.StatelessSessionContainer.<init>(StatelessSessionContainer.java:141) at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:99) at org.glassfish.ejb.startup.EjbApplication.loadContainers(EjbApplication.java:191) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:175) at org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:63) at org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:157) at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:194) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:310) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:174) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:270) at com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:403) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:418) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:505) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:138) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:332) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:184) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166) at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:215) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:752) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:660) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:911) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:164) at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.ContextTask.run(ContextTask.java:69) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.dowork(FixedThreadPool.java:379) at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:360) at java.lang.Thread.run(Thread.java:619)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    6 times, 15 hours ago
    229 more bugmates