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

Sonatype JIRA | Burkhard Vogel | 5 years ago
  1. 0

    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

    Sonatype JIRA | 5 years ago | Burkhard Vogel
    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
  2. 0

    I'm trying to deploy an exploded war of version 1.9.2.4 of the nexus repository manager and I'm obtaining a NPE while deploying it. I've followed the thread http://maven.40175.n5.nabble.com/Nexus-on-Weblogic-td3267999.html to build the exploded war, change the configuration and I'm deploying it cd prto a remote weblogic server using the following command: The exception that I'm getting is the following (installation log included): log4j:WARN No appenders could be found for logger (org.sonatype.appcontext.AppContext). log4j:WARN Please initialize the log4j system properly. 2012-01-04 10:46:15 WARN [ (self-tuning)'] - org.codehaus.plexus.PlexusContainer - Error initializing: class org.sonatype.nexus.DefaultNexus 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) 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 weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) 2012-01-04 10:46:15 WARN [ (self-tuning)'] - 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@900ab67 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 weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) 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) ... 54 more <4/Jan/2012 10H46m GMT> <Warning> <HTTP> <BEA-101162> <User defined listener org.sonatype.nexus.web.NexusBooterListener failed: java.lang.IllegalStateException: Could not initialize Nexus.. java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) Truncated. see log file for complete stacktrace Caused By: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@900ab67 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2 errors role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) 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 weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) Truncated. see log file for complete stacktrace Caused By: com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.nexus.plugins.NexusPluginManager was bound. while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2) Error notifying InjectionListener org.sonatype.guice.plexus.binders.PlexusBeanBinder@900ab67 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 2 errors at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:977) 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) Truncated. see log file for complete stacktrace 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) Truncated. see log file for complete stacktrace > <4/Jan/2012 10H46m GMT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1325673956482' for task '1'. Error is: 'weblogic.application.ModuleException: ' weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace 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) Truncated. see log file for complete stacktrace > <4/Jan/2012 10H46m GMT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'nexus.war'.> <4/Jan/2012 10H46m GMT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'nexus.war'.> <4/Jan/2012 10H46m GMT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) Truncated. see log file for complete stacktrace 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) Truncated. see log file for complete stacktrace

    Sonatype JIRA | 5 years ago | Ivo Alexandre Marta Leitão
    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@900ab67 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors
  3. 0

    Nexus Maven Repository Manager Users List - Nexus 1.8.0 in Websphere app server Fails

    nabble.com | 1 year ago
    java.lang.IllegalStateException: The PlexusServerServlet couldn't lookup the target component (role='org.restlet.Application', hint='nexus')
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nexus 1.9 war file doesn't deploy in Resin 3.1.10. I tried an older version (1.4.1, pre-guice) and it works fine in same container. {noformat} 2011-01-14 13:45:07 WARN [main ] - org.codehaus.plexus.PlexusContainer - Error initializing: class org.sonatype.nexus.DefaultNexus java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) 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:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 ERROR [main ] - 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@14ef239 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:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) 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:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - java.lang.IllegalStateException: Could not initialize Nexus. java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) ... 18 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 21 more Caused by: 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@14ef239 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:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 24 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) 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:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 ERROR [main ] - org.apache.shiro.web.servlet.AbstractFilter - Unable to start Filter: [java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: ]. org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.dispatch.FilterManager - javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:102) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) ... 20 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 ERROR [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.rest.NexusApplication com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 INFO [main ] - com.caucho.server.webapp.WebApp - WebApp[http://localhost:8080/nexus] active {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    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@14ef239 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors
  6. 0

    Nexus 1.9 war file doesn't deploy in Resin 3.1.10. I tried an older version (1.4.1, pre-guice) and it works fine in same container. {noformat} 2011-01-14 13:45:07 WARN [main ] - org.codehaus.plexus.PlexusContainer - Error initializing: class org.sonatype.nexus.DefaultNexus java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) 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:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 ERROR [main ] - 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@14ef239 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:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) 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:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - java.lang.IllegalStateException: Could not initialize Nexus. java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:58) at com.caucho.server.webapp.WebApp.start(WebApp.java:1866) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error role: org.sonatype.nexus.Nexus roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48) ... 18 more Caused by: com.google.inject.ProvisionException: Guice provision errors: 1) Error injecting: org.sonatype.nexus.DefaultNexus at ClassRealm[plexus.core, parent: null] at ClassRealm[plexus.core, parent: null] while locating org.sonatype.nexus.Nexus 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 21 more Caused by: 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@14ef239 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:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 24 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:607) at org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:265) at org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:227) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:134) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:79) 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:253) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1002) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) ... 35 more 2011-01-14 13:45:07 ERROR [main ] - org.apache.shiro.web.servlet.AbstractFilter - Unable to start Filter: [java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: ]. org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.dispatch.FilterManager - javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: javax.servlet.ServletException: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:102) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterManager.init(FilterManager.java:91) at com.caucho.server.webapp.WebApp.start(WebApp.java:1873) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: java.util.NoSuchElementException role: org.sonatype.security.configuration.SecurityConfigurationManager roleHint: at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:251) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:233) at org.sonatype.security.web.ShiroSecurityFilter.configure(ShiroSecurityFilter.java:72) at org.apache.shiro.web.servlet.IniShiroFilter.init(IniShiroFilter.java:292) at org.apache.shiro.web.servlet.AbstractShiroFilter.onFilterConfigSet(AbstractShiroFilter.java:83) at org.apache.shiro.web.servlet.AbstractFilter.init(AbstractFilter.java:94) ... 20 more Caused by: java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) ... 26 more 2011-01-14 13:45:07 ERROR [main ] - org.sonatype.guice.bean.reflect.NamedClass - Error injecting: org.sonatype.nexus.rest.NexusApplication com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 WARN [main ] - com.caucho.server.webapp.WebApp - com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.sonatype.security.web.ProtectedPathManager was bound. while locating org.sonatype.nexus.rest.NexusApplication 1 error at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:958) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:984) at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:48) 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:1002) 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:949) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:995) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:945) at org.sonatype.guice.bean.locators.LazyQualifiedBean.getValue(LazyQualifiedBean.java:66) at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:54) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:247) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:227) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:70) at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:833) at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:735) at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:159) at com.caucho.server.webapp.WebApp.start(WebApp.java:1874) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659) at com.caucho.server.host.Host.start(Host.java:450) at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667) at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72) at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549) at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160) at com.caucho.server.host.HostContainer.start(HostContainer.java:484) at com.caucho.server.cluster.Server.start(Server.java:1319) at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710) at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542) at com.caucho.server.resin.Resin.start(Resin.java:703) at com.caucho.server.resin.Resin.initMain(Resin.java:1162) at com.caucho.server.resin.Resin.main(Resin.java:1365) 2011-01-14 13:45:07 INFO [main ] - com.caucho.server.webapp.WebApp - WebApp[http://localhost:8080/nexus] active {noformat}

    Sonatype JIRA | 6 years ago | Rich Seddon
    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@14ef239 of org.sonatype.nexus.DefaultNexus. Reason: java.lang.NullPointerException while locating org.sonatype.nexus.DefaultNexus 2 errors

    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.nexus.DefaultNexus.initialize()
    2. ${project.groupId}:${project.artifactId}
      DefaultNexus.initialize
      1. org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618)
      1 frame
    3. Plexus
      PlexusLifecycleManager.manage
      1. org.codehaus.plexus.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:285)
      2. org.codehaus.plexus.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:247)
      3. org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:154)
      3 frames
    4. Sisu-Inject-Plexus : legacy wrapper
      PlexusBeanBinder.afterInjection
      1. org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:78)
      1 frame
    5. Google Guice - Core Library
      InjectorImpl.getInstance
      1. com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
      2. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
      3. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
      4. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968)
      5. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021)
      6. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964)
      7. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003)
      7 frames
    6. Sisu-Inject-Bean : legacy wrapper
      AbstractDeferredClass.get
      1. org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47)
      1 frame
    7. Google Guice - Core Library
      InjectorImpl$4.get
      1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      2. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1021)
      4. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      5. com.google.inject.Scopes$1$1.get(Scopes.java:59)
      6. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
      7. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968)
      8. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014)
      9. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964)
      9 frames
    8. Sisu-Inject-Bean : legacy wrapper
      LazyBeanEntry.getValue
      1. org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79)
      1 frame
    9. org.sonatype.guice
      LazyPlexusBean.getValue
      1. org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53)
      1 frame
    10. Plexus
      DefaultPlexusContainer.lookup
      1. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243)
      2. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235)
      3. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:229)
      3 frames
    11. ${project.groupId}:${project.artifactId}
      NexusBooterListener.contextInitialized
      1. org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:48)
      1 frame
    12. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:3821)
      2 frames
    13. JBoss Web
      WebDeploymentService.start
      1. org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70)
      1 frame
    14. JBoss Modular Service Container
      ServiceControllerImpl$ClearTCCLTask.run
      1. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
      2. org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
      2 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames