Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 1.9.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Global Rank:
      7547

      Description

      When trying to deploy nexus on JBoss 7.0.1 (web-profile) I get this error:
      2011-08-30 12:06:19 WARN [vice thread 1-2] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.DefaultNexus
      com.google.inject.ProvisionException: Guice provision errors:

      1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound.
      while locating org.sonatype.nexus.DefaultNexus

      2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@833c9 of org.sonatype.nexus.DefaultNexus.
      Reason: java.lang.NullPointerException
      while locating org.sonatype.nexus.DefaultNexus

      2 errors
      at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:977)
      at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003)
      at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47)
      at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021)
      at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      at com.google.inject.Scopes$1$1.get(Scopes.java:59)
      at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968)
      at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014)
      at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964)
      at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79)
      at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53)
      at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243)
      at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235)
      at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229)
      at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48)
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)
      at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
      at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.NullPointerException
      at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618)
      at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285)
      at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247)
      at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154)
      at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78)
      at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
      at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
      at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968)
      at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021)
      at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964)
      ... 25 more

      To get nexus.war to deploy successfully one has to apply the workarround mentinoned in https://issues.jboss.org/browse/AS7-1564

      1. nexus.log
        69 kB
        Burkhard Vogel

        Issue Links

          Activity

          Burkhard Vogel created issue -
          Peter Lynch made changes -
          Field Original Value New Value
          Component/s WAR [ 10753 ]
          Brian Demers made changes -
          Link This issue duplicates NEXUS-4221 [ NEXUS-4221 ]
          Brian Demers made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Brian Demers made changes -
          Resolution Duplicate [ 3 ]
          Status Closed [ 6 ] Open [ 1 ]
          Rich Seddon made changes -
          Workflow Agile2 [ 426328 ] Agile3 [ 440284 ]
          Jason Dillon made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Incomplete [ 4 ]
          Rich Seddon made changes -
          Workflow Agile3 [ 440284 ] Customer Facing Agile [ 467090 ]
          Rich Seddon made changes -
          Workflow Customer Facing Agile [ 467090 ] Customer Facing Agile 2 [ 471285 ]
          Rich Seddon made changes -
          Component/s WAR [ 10753 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Burkhard Vogel
              Last Updated By:
              Rich Seddon
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: