java.lang.NullPointerException

Exception #2498753

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Damian Bradicich,
  • via Unknown by Damian Bradicich,
  • Stack trace

    • java.lang.NullPointerException at org.sonatype.guice.nexus.scanners.NexusComponentClassVisitor.visitAnnotation(NexusComponentClassVisitor.java:137) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.sonatype.guice.plexus.scanners.AnnotatedPlexusComponentScanner.visitClassResource(AnnotatedPlexusComponentScanner.java:81) at org.sonatype.guice.plexus.scanners.AnnotatedPlexusComponentScanner.visitClassResources(AnnotatedPlexusComponentScanner.java:64) at org.sonatype.guice.nexus.scanners.AnnotatedNexusComponentScanner.scan(AnnotatedNexusComponentScanner.java:62) at org.sonatype.guice.plexus.scanners.AnnotatedPlexusBeanSource.findPlexusComponentBeans(AnnotatedPlexusBeanSource.java:103) at org.sonatype.guice.plexus.binders.PlexusBindingModule.configure(PlexusBindingModule.java:64) at com.google.inject.AbstractModule.configure(AbstractModule.java:59) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:225) at com.google.inject.spi.Elements.getElements(Elements.java:103) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:135) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:112) at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:151) at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:158) at org.sonatype.nexus.plugins.DefaultNexusPluginManager.createPluginInjector(DefaultNexusPluginManager.java:321) at org.sonatype.nexus.plugins.DefaultNexusPluginManager.activatePlugin(DefaultNexusPluginManager.java:217) at org.sonatype.nexus.plugins.DefaultNexusPluginManager.activatePlugin(DefaultNexusPluginManager.java:155) at org.sonatype.nexus.plugins.DefaultNexusPluginManager.activateInstalledPlugins(DefaultNexusPluginManager.java:138) at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:618) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:110) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:77) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:96) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833) at org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:56) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:64) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:180) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:172) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) 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:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308) at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:114) at org.sonatype.guice.plexus.binders.PlexusBeanBinder.afterInjection(PlexusBeanBinder.java:77) at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:96) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:90) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198) at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:53) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:64) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:213) at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:207) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:844) at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:207) at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:188) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:118) at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:90) at com.google.inject.Guice.createInjector(Guice.java:105) at com.google.inject.Guice.createInjector(Guice.java:76) at com.google.inject.Guice.createInjector(Guice.java:63) at org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:116) at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:343) at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48) at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68) at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.