java.lang.IllegalStateException: Could not initialize Nexus.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Sonatype JIRA by Eric Dalquist, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Eric Dalquist, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Juven Xu, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Juven Xu, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Juven Xu, 1 year ago
Could not initialize Nexus.
via nabble.com by Unknown author, 1 year ago
java.lang.IllegalStateException: Could not initialize Nexus.
at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:146)
at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38)
at org.apache.lucene.store.IndexInput.readInt(IndexInput.java:66)
at org.apache.lucene.store.IndexInput.readLong(IndexInput.java:89)
at org.apache.lucene.index.SegmentInfo.(SegmentInfo.java:140)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:220)
at org.apache.lucene.index.SegmentInfos$1.doBody(SegmentInfos.java:254)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251)
at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:614)
at org.sonatype.nexus.timeline.DefaultTimeline.startService(DefaultTimeline.java:155)
at org.sonatype.nexus.feeds.DefaultFeedRecorder.startService(DefaultFeedRecorder.java:101)
at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:1600)
at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1560)
at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:220)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:98)
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:430)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:424)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1234)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:312)
at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:220)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:98)
at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:484)
at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:69)
at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:849)
at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:813)
at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:405)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:196)
at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:280)
at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:99)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.