java.io.IOException: The specified network name is no longer available: NIOFSIndexInput(path="\\ptliswfs01\ptlis-dfs\nexus\nexus-2.x\indexer\sonatype-snapshots-ctx\_4k.cfs")

Sonatype JIRA | jolucore | 8 months ago
  1. 0

    I'm using an Windows machine with NEXUS 2.12.1-01 installed and configured with data mounted in a UNC path: \\ptliswfs01\ptlis-dfs\nexus\nexus-2.x I'm getting the following exception all the time that the task "*_Download Indexes_*" is being executed. Nevertheless the file Nexus is complaining to not find it is in fact *+always+* there... (is it possible that this issue is related with the UNC paths?) !http://s13.postimg.org/tpqflrkfp/Untitled.png! {code:java} Task Name: Download Indexes (All Repositories) Stack trace: java.io.IOException: Exception(s) happened during downloadAllIndex() at org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex(DefaultIndexerManager.java:1099) at org.sonatype.nexus.index.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:163) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Suppressed: java.io.IOException: The specified network name is no longer available: NIOFSIndexInput(path="\\ptliswfs01\ptlis-dfs\nexus\nexus-2.x\indexer\sonatype-snapshots-ctx\_4k.cfs") at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:180) at org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:156) at org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:275) at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:270) at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:40) at org.apache.lucene.store.DataInput.readVInt(DataInput.java:107) at org.apache.lucene.store.BufferedIndexInput.readVInt(BufferedIndexInput.java:217) at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64) at org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:133) at org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:174) at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:236) at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:172) at org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:539) at org.apache.lucene.search.TermQuery$TermWeight$1.add(TermQuery.java:56) at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:81) at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:87) at org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:70) at org.apache.lucene.search.TermQuery$TermWeight.<init>(TermQuery.java:53) at org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:199) at org.apache.lucene.search.Searcher.createNormalizedWeight(Searcher.java:168) at org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:664) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:383) at org.apache.maven.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:615) at org.apache.maven.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:583) at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:220) at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76) at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.addIndexChunk(DefaultIndexUpdater.java:642) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:837) at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159) at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1291) at org.sonatype.nexus.index.DefaultIndexerManager.access$1100(DefaultIndexerManager.java:188) at org.sonatype.nexus.index.DefaultIndexerManager$9.run(DefaultIndexerManager.java:1158) at org.sonatype.nexus.index.DefaultIndexerManager.sharedSingle(DefaultIndexerManager.java:2320) at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1162) at org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex(DefaultIndexerManager.java:1092) ... 12 more Caused by: java.io.IOException: The specified network name is no longer available at sun.nio.ch.FileDispatcherImpl.pread0(Native Method) at sun.nio.ch.FileDispatcherImpl.pread(Unknown Source) at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.read(Unknown Source) at sun.nio.ch.FileChannelImpl.readInternal(Unknown Source) at sun.nio.ch.FileChannelImpl.read(Unknown Source) at org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:162) ... 46 more {code}

    Sonatype JIRA | 8 months ago | jolucore
    java.io.IOException: The specified network name is no longer available: NIOFSIndexInput(path="\\ptliswfs01\ptlis-dfs\nexus\nexus-2.x\indexer\sonatype-snapshots-ctx\_4k.cfs")
  2. 0

    "specified network name is no longer available" when working with Jackcess

    Stack Overflow | 5 months ago | Ralph
    java.io.IOException: The specified network name is no longer available
  3. 0

    IOException while indexing

    GitHub | 5 years ago | tmm1
    org.elasticsearch.search.query.QueryPhaseExecutionException: [github][3]: query[_all:ffi repo_id:[3 TO 3]],from[0],size[10]: Query Failed [Failed to execute main query]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java /dev/input/eventX

    Stack Overflow | 2 years ago | TameHog
    java.io.IOException: Invalid argument
  6. 0

    Hibernate context not configured with multiple WAR's

    Stack Overflow | 2 years ago | user2410552
    org.hibernate.HibernateException: No CurrentSessionContext configured! - java.lang.reflect.InvocationTargetException: null

    1 unregistered visitors
    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.io.IOException

      The specified network name is no longer available

      at sun.nio.ch.FileDispatcherImpl.pread0()
    2. Java RT
      FileChannelImpl.read
      1. sun.nio.ch.FileDispatcherImpl.pread0(Native Method)
      2. sun.nio.ch.FileDispatcherImpl.pread(Unknown Source)
      3. sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
      4. sun.nio.ch.IOUtil.read(Unknown Source)
      5. sun.nio.ch.FileChannelImpl.readInternal(Unknown Source)
      6. sun.nio.ch.FileChannelImpl.read(Unknown Source)
      6 frames
    3. Lucene
      IndexSearcher.search
      1. org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:162)
      2. org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:180)
      3. org.apache.lucene.store.BufferedIndexInput.readBytes(BufferedIndexInput.java:156)
      4. org.apache.lucene.index.CompoundFileReader$CSIndexInput.readInternal(CompoundFileReader.java:275)
      5. org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:270)
      6. org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:40)
      7. org.apache.lucene.store.DataInput.readVInt(DataInput.java:107)
      8. org.apache.lucene.store.BufferedIndexInput.readVInt(BufferedIndexInput.java:217)
      9. org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64)
      10. org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:133)
      11. org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:174)
      12. org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:236)
      13. org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:172)
      14. org.apache.lucene.index.SegmentReader.docFreq(SegmentReader.java:539)
      15. org.apache.lucene.search.TermQuery$TermWeight$1.add(TermQuery.java:56)
      16. org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:81)
      17. org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:87)
      18. org.apache.lucene.util.ReaderUtil$Gather.run(ReaderUtil.java:70)
      19. org.apache.lucene.search.TermQuery$TermWeight.<init>(TermQuery.java:53)
      20. org.apache.lucene.search.TermQuery.createWeight(TermQuery.java:199)
      21. org.apache.lucene.search.Searcher.createNormalizedWeight(Searcher.java:168)
      22. org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:664)
      23. org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:383)
      23 frames
    4. Maven :: Indexer Core
      DefaultIndexUpdater.fetchAndUpdateIndex
      1. org.apache.maven.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:615)
      2. org.apache.maven.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:583)
      3. org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:220)
      4. org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:76)
      5. org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.addIndexChunk(DefaultIndexUpdater.java:642)
      6. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:837)
      7. org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159)
      7 frames
    5. Sonatype Nexus Indexer
      DefaultIndexerManager.downloadAllIndex
      1. org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1291)
      2. org.sonatype.nexus.index.DefaultIndexerManager.access$1100(DefaultIndexerManager.java:188)
      3. org.sonatype.nexus.index.DefaultIndexerManager$9.run(DefaultIndexerManager.java:1158)
      4. org.sonatype.nexus.index.DefaultIndexerManager.sharedSingle(DefaultIndexerManager.java:2320)
      5. org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:1162)
      6. org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex(DefaultIndexerManager.java:1092)
      6 frames