java.lang.IllegalStateException

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.

  • Install Beta 5 => Copy the nexus.xml and tasks.xml from my beta 4.2 version into the $NEXUS_HOME/runtime/apps/nexus/conf/ dir => Install service and start => Attempt to launch the application => An HTTP:503 error appears. From the nexus.log: 2008-07-18 11:09:32.097 WARN [WrapperListener_start_runner:] - org.sonatype.plexus.jetty.ServletContainer:default: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@b2a2d8{/nexus,../../../runtime/apps/nexus/webapp} java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:45) 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.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) 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.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:222) 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.<init>(DefaultPlexusContainer.java:198) at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:184) at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) Caused by: java.lang.NullPointerException at org.sonatype.scheduling.DefaultTaskConfigManager.translateFrom(DefaultTaskConfigManager.java:322) at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:131) at org.sonatype.scheduling.DefaultScheduler.startService(DefaultScheduler.java:87) 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.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:39) ... 31 more 2008-07-18 11:09:32.175 INFO [WrapperListener_start_runner:] - org.sonatype.plexus.jetty.ServletContainer:default: Started SelectChannelConnector@0.0.0.0:8081
    via by Kristine O'Connor,
  • Install Beta 5 => Copy the nexus.xml and tasks.xml from my beta 4.2 version into the $NEXUS_HOME/runtime/apps/nexus/conf/ dir => Install service and start => Attempt to launch the application => An HTTP:503 error appears. From the nexus.log: 2008-07-18 11:09:32.097 WARN [WrapperListener_start_runner:] - org.sonatype.plexus.jetty.ServletContainer:default: Failed startup of context org.mortbay.jetty.webapp.WebAppContext@b2a2d8{/nexus,../../../runtime/apps/nexus/webapp} java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:45) 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.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) 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.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:222) 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.<init>(DefaultPlexusContainer.java:198) at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:184) at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) Caused by: java.lang.NullPointerException at org.sonatype.scheduling.DefaultTaskConfigManager.translateFrom(DefaultTaskConfigManager.java:322) at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:131) at org.sonatype.scheduling.DefaultScheduler.startService(DefaultScheduler.java:87) 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.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:39) ... 31 more 2008-07-18 11:09:32.175 INFO [WrapperListener_start_runner:] - org.sonatype.plexus.jetty.ServletContainer:default: Started SelectChannelConnector@0.0.0.0:8081
    via by Kristine O'Connor,
    • java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:45) 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.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) 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.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:222) 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.<init>(DefaultPlexusContainer.java:198) at org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:184) at org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788) Caused by: java.lang.NullPointerException at org.sonatype.scheduling.DefaultTaskConfigManager.translateFrom(DefaultTaskConfigManager.java:322) at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:131) at org.sonatype.scheduling.DefaultScheduler.startService(DefaultScheduler.java:87) 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.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:39) ... 31 more
    No Bugmate found.