java.lang.IllegalStateException: Could not initialize Nexus.

Sonatype JIRA | Kristine O'Connor | 8 years ago
  1. 0

    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

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.IllegalStateException: Could not initialize Nexus.
  2. 0

    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

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.IllegalStateException: Could not initialize Nexus.
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.lang.NullPointerException

      No message provided

      at org.sonatype.scheduling.DefaultTaskConfigManager.translateFrom()
    2. ${project.groupId}:${project.artifactId}
      DefaultScheduler.startService
      1. org.sonatype.scheduling.DefaultTaskConfigManager.translateFrom(DefaultTaskConfigManager.java:322)
      2. org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:131)
      3. org.sonatype.scheduling.DefaultScheduler.startService(DefaultScheduler.java:87)
      3 frames
    3. ${project.groupId}:${project.artifactId}
      DefaultNexus.start
      1. org.sonatype.nexus.scheduling.DefaultNexusScheduler.startService(DefaultNexusScheduler.java:141)
      2. org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:1384)
      2 frames
    4. Plexus
      DefaultPlexusContainer.lookup
      1. org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
      2. org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      3. org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
      4. org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
      5. org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
      6. org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
      7. org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
      8. org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
      9. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:432)
      10. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:426)
      10 frames
    5. ${project.groupId}:${project.artifactId}
      NexusBooterListener.contextInitialized
      1. org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:39)
      1 frame
    6. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
      5 frames
    7. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    8. Jetty Server
      ContextHandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      2. org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
      2 frames
    9. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    10. Jetty Server
      HandlerCollection.doStart
      1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
      1 frame
    11. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    12. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
      2. org.mortbay.jetty.Server.doStart(Server.java:222)
      2 frames
    13. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
      1 frame
    14. org.sonatype.plexus
      DefaultServletContainer.start
      1. org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:250)
      1 frame
    15. Plexus
      DefaultPlexusContainer.<init>
      1. org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
      2. org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      3. org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:219)
      4. org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:97)
      5. org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
      6. org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
      7. org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
      8. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:486)
      9. org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:69)
      10. org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:851)
      11. org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:815)
      12. org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:407)
      13. org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:198)
      13 frames
    16. org.sonatype.appbooter
      PlexusJSWListener.start
      1. org.sonatype.appbooter.PlexusContainerHost.startContainer(PlexusContainerHost.java:184)
      2. org.sonatype.appbooter.jsw.PlexusJSWListener.start(PlexusJSWListener.java:101)
      2 frames
    17. Java Service Wrapper
      WrapperManager$12.run
      1. org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
      1 frame