java.lang.reflect.InvocationTargetException: null

Sonatype JIRA | u-phoria | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Using Nexus OSS v 2.11.1-01. Have configured + enabled Yum: Generate Metadata capability, as well as the Yum: metadata for releases scheduled task. When I upload a fresh rpm via curl (per https://support.sonatype.com/entries/22189106-How-can-I-programatically-upload-an-artifact-into-Nexus-) - e.g. curl -v -u admin:admin123 --upload-file app-0.3-1.noarch.rpm http://192.168.33.20:8081/nexus/content/repositories/releases/ ... the file upload succeeds and appears to trigger yum metadata generation, which fails with the exception further below. Note that when the scheduled task to generate metadata is executed, it succeeds and the client machines can see the latest uploaded rpm in the repo. --- jvm 3 | 2015-01-22 12:10:24,296+0000 ERROR [qtp823589851-58] admin org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.default - Could not dispatch event: RepositoryItemEventStoreCreate(sender="Releases" [id=releases], releases:/kwc-0.4-1.noarch.rpm) to handler [wrapper public void org.sonatype.nexus.yum.internal.EventsRouter.on(org.sonatype.nexus.proxy.events.RepositoryItemEventStore)] jvm 3 | java.lang.reflect.InvocationTargetException: null jvm 3 | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) ~[na:na] jvm 3 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_31] jvm 3 | at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_31] jvm 3 | at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) ~[goodies-eventbus-1.9.jar:1.9] jvm 3 | at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.9.jar:1.9] jvm 3 | at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.9.jar:1.9] jvm 3 | at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.9.jar:1.9] jvm 3 | at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.9.jar:1.9] jvm 3 | at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.9.jar:1.9] jvm 3 | at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1023) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:463) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:659) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:179) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at org.sonatype.nexus.content.internal.ContentServlet.doPut(ContentServlet.java:602) [nexus-content-plugin-2.11.1-01/:na] jvm 3 | at org.sonatype.nexus.content.internal.ContentServlet.service(ContentServlet.java:358) [nexus-content-plugin-2.11.1-01/:na] jvm 3 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.v201112011016.jar:na] jvm 3 | at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76) [metrics-web-2.2.0.jar:na] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56) [nexus-core-2.11.1-01.jar:2.11.1-01] jvm 3 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 3 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) [jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na] jvm 3 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:651) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] jvm 3 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_31] jvm 3 | Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 jvm 3 | at org.sonatype.nexus.yum.internal.EventsRouter.getItemVersion(EventsRouter.java:200) ~[na:na] jvm 3 | at org.sonatype.nexus.yum.internal.EventsRouter.on(EventsRouter.java:107) ~[na:na] jvm 3 | ... 98 common frames omitted

    Sonatype JIRA | 2 years ago | u-phoria
    java.lang.reflect.InvocationTargetException: null
  2. 0

    VGO server crashing

    GitHub | 2 years ago | dweer
    java.lang.ArrayIndexOutOfBoundsException: 0 at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 150819_a(SourceFile:34) at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 76672_e(SourceFile:121) at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_7582 3_a(AnvilChunkLoader.java:441) at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedRe adChunkFromNBT__Async(AnvilChunkLoader.java:154) at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk __Async(AnvilChunkLoader.java:124) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:20) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:12) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini t(AsynchronousExecutor.java:151) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini tAsync(AsynchronousExecutor.java:96) at net.minecraftforge.common.util.AsynchronousExecutor$Task.run (AsynchronousExecutor.java:86) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:615)
  3. 0

    Confirming message received from Ardulink's sendCustomMessage() through serial.read()

    Stack Overflow | 2 years ago
    java.lang.ArrayIndexOutOfBoundsException: 1024 at org.zu.ardulink.connection.serial.AbstractSerialConnection$SerialReader.run(AbstractSerialConnection.java:190)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    H2 database is corrupt suddenly after a huge number of records is inserted

    Google Groups | 2 years ago | Sourav Mandal
    java.lang.ArrayIndexOutOfBoundsException: 793" [50000-174] at org.h2.message.DbException.getJdbcSQLException(DbException.java:332 <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=332&build=174>) at org.h2.message.DbException.get(DbException.java:161 at org.h2.message.DbException.convert(DbException.java:284 <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=284&build=174>) at org.h2.table.RegularTable.removeRow(RegularTable.java:394 at org.h2.store.PageStore.redo(PageStore.java:1537 <http://h2database.com/html/source.html?file=org/h2/store/PageStore.java&line=1537&build=174>) at org.h2.store.PageStore.redoDelete(PageStore.java:1511 at org.h2.store.PageLog.recover(PageLog.java:334 <http://h2database.com/html/source.html?file=org/h2/store/PageLog.java&line=334&build=174>) at org.h2.store.PageStore.recover(PageStore.java:1371 at org.h2.store.PageStore.openExisting(PageStore.java:361 <http://h2database.com/html/source.html?file=org/h2/store/PageStore.java&line=361&build=174>) at org.h2.store.PageStore.open(PageStore.java:285 at org.h2.engine.Database.getPageStore(Database.java:2277 <http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=2277&build=174>) at org.h2.engine.Database.open(Database.java:610 at org.h2.engine.Database.openDatabase(Database.java:236 <http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=236&build=174>) at org.h2.engine.Database.<init>(Database.java:231 at org.h2.engine.Engine.openSession(Engine.java:56 <http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=56&build=174>) at org.h2.engine.Engine.openSession(Engine.java:160 at org.h2.engine.Engine.createSessionAndValidate(Engine.java:139 <http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=139&build=174>) at org.h2.engine.Engine.createSession(Engine.java:122 at org.h2.engine.Engine.createSession(Engine.java:28 <http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=28&build=174>) at <http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=323&build=174>) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:105 <http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=105&build=174>) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:90 at org.h2.Driver.connect(Driver.java:73 <http://h2database.com/html/source.html?file=org/h2/Driver.java&line=73&build=174>) at org.h2.server.web.WebServer.getConnection(WebServer.java:656 at org.h2.server.web.WebApp.login(WebApp.java:904 <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=904&build=174>) at org.h2.server.web.WebApp.process(WebApp.java:209 at org.h2.server.web.WebApp.processRequest(WebApp.java:168 <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=168&build=174>) at org.h2.server.web.WebThread.process(WebThread.java:138 at org.h2.server.web.WebThread.run(WebThread.java:94 <http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=94&build=174>)
  6. 0

    Corrupted Database - unable to recover

    Google Groups | 5 years ago | beetle
    java.lang.ArrayIndexOutOfBoundsException: -1"; SQL statement: SELECT * FROM USER_SESSION [50000-155] at org.h2.message.DbException.getJdbcSQLException(DbException.java:327<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=327&build=155>) at org.h2.message.DbException.get(DbException.java:156<http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=156&build=155>) at org.h2.command.Command.executeQuery(Command.java:185<http://h2database.com/html/source.html?file=org/h2/command/Command.java&line=185&build=155>) at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:173<http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcStatement.java&line=173&build=155>) at org.h2.server.web.WebApp.getResult(WebApp.java:1304<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=1304&build=155>) at org.h2.server.web.WebApp.query(WebApp.java:994<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=994&build=155>) at org.h2.server.web.WebApp$1.next(WebApp.java:960<http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=960&build=155>) at org.h2.server.web.WebThread.process(WebThread.java:166<http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=166&build=155>)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at org.sonatype.nexus.yum.internal.EventsRouter.getItemVersion()
    2. org.sonatype.nexus
      EventsRouter.on
      1. org.sonatype.nexus.yum.internal.EventsRouter.getItemVersion(EventsRouter.java:200)[na:na]
      2. org.sonatype.nexus.yum.internal.EventsRouter.on(EventsRouter.java:107)[na:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_31]
      3. java.lang.reflect.Method.invoke(Method.java:483)[na:1.8.0_31]
      3 frames
    4. org.sonatype.sisu
      EventBus.dispatch
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.9.jar:1.9]
      2 frames
    5. ${project.groupId}:${project.artifactId}
      ReentrantGuavaEventBus.dispatchQueuedEvents
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.9.jar:1.9]
      2. org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.9.jar:1.9]
      2 frames
    6. org.sonatype.sisu
      EventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    7. ${project.groupId}:${project.artifactId}
      DefaultEventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.9.jar:1.9]
      1 frame
    8. ${project.groupId}:${project.artifactId}
      DefaultRepositoryRouter.storeItem
      1. org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:1023)[nexus-core-2.11.1-01.jar:2.11.1-01]
      2. org.sonatype.nexus.proxy.maven.AbstractMavenRepository.storeItem(AbstractMavenRepository.java:463)[nexus-core-2.11.1-01.jar:2.11.1-01]
      3. org.sonatype.nexus.proxy.repository.AbstractRepository.storeItem(AbstractRepository.java:659)[nexus-core-2.11.1-01.jar:2.11.1-01]
      4. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.storeItem(DefaultRepositoryRouter.java:179)[nexus-core-2.11.1-01.jar:2.11.1-01]
      4 frames
    9. org.sonatype.nexus
      ContentServlet.service
      1. org.sonatype.nexus.content.internal.ContentServlet.doPut(ContentServlet.java:602)[nexus-content-plugin-2.11.1-01/:na]
      2. org.sonatype.nexus.content.internal.ContentServlet.service(ContentServlet.java:358)[nexus-content-plugin-2.11.1-01/:na]
      2 frames
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[javax.servlet-3.0.0.v201112011016.jar:na]
      1 frame
    11. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278)[guice-servlet-3.1.10.jar:3.1.10]
      3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)[guice-servlet-3.1.10.jar:3.1.10]
      4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)[guice-servlet-3.1.10.jar:3.1.10]
      5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)[guice-servlet-3.1.10.jar:3.1.10]
      5 frames
    12. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)[shiro-web-1.2.3.jar:1.2.3]
      1 frame
    13. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    14. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    15. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    16. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    17. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    18. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    19. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    20. Shiro
      AbstractShiroFilter.executeChain
      1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[shiro-web-1.2.3.jar:1.2.3]
      2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
      3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
      4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
      6. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
      7. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
      8. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      9. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
      10. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
      11. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
      12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      13. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
      14. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.3.jar:1.2.3]
      14 frames
    21. ${project.groupId}:${project.artifactId}
      SecurityFilter.executeChain
      1. org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    22. Shiro
      OncePerRequestFilter.doFilter
      1. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.3.jar:1.2.3]
      2. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
      3. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
      4. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[shiro-core-1.2.3.jar:1.2.3]
      5. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.3.jar:1.2.3]
      6. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
      6 frames
    23. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    24. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterChain.doFilter
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    25. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    26. com.yammer.metrics
      WebappMetricsFilter.doFilter
      1. com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76)[metrics-web-2.2.0.jar:na]
      1 frame
    27. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    28. ${project.groupId}:${project.artifactId}
      CommonHeadersFilter.doFilter
      1. org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    29. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    30. ${project.groupId}:${project.artifactId}
      ErrorPageFilter.doFilter
      1. org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    31. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      1 frame
    32. ${project.groupId}:${project.artifactId}
      BaseUrlHolderFilter.doFilter
      1. org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70)[nexus-core-2.11.1-01.jar:2.11.1-01]
      1 frame
    33. Guice - Servlet
      ManagedFilterPipeline.dispatch
      1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
      2 frames
    34. ${project.groupId}:${project.artifactId}
      NexusGuiceFilter$MultiFilterPipeline.dispatch
      1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.1-01.jar:2.11.1-01]
      2. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56)[nexus-core-2.11.1-01.jar:2.11.1-01]
      2 frames
    35. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)[guice-servlet-3.1.10.jar:3.1.10]
      2. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)[guice-servlet-3.1.10.jar:3.1.10]
      3. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)[guice-servlet-3.1.10.jar:3.1.10]
      4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)[guice-servlet-3.1.10.jar:3.1.10]
      4 frames
    36. Jetty
      HandlerWrapper.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520]
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520]
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      11 frames
    37. Metrics Jetty Support
      InstrumentedHandler.handle
      1. com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)[metrics-jetty-2.2.0.jar:na]
      1 frame
    38. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      3. org.eclipse.jetty.server.Server.handle(Server.java:370)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      4. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      5. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      6. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      7. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:651)[jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520]
      8. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520]
      9. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520]
      9 frames
    39. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)[jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520]
      2 frames
    40. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520]
      2 frames
    41. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_31]
      1 frame