java.io.IOException: null: NIOFSIndexInput(path="/home/plynch/nexus-grid/nexus-webapp-ossrh-config-nexus1/sonatype-work/nexus/timeline/index/_49.tii")

Sonatype JIRA | Peter Lynch | 3 years ago
  1. 0

    I've seen this in our test environment using the ossrh test profile. The thread handling timeline indexes gets interupted, and then disables system feeds and further timeline processing. {noformat} jvm 1 | 2013-10-21 13:36:51 WARN [pool-1-thread-1] - org.sonatype.timeline.internal.DefaultTimeline - Timeline index got corrupted and is disabled. Repair will be tried on next boot. jvm 1 | java.io.IOException: null: NIOFSIndexInput(path="/home/plynch/nexus-grid/nexus-webapp-ossrh-config-nexus1/sonatype-work/nexus/timeline/index/_49.tii") jvm 1 | at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:180) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:270) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:136) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:111) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.store.DataOutput.copyBytes(DataOutput.java:132) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.CompoundFileWriter.copyFile(CompoundFileWriter.java:235) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.CompoundFileWriter.close(CompoundFileWriter.java:201) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:604) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3587) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3376) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3485) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3467) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3451) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | at org.sonatype.timeline.internal.DefaultTimelineIndexer.addAll(DefaultTimelineIndexer.java:177) ~[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline$2.doIt(DefaultTimeline.java:233) ~[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline$2.doIt(DefaultTimeline.java:228) ~[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline.doShared(DefaultTimeline.java:284) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline.addToIndexer(DefaultTimeline.java:227) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.timeline.internal.DefaultTimeline.add(DefaultTimeline.java:165) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:143) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:403) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:399) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.feeds.DefaultFeedRecorder.systemProcessFinished(DefaultFeedRecorder.java:367) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.feeds.record.NexusTaskFeedEventInspector.inspect(NexusTaskFeedEventInspector.java:70) [nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:136) [nexus-core-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:116) [nexus-core-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) ~[na:na] jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_11] jvm 1 | at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_11] jvm 1 | at org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80) [goodies-eventbus-1.7.1.jar:1.7.1] jvm 1 | at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329) [goodies-eventbus-1.7.1.jar:1.7.1] jvm 1 | at org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34) [goodies-eventbus-1.7.1.jar:1.7.1] jvm 1 | at org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57) [goodies-eventbus-1.7.1.jar:1.7.1] jvm 1 | at org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281) [goodies-eventbus-1.7.1.jar:1.7.1] jvm 1 | at org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78) [goodies-eventbus-1.7.1.jar:1.7.1] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:167) [nexus-core-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) [nexus-scheduler-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) [nexus-core-2.7.0-m3.jar:2.7.0-m3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_11] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_11] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_11] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_11] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_11] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.7.0_11] jvm 1 | at java.lang.Thread.run(Thread.java:722) [na:1.7.0_11] jvm 1 | Caused by: java.nio.channels.ClosedByInterruptException: null jvm 1 | at java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202) ~[na:1.7.0_11] jvm 1 | at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:679) ~[na:1.7.0_11] jvm 1 | at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:162) ~[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40] jvm 1 | ... 46 common frames omitted {noformat} Other than I should test a more recent jvm version, not sure what to make of it yet.

    Sonatype JIRA | 3 years ago | Peter Lynch
    java.io.IOException: null: NIOFSIndexInput(path="/home/plynch/nexus-grid/nexus-webapp-ossrh-config-nexus1/sonatype-work/nexus/timeline/index/_49.tii")
  2. 0

    Need Urgent help : Neo4j stop runnin at production

    GitHub | 2 years ago | dppatel03
    org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException: Unable to load position[1] @[9]
  3. 0

    GitHub comment 512#81158048

    GitHub | 2 years ago | GoogleCodeExporter
    java.nio.channels.ClosedByInterruptException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Making System.in interruptible, how?

    Google Groups | 5 years ago | Jan Burse
    java.nio.channels.ClosedByInterruptException

    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.nio.channels.ClosedByInterruptException

      null

      at java.nio.channels.spi.AbstractInterruptibleChannel.end()
    2. Java RT
      FileChannelImpl.read
      1. java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:202)[na:1.7.0_11]
      2. sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:679)[na:1.7.0_11]
      2 frames
    3. Lucene
      IndexWriter.commit
      1. org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:162)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      2. org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:270)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      3. org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:136)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      4. org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:111)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      5. org.apache.lucene.store.DataOutput.copyBytes(DataOutput.java:132)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      6. org.apache.lucene.index.CompoundFileWriter.copyFile(CompoundFileWriter.java:235)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      7. org.apache.lucene.index.CompoundFileWriter.close(CompoundFileWriter.java:201)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      8. org.apache.lucene.index.DocumentsWriter.flush(DocumentsWriter.java:604)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      9. org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3587)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      10. org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3376)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      11. org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3485)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      12. org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3467)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      13. org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3451)[lucene-core-3.6.2.jar:3.6.2 1423725 - rmuir - 2012-12-18 19:45:40]
      13 frames
    4. org.sonatype.timeline
      DefaultTimeline.add
      1. org.sonatype.timeline.internal.DefaultTimelineIndexer.addAll(DefaultTimelineIndexer.java:177)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      2. org.sonatype.timeline.internal.DefaultTimeline$2.doIt(DefaultTimeline.java:233)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      3. org.sonatype.timeline.internal.DefaultTimeline$2.doIt(DefaultTimeline.java:228)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      4. org.sonatype.timeline.internal.DefaultTimeline.doShared(DefaultTimeline.java:284)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      5. org.sonatype.timeline.internal.DefaultTimeline.addToIndexer(DefaultTimeline.java:227)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      6. org.sonatype.timeline.internal.DefaultTimeline.add(DefaultTimeline.java:165)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      6 frames
    5. org.sonatype.nexus
      NexusTaskFeedEventInspector.inspect
      1. org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:143)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      2. org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:403)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      3. org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:399)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      4. org.sonatype.nexus.feeds.DefaultFeedRecorder.systemProcessFinished(DefaultFeedRecorder.java:367)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      5. org.sonatype.nexus.feeds.record.NexusTaskFeedEventInspector.inspect(NexusTaskFeedEventInspector.java:70)[nexus-timeline-plugin-2.7.0-m3.jar:2.7.0-m3]
      5 frames
    6. ${project.groupId}:${project.artifactId}
      DefaultEventInspectorHost.onEvent
      1. org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:136)[nexus-core-2.7.0-m3.jar:2.7.0-m3]
      2. org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:116)[nexus-core-2.7.0-m3.jar:2.7.0-m3]
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_11]
      3. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_11]
      3 frames
    8. org.sonatype.sisu
      EventBus.dispatch
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventHandler.handleEvent(EventHandler.java:80)[goodies-eventbus-1.7.1.jar:1.7.1]
      2. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.dispatch(EventBus.java:329)[goodies-eventbus-1.7.1.jar:1.7.1]
      2 frames
    9. ${project.groupId}:${project.artifactId}
      ReentrantGuavaEventBus.dispatchQueuedEvents
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultGuavaEventBus.dispatch(DefaultGuavaEventBus.java:34)[goodies-eventbus-1.7.1.jar:1.7.1]
      2. org.sonatype.sisu.goodies.eventbus.internal.ReentrantGuavaEventBus.dispatchQueuedEvents(ReentrantGuavaEventBus.java:57)[goodies-eventbus-1.7.1.jar:1.7.1]
      2 frames
    10. org.sonatype.sisu
      EventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.guava.EventBus.post(EventBus.java:281)[goodies-eventbus-1.7.1.jar:1.7.1]
      1 frame
    11. ${project.groupId}:${project.artifactId}
      DefaultEventBus.post
      1. org.sonatype.sisu.goodies.eventbus.internal.DefaultEventBus.post(DefaultEventBus.java:78)[goodies-eventbus-1.7.1.jar:1.7.1]
      1 frame
    12. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:167)[nexus-core-2.7.0-m3.jar:2.7.0-m3]
      1 frame
    13. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419)[nexus-scheduler-2.7.0-m3.jar:2.7.0-m3]
      1 frame
    14. ${project.groupId}:${project.artifactId}
      MDCAwareCallable.call
      1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45)[nexus-core-2.7.0-m3.jar:2.7.0-m3]
      1 frame
    15. Shiro
      SubjectCallable.call
      1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.2.jar:1.2.2]
      2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.2.jar:1.2.2]
      2 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.7.0_11]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.7.0_11]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_11]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_11]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[na:1.7.0_11]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[na:1.7.0_11]
      7. java.lang.Thread.run(Thread.java:722)[na:1.7.0_11]
      7 frames