java.io.IOException: Exception(s) happened during downloadAllIndex()

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: Exception(s) happened during downloadAllIndex()
  2. 0

    Regression org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd (from Nexus5249IndexerManagerTest) {code} Error Message expected:<1> but was:<2> Stacktrace java.lang.AssertionError: expected:<1> but was:<2> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:472) at org.junit.Assert.assertEquals(Assert.java:456) at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Standard Output 2012-10-05 02:31:46 INFO [main ] - org.sonatype.sisu.ehcache.CacheManagerComponentImpl - Configuring EHCache CacheManager from classpath. 2012-10-05 02:31:46 WARN [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - No configuration file in place, copying the default one and continuing with it. 2012-10-05 02:31:46 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work/conf/security-configuration.xml 2012-10-05 02:31:46 INFO [main ] - org.sonatype.nexus.DefaultNexus - ------------------------------------------------- Initializing Sonatype Nexus 2.3-SNAPSHOT ------------------------------------------------- 2012-10-05 02:31:46 INFO [main ] - org.sonatype.nexus.DefaultNexus - Activating locally installed plugins... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.sisu.velocity.Velocity - Creating default instance of VelocityEngine 2012-10-05 02:31:47 WARN [main ] - org.sonatype.sisu.pr.bundle.internal.RsaAesBundleEncryptor - Neither PublicKey instance nor public key file available. Bundle encryption will be skipped. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Loading Nexus Configuration... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.StaticConfigurationSource - Configuration loaded successfully. 2012-10-05 02:31:47 WARN [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - No configuration file in place, copying the default one and continuing with it. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - Configuration loaded successfully. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - Nexus configuration validated successfully. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work/conf/security-configuration.xml 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.4' does not yet exist. Creating now. 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.4] 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.5' does not yet exist. Creating now. 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.5] 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryTypeRegistry - Registered default repository types. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.attributes.DefaultLSAttributeStorage - Default FS AttributeStorage in place, using JacksonJSON marshaller. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Central" [id=central][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Apache Snapshots" [id=apache-snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Codehaus Snapshots" [id=codehaus-snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Releases" [id=releases][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Snapshots" [id=snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "3rd party" [id=thirdparty][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Central M1 shadow" [id=central-m1][contentClass=Maven1][mainFacet=org.sonatype.nexus.proxy.maven.MavenShadowRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Public Repositories" [id=public][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.repository.GroupRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.scheduling.DefaultScheduler - Initializing Scheduler... 2012-10-05 02:31:48 INFO [main ] - org.sonatype.scheduling.DefaultTaskConfigManager - 0 task(s) to load. 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - This is 1st start of new Nexus instance. 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - Nexus Work Directory : /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - Started Sonatype Nexus 2.3-SNAPSHOT 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2012-10-05 02:31:48 INFO [host-7-thread-1] - org.sonatype.nexus.events.IndexingRepositoryRegistryRepositoryAsyncEventInspector - Enabled download of indexes on repository "Apache Snapshots" (id=apache-snapshots), doing full reindex of it. 2012-10-05 02:31:49 INFO [pool-3-thread-1] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (RepairIndexTask) started :: Repairing repository index "Apache Snapshots" from path null and below. 2012-10-05 02:31:50 INFO [pool-3-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Apache Snapshots" [id=apache-snapshots] 2012-10-05 02:31:50 WARN [pool-3-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Apache Snapshots" [id=apache-snapshots] due to IO problem. java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) ~[junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) ~[junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) ~[surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ~[surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:50 WARN [pool-3-thread-1] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (RepairIndexTask) failed :: Repairing repository index "Apache Snapshots" from path null and below. (started 2012-10-05T02:31:49-05:00, runtime 0:00:01.031) java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) ~[junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) ~[junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) ~[surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ~[surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:51 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Apache Snapshots" [id=apache-snapshots] 2012-10-05 02:31:51 WARN [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Apache Snapshots" [id=apache-snapshots] due to IO problem. java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) [surefire-junit4-2.10.jar:2.10] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) [surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) [surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository releases [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository thirdparty [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository codehaus-snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository apache-snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository public [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository central [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.scheduling.DefaultScheduler - Shutting down Scheduler... 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Shutting down Nexus IndexerManager 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.DefaultNexus - Stopped Sonatype Nexus 2.3-SNAPSHOT 2012-10-05 02:31:53 INFO [main ] - org.sonatype.sisu.ehcache.CacheManagerComponentImpl - Shutting down EHCache CacheManager. {code}

    Sonatype JIRA | 4 years ago | Benjamin Hanzelmann
    java.io.IOException: something bad happened
  3. 0

    Regression org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd (from Nexus5249IndexerManagerTest) {code} Error Message expected:<1> but was:<2> Stacktrace java.lang.AssertionError: expected:<1> but was:<2> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:472) at org.junit.Assert.assertEquals(Assert.java:456) at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Standard Output 2012-10-05 02:31:46 INFO [main ] - org.sonatype.sisu.ehcache.CacheManagerComponentImpl - Configuring EHCache CacheManager from classpath. 2012-10-05 02:31:46 WARN [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - No configuration file in place, copying the default one and continuing with it. 2012-10-05 02:31:46 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work/conf/security-configuration.xml 2012-10-05 02:31:46 INFO [main ] - org.sonatype.nexus.DefaultNexus - ------------------------------------------------- Initializing Sonatype Nexus 2.3-SNAPSHOT ------------------------------------------------- 2012-10-05 02:31:46 INFO [main ] - org.sonatype.nexus.DefaultNexus - Activating locally installed plugins... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.sisu.velocity.Velocity - Creating default instance of VelocityEngine 2012-10-05 02:31:47 WARN [main ] - org.sonatype.sisu.pr.bundle.internal.RsaAesBundleEncryptor - Neither PublicKey instance nor public key file available. Bundle encryption will be skipped. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Loading Nexus Configuration... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.StaticConfigurationSource - Configuration loaded successfully. 2012-10-05 02:31:47 WARN [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - No configuration file in place, copying the default one and continuing with it. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - Configuration loaded successfully. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - Nexus configuration validated successfully. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work/conf/security-configuration.xml 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.4' does not yet exist. Creating now. 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.4] 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.5' does not yet exist. Creating now. 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.5] 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryTypeRegistry - Registered default repository types. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.attributes.DefaultLSAttributeStorage - Default FS AttributeStorage in place, using JacksonJSON marshaller. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Central" [id=central][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Apache Snapshots" [id=apache-snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Codehaus Snapshots" [id=codehaus-snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Releases" [id=releases][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Snapshots" [id=snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "3rd party" [id=thirdparty][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Central M1 shadow" [id=central-m1][contentClass=Maven1][mainFacet=org.sonatype.nexus.proxy.maven.MavenShadowRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Public Repositories" [id=public][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.repository.GroupRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.scheduling.DefaultScheduler - Initializing Scheduler... 2012-10-05 02:31:48 INFO [main ] - org.sonatype.scheduling.DefaultTaskConfigManager - 0 task(s) to load. 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - This is 1st start of new Nexus instance. 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - Nexus Work Directory : /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - Started Sonatype Nexus 2.3-SNAPSHOT 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2012-10-05 02:31:48 INFO [host-7-thread-1] - org.sonatype.nexus.events.IndexingRepositoryRegistryRepositoryAsyncEventInspector - Enabled download of indexes on repository "Apache Snapshots" (id=apache-snapshots), doing full reindex of it. 2012-10-05 02:31:49 INFO [pool-3-thread-1] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (RepairIndexTask) started :: Repairing repository index "Apache Snapshots" from path null and below. 2012-10-05 02:31:50 INFO [pool-3-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Apache Snapshots" [id=apache-snapshots] 2012-10-05 02:31:50 WARN [pool-3-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Apache Snapshots" [id=apache-snapshots] due to IO problem. java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) ~[junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) ~[junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) ~[surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ~[surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:50 WARN [pool-3-thread-1] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (RepairIndexTask) failed :: Repairing repository index "Apache Snapshots" from path null and below. (started 2012-10-05T02:31:49-05:00, runtime 0:00:01.031) java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) ~[junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) ~[junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) ~[surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ~[surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:51 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Apache Snapshots" [id=apache-snapshots] 2012-10-05 02:31:51 WARN [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Apache Snapshots" [id=apache-snapshots] due to IO problem. java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) [surefire-junit4-2.10.jar:2.10] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) [surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) [surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository releases [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository thirdparty [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository codehaus-snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository apache-snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository public [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository central [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.scheduling.DefaultScheduler - Shutting down Scheduler... 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Shutting down Nexus IndexerManager 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.DefaultNexus - Stopped Sonatype Nexus 2.3-SNAPSHOT 2012-10-05 02:31:53 INFO [main ] - org.sonatype.sisu.ehcache.CacheManagerComponentImpl - Shutting down EHCache CacheManager. {code}

    Sonatype JIRA | 4 years ago | Benjamin Hanzelmann
    java.io.IOException: something bad happened
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java stored procedure to execute shell script

    Oracle Community | 8 years ago | 704192
    java.io.IOException: Exception during creation of the process
  6. 0

    Config file problem with new Coherence 3.5

    Oracle Community | 7 years ago | 451380
    java.io.IOException: Exception occurred during parsing: Invalid root element

    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

      Exception(s) happened during downloadAllIndex()

      at org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex()
    2. Sonatype Nexus Indexer
      DefaultIndexerManager.downloadAllIndex
      1. org.sonatype.nexus.index.DefaultIndexerManager.downloadAllIndex(DefaultIndexerManager.java:1099)
      1 frame
    3. org.sonatype.nexus
      DownloadIndexesTask.doRun
      1. org.sonatype.nexus.index.tasks.DownloadIndexesTask.doRun(DownloadIndexesTask.java:57)
      1 frame
    4. ${project.groupId}:${project.artifactId}
      AbstractNexusTask.call
      1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:163)
      1 frame
    5. ${project.groupId}:${project.artifactId}
      DefaultScheduledTask.call
      1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418)
      1 frame
    6. ${project.groupId}:${project.artifactId}
      MDCAwareCallable.call
      1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44)
      1 frame
    7. Shiro
      SubjectCallable.call
      1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
      2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames