java.lang.NullPointerException

Sonatype JIRA | Juven Xu | 8 years ago
  1. 0

    {noformat} Hello. I want to install nexus-war-1.2.1 on geronimo 2.1.3. I got the error when deploy. [root@server /usr/local/geronimo2/bin]# ./deploy.sh -u system -p xxx deploy /usr/ports/distfiles/nexus-webapp-1.2.1.war /root/nexus/nexus-geronimo-plan.xml Using GERONIMO_BASE: /usr/local/geronimo2 Using GERONIMO_HOME: /usr/local/geronimo2 Using GERONIMO_TMPDIR: var/temp Using JRE_HOME: /usr/local/jdk1.6.0/jre Error: Operation failed: start of nexus/nexus/1.2.1/war failed Unknown start exception Configuration nexus/nexus/1.2.1/war failed to start due to the following reasons: The service J2EEApplication=null,WebFilter=nexusFilter,WebModule=nexus/nexus/1.2.1/war,j2eeType=URLWebFilterMapping,name="[/service/%5C*]" did not start because nexus/nexus/1.2.1/war?J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=WebFilter,name=nexusFilter did not start. The service J2EEApplication=null,WebFilter=nexusFilter,WebModule=nexus/nexus/1.2.1/war,j2eeType=URLWebFilterMapping,name="[/content/%5C*]" did not start because the following dependent services did not start: [nexus/nexus/1.2.1/war?J2EEApplication=null,WebFilter=nexusFilter,WebModule=nexus/nexus/1.2.1/war,j2eeType=URLWebFilterMapping,name=%22[/service/%5C*]%22, nexus/nexus/1.2.1/war?J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=WebFilter,name=nexusFilter] The service J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=WebFilter,name=nexusFilter did not start because org.jsecurity.io.ResourceException: Unable to load from text configuration. The service J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=Servlet,name=default did not start because javax.servlet.ServletException: org.jsecurity.io.ResourceException: Unable to load from text configuration. The service J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=Servlet,name=nexus did not start because javax.servlet.ServletException: org.jsecurity.io.ResourceException: Unable to load from text configuration. ----------------------------- Generated /root/sonatype-work/nexus/conf/nexus.xml is empty now. Here is the error from /root/sonatype-work/nexus/logs 2009-03-08 09:44:05.857 ERROR [DefaultThreadPool 198:] - org.jsecurity.web.servlet.OncePerRequestFilter: Unable to start Filter: [Unable to load from text configuration.]. org.jsecurity.io.ResourceException: Unable to load from text configuration. at org.jsecurity.config.TextConfiguration.loadTextConfig(TextConfiguration.java:69) at org.jsecurity.config.TextConfiguration.init(TextConfiguration.java:81) at org.jsecurity.config.IniConfiguration.init(IniConfiguration.java:105) at org.sonatype.jsecurity.web.PlexusConfiguration.init(PlexusConfiguration.java:120) at org.jsecurity.util.LifecycleUtils.init(LifecycleUtils.java:42) at org.jsecurity.util.LifecycleUtils.init(LifecycleUtils.java:37) at org.sonatype.jsecurity.web.PlexusJSecurityFilter.configure(PlexusJSecurityFilter.java:96) at org.jsecurity.web.servlet.JSecurityFilter.onFilterConfigSet(JSecurityFilter.java:218) at org.jsecurity.web.servlet.OncePerRequestFilter.init(OncePerRequestFilter.java:130) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder.internalDoStart(JettyFilterHolder.java:114) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder.access$100(JettyFilterHolder.java:70) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder$2.lifecycleMethod(JettyFilterHolder.java:107) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:62) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycleCommand(ThreadClassloaderHandler.java:57) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:60) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCommand(InstanceContextHandler.java:81) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:60) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.lifecycleCommand(UserTransactionHandler.java:63) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:60) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleCommand(ComponentContextHandler.java:57) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder.doStart(JettyFilterHolder.java:110) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.apache.geronimo.jetty6.JettyFilterHolder.doStart(JettyFilterHolder.java:55) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ecde51fc.startConfiguration(<generated>) at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:152) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:67) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85) at org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:219) at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214) at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.jsecurity.config.ConfigurationException: java.lang.NullPointerException at org.jsecurity.config.IniConfiguration.load(IniConfiguration.java:120) at org.jsecurity.config.TextConfiguration.loadTextConfig(TextConfiguration.java:66) ... 119 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.getRealms(DefaultNexusConfiguration.java:421) at org.sonatype.nexus.jsecurity.locators.NexusRealmLocator.getRealms(NexusRealmLocator.java:33) at org.sonatype.jsecurity.selectors.DefaultRealmSelector.selectAllRealms(DefaultRealmSelector.java:32) at org.sonatype.jsecurity.web.WebPlexusSecurity.getRealms(WebPlexusSecurity.java:209) at org.jsecurity.mgt.RealmSecurityManager.applyCacheManagerToRealms(RealmSecurityManager.java:117) at org.jsecurity.mgt.RealmSecurityManager.setRealms(RealmSecurityManager.java:81) at org.jsecurity.mgt.AuthenticatingSecurityManager.setRealms(AuthenticatingSecurityManager.java:148) at org.jsecurity.mgt.AuthorizingSecurityManager.setRealms(AuthorizingSecurityManager.java:128) at org.jsecurity.mgt.RealmSecurityManager.setRealm(RealmSecurityManager.java:65) at org.sonatype.jsecurity.web.WebPlexusSecurity.initialize(WebPlexusSecurity.java:484) at org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:220) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:98) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96) at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:484) at org.sonatype.jsecurity.web.PlexusConfiguration.getOrCreateSecurityManager(PlexusConfiguration.java:156) at org.sonatype.jsecurity.web.PlexusConfiguration.createSecurityManager(PlexusConfiguration.java:146) at org.jsecurity.config.IniConfiguration.processIni(IniConfiguration.java:156) at org.jsecurity.config.IniConfiguration.process(IniConfiguration.java:152) at org.jsecurity.config.IniConfiguration.load(IniConfiguration.java:118) ... 120 more {noformat}

    Sonatype JIRA | 8 years ago | Juven Xu
    java.lang.NullPointerException
  2. 0

    {noformat} Hello. I want to install nexus-war-1.2.1 on geronimo 2.1.3. I got the error when deploy. [root@server /usr/local/geronimo2/bin]# ./deploy.sh -u system -p xxx deploy /usr/ports/distfiles/nexus-webapp-1.2.1.war /root/nexus/nexus-geronimo-plan.xml Using GERONIMO_BASE: /usr/local/geronimo2 Using GERONIMO_HOME: /usr/local/geronimo2 Using GERONIMO_TMPDIR: var/temp Using JRE_HOME: /usr/local/jdk1.6.0/jre Error: Operation failed: start of nexus/nexus/1.2.1/war failed Unknown start exception Configuration nexus/nexus/1.2.1/war failed to start due to the following reasons: The service J2EEApplication=null,WebFilter=nexusFilter,WebModule=nexus/nexus/1.2.1/war,j2eeType=URLWebFilterMapping,name="[/service/%5C*]" did not start because nexus/nexus/1.2.1/war?J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=WebFilter,name=nexusFilter did not start. The service J2EEApplication=null,WebFilter=nexusFilter,WebModule=nexus/nexus/1.2.1/war,j2eeType=URLWebFilterMapping,name="[/content/%5C*]" did not start because the following dependent services did not start: [nexus/nexus/1.2.1/war?J2EEApplication=null,WebFilter=nexusFilter,WebModule=nexus/nexus/1.2.1/war,j2eeType=URLWebFilterMapping,name=%22[/service/%5C*]%22, nexus/nexus/1.2.1/war?J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=WebFilter,name=nexusFilter] The service J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=WebFilter,name=nexusFilter did not start because org.jsecurity.io.ResourceException: Unable to load from text configuration. The service J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=Servlet,name=default did not start because javax.servlet.ServletException: org.jsecurity.io.ResourceException: Unable to load from text configuration. The service J2EEApplication=null,WebModule=nexus/nexus/1.2.1/war,j2eeType=Servlet,name=nexus did not start because javax.servlet.ServletException: org.jsecurity.io.ResourceException: Unable to load from text configuration. ----------------------------- Generated /root/sonatype-work/nexus/conf/nexus.xml is empty now. Here is the error from /root/sonatype-work/nexus/logs 2009-03-08 09:44:05.857 ERROR [DefaultThreadPool 198:] - org.jsecurity.web.servlet.OncePerRequestFilter: Unable to start Filter: [Unable to load from text configuration.]. org.jsecurity.io.ResourceException: Unable to load from text configuration. at org.jsecurity.config.TextConfiguration.loadTextConfig(TextConfiguration.java:69) at org.jsecurity.config.TextConfiguration.init(TextConfiguration.java:81) at org.jsecurity.config.IniConfiguration.init(IniConfiguration.java:105) at org.sonatype.jsecurity.web.PlexusConfiguration.init(PlexusConfiguration.java:120) at org.jsecurity.util.LifecycleUtils.init(LifecycleUtils.java:42) at org.jsecurity.util.LifecycleUtils.init(LifecycleUtils.java:37) at org.sonatype.jsecurity.web.PlexusJSecurityFilter.configure(PlexusJSecurityFilter.java:96) at org.jsecurity.web.servlet.JSecurityFilter.onFilterConfigSet(JSecurityFilter.java:218) at org.jsecurity.web.servlet.OncePerRequestFilter.init(OncePerRequestFilter.java:130) at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder.internalDoStart(JettyFilterHolder.java:114) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder.access$100(JettyFilterHolder.java:70) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder$2.lifecycleMethod(JettyFilterHolder.java:107) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:62) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.lifecycleCommand(ThreadClassloaderHandler.java:57) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:60) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.lifecycleCommand(InstanceContextHandler.java:81) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:60) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.lifecycleCommand(UserTransactionHandler.java:63) at org.apache.geronimo.jetty6.handler.AbstractImmutableHandler.lifecycleCommand(AbstractImmutableHandler.java:60) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.lifecycleCommand(ComponentContextHandler.java:57) at org.apache.geronimo.jetty6.JettyFilterHolder$InternalFilterHolder.doStart(JettyFilterHolder.java:110) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.apache.geronimo.jetty6.JettyFilterHolder.doStart(JettyFilterHolder.java:55) at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541) at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555) at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832) at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$ecde51fc.startConfiguration(<generated>) at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.processAction(ConfigManagerPortlet.java:152) at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:218) at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:67) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59) at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:192) at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) at org.apache.pluto.core.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:85) at org.apache.pluto.core.PortletContainerImpl.doAction(PortletContainerImpl.java:219) at org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:121) at javax.servlet.http.HttpServlet.service(HttpServlet.java:693) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.apache.geronimo.jetty6.handler.JettySecurityHandler.handle(JettySecurityHandler.java:114) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47) at org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214) at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: org.jsecurity.config.ConfigurationException: java.lang.NullPointerException at org.jsecurity.config.IniConfiguration.load(IniConfiguration.java:120) at org.jsecurity.config.TextConfiguration.loadTextConfig(TextConfiguration.java:66) ... 119 more Caused by: java.lang.NullPointerException at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.getRealms(DefaultNexusConfiguration.java:421) at org.sonatype.nexus.jsecurity.locators.NexusRealmLocator.getRealms(NexusRealmLocator.java:33) at org.sonatype.jsecurity.selectors.DefaultRealmSelector.selectAllRealms(DefaultRealmSelector.java:32) at org.sonatype.jsecurity.web.WebPlexusSecurity.getRealms(WebPlexusSecurity.java:209) at org.jsecurity.mgt.RealmSecurityManager.applyCacheManagerToRealms(RealmSecurityManager.java:117) at org.jsecurity.mgt.RealmSecurityManager.setRealms(RealmSecurityManager.java:81) at org.jsecurity.mgt.AuthenticatingSecurityManager.setRealms(AuthenticatingSecurityManager.java:148) at org.jsecurity.mgt.AuthorizingSecurityManager.setRealms(AuthorizingSecurityManager.java:128) at org.jsecurity.mgt.RealmSecurityManager.setRealm(RealmSecurityManager.java:65) at org.sonatype.jsecurity.web.WebPlexusSecurity.initialize(WebPlexusSecurity.java:484) at org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:220) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:98) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135) at org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96) at org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:484) at org.sonatype.jsecurity.web.PlexusConfiguration.getOrCreateSecurityManager(PlexusConfiguration.java:156) at org.sonatype.jsecurity.web.PlexusConfiguration.createSecurityManager(PlexusConfiguration.java:146) at org.jsecurity.config.IniConfiguration.processIni(IniConfiguration.java:156) at org.jsecurity.config.IniConfiguration.process(IniConfiguration.java:152) at org.jsecurity.config.IniConfiguration.load(IniConfiguration.java:118) ... 120 more {noformat}

    Sonatype JIRA | 8 years ago | Juven Xu
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

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

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.getRealms()
    2. ${project.groupId}:${project.artifactId}
      DefaultNexusConfiguration.getRealms
      1. org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.getRealms(DefaultNexusConfiguration.java:421)
      1 frame
    3. org.sonatype.nexus
      NexusRealmLocator.getRealms
      1. org.sonatype.nexus.jsecurity.locators.NexusRealmLocator.getRealms(NexusRealmLocator.java:33)
      1 frame
    4. org.sonatype.jsecurity
      WebPlexusSecurity.getRealms
      1. org.sonatype.jsecurity.selectors.DefaultRealmSelector.selectAllRealms(DefaultRealmSelector.java:32)
      2. org.sonatype.jsecurity.web.WebPlexusSecurity.getRealms(WebPlexusSecurity.java:209)
      2 frames
    5. org.jsecurity.mgt
      RealmSecurityManager.setRealm
      1. org.jsecurity.mgt.RealmSecurityManager.applyCacheManagerToRealms(RealmSecurityManager.java:117)
      2. org.jsecurity.mgt.RealmSecurityManager.setRealms(RealmSecurityManager.java:81)
      3. org.jsecurity.mgt.AuthenticatingSecurityManager.setRealms(AuthenticatingSecurityManager.java:148)
      4. org.jsecurity.mgt.AuthorizingSecurityManager.setRealms(AuthorizingSecurityManager.java:128)
      5. org.jsecurity.mgt.RealmSecurityManager.setRealm(RealmSecurityManager.java:65)
      5 frames
    6. org.sonatype.jsecurity
      WebPlexusSecurity.initialize
      1. org.sonatype.jsecurity.web.WebPlexusSecurity.initialize(WebPlexusSecurity.java:484)
      1 frame
    7. Plexus
      DefaultPlexusContainer.lookup
      1. org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:33)
      2. org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97)
      3. org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:220)
      4. org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:98)
      5. org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:135)
      6. org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:96)
      7. org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
      8. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:484)
      8 frames
    8. org.sonatype.jsecurity
      PlexusConfiguration.createSecurityManager
      1. org.sonatype.jsecurity.web.PlexusConfiguration.getOrCreateSecurityManager(PlexusConfiguration.java:156)
      2. org.sonatype.jsecurity.web.PlexusConfiguration.createSecurityManager(PlexusConfiguration.java:146)
      2 frames
    9. org.jsecurity.config
      TextConfiguration.loadTextConfig
      1. org.jsecurity.config.IniConfiguration.processIni(IniConfiguration.java:156)
      2. org.jsecurity.config.IniConfiguration.process(IniConfiguration.java:152)
      3. org.jsecurity.config.IniConfiguration.load(IniConfiguration.java:118)
      4. org.jsecurity.config.IniConfiguration.load(IniConfiguration.java:120)
      5. org.jsecurity.config.TextConfiguration.loadTextConfig(TextConfiguration.java:66)
      5 frames