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

Solutions on the web

via Sonatype JIRA by Deleted User, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Kristine O'Connor, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Deleted User, 1 year ago
Could not initialize Nexus.
via Sonatype JIRA by Kristine O'Connor, 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.
java.lang.NullPointerException:
at org.sonatype.scheduling.DefaultTaskConfigManager.translateFrom(DefaultTaskConfigManager.java:322)
at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:131)
at org.sonatype.nexus.scheduling.DefaultNexusScheduler.startService(DefaultNexusScheduler.java:141)
at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1384)
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:219)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
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:432)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:426)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
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:40)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:250)
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:219)
at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
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:486)
at org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:69)
at org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:851)
at org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:815)
at org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:407)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:198)
at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:184)
at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101)

Users with the same issue

You are the first who have seen this exception.

Write tip

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