java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by jolucore,
  • IOException while indexing
    via GitHub by tmm1
    ,
  • Java /dev/input/eventX
    via Stack Overflow by TameHog
    ,
  • FSReadError
    via by David McNelis,
    • java.io.IOException: The specified network name is no longer available at sun.nio.ch.FileDispatcher.pread0(Native Method) at sun.nio.ch.FileDispatcher.pread(FileDispatcher.java:35) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:195) at sun.nio.ch.IOUtil.read(IOUtil.java:171) at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:612) at com.healthmarketscience.jackcess.impl.PageChannel.readPage(PageChannel.java:211) at com.healthmarketscience.jackcess.impl.TempPageHolder.setPage(TempPageHolder.java:86) at com.healthmarketscience.jackcess.impl.TempPageHolder.setPage(TempPageHolder.java:74) at com.healthmarketscience.jackcess.impl.UsageMap$ReferenceHandler.<init>(UsageMap.java:693) at com.healthmarketscience.jackcess.impl.UsageMap$ReferenceHandler.<init>(UsageMap.java:673) at com.healthmarketscience.jackcess.impl.UsageMap.initHandler(UsageMap.java:146) at com.healthmarketscience.jackcess.impl.UsageMap.read(UsageMap.java:136) at com.healthmarketscience.jackcess.impl.UsageMap.read(UsageMap.java:108) at com.healthmarketscience.jackcess.impl.TableImpl.<init>(TableImpl.java:245) at com.healthmarketscience.jackcess.impl.DatabaseImpl.readTable(DatabaseImpl.java:1538) at com.healthmarketscience.jackcess.impl.DatabaseImpl.readSystemCatalog(DatabaseImpl.java:849) at com.healthmarketscience.jackcess.impl.DatabaseImpl.<init>(DatabaseImpl.java:526) at com.healthmarketscience.jackcess.impl.DatabaseImpl.open(DatabaseImpl.java:393) at com.healthmarketscience.jackcess.DatabaseBuilder.open(DatabaseBuilder.java:252) at com.healthmarketscience.jackcess.DatabaseBuilder.open(DatabaseBuilder.java:291) at com.healthmarketscience.jackcess.util.LinkResolver$1.resolveLinkedDatabase(LinkResolver.java:42) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:1003) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:971) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:929) at com.healthmarketscience.jackcess.impl.DatabaseImpl.getTable(DatabaseImpl.java:82) at com.ralph.sql.test1.migrateTableDefs(test1.java:51) at com.ralph.sql.test1.main(test1.java:24)

    Users with the same issue

    Unknown visitor1 times, last one,