java.lang.NullPointerException

openbravo | kchopein | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Vendor invoice accounting?

    openbravo | 1 decade ago | kchopein
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    {noformat} 2010-03-16 00:02:39,912 ERROR [pool-3-thread-1046] [JiraRemoteIssueManagerImpl] Failed to login to the Jira Server java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:993) at java.lang.ClassLoader.getResources(ClassLoader.java:1041) at org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129) at org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147) at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:120) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160) at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.atlassian.jira.rpc.soap.client.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at com.atlassian.bamboo.jira.JiraSoapServiceFactory.newJiraSoapService(JiraSoapServiceFactory.java:26) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraSoapService(JiraRemoteIssueManagerImpl.java:185) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.refreshLoginToken(JiraRemoteIssueManagerImpl.java:157) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraIssueDetails(JiraRemoteIssueManagerImpl.java:97) at com.atlassian.bamboo.jira.jiraissues.CachedJiraIssueDetails.getObject(CachedJiraIssueDetails.java:27) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerCache.getJiraIssueDetails(JiraRemoteIssueManagerCache.java:54) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:53) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:50) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) {noformat} seems to be a result of unclean restart from: http://threebit.net/mail-archive/tomcat-users/msg05293.html

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    java.lang.NullPointerException
  4. 0

    {noformat} 2010-03-16 00:02:39,912 ERROR [pool-3-thread-1046] [JiraRemoteIssueManagerImpl] Failed to login to the Jira Server java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:993) at java.lang.ClassLoader.getResources(ClassLoader.java:1041) at org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153) at org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129) at org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170) at org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143) at org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159) at org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147) at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:120) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113) at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160) at org.apache.axis.client.Service.getEngineConfiguration(Service.java:813) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.<init>(Service.java:113) at com.atlassian.jira.rpc.soap.client.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12) at com.atlassian.bamboo.jira.JiraSoapServiceFactory.newJiraSoapService(JiraSoapServiceFactory.java:26) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraSoapService(JiraRemoteIssueManagerImpl.java:185) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.refreshLoginToken(JiraRemoteIssueManagerImpl.java:157) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraIssueDetails(JiraRemoteIssueManagerImpl.java:97) at com.atlassian.bamboo.jira.jiraissues.CachedJiraIssueDetails.getObject(CachedJiraIssueDetails.java:27) at com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerCache.getJiraIssueDetails(JiraRemoteIssueManagerCache.java:54) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:53) at com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:50) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) 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:619) {noformat} seems to be a result of unclean restart from: http://threebit.net/mail-archive/tomcat-users/msg05293.html

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    java.lang.NullPointerException

    1 unregistered visitors
    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.apache.catalina.loader.WebappClassLoader.findResources()
    2. Glassfish Core
      WebappClassLoader.findResources
      1. org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:965)
      1 frame
    3. Java RT
      ClassLoader.getResources
      1. java.lang.ClassLoader.getResources(ClassLoader.java:1015)
      1 frame
    4. Commons Discovery
      ResourceClassDiscoverImpl$1.hasNext
      1. org.apache.commons.discovery.jdk.JDK12Hooks.getResources(JDK12Hooks.java:150)
      2. org.apache.commons.discovery.resource.DiscoverResources$1.getNextResources(DiscoverResources.java:153)
      3. org.apache.commons.discovery.resource.DiscoverResources$1.getNextResource(DiscoverResources.java:129)
      4. org.apache.commons.discovery.resource.DiscoverResources$1.hasNext(DiscoverResources.java:116)
      5. org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassNames(DiscoverNamesInFile.java:186)
      6. org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.getNextClassName(DiscoverNamesInFile.java:170)
      7. org.apache.commons.discovery.resource.names.DiscoverNamesInFile$1.hasNext(DiscoverNamesInFile.java:157)
      8. org.apache.commons.discovery.resource.names.NameDiscoverers$1.getNextIterator(NameDiscoverers.java:143)
      9. org.apache.commons.discovery.resource.names.NameDiscoverers$1.hasNext(NameDiscoverers.java:126)
      10. org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.getNextResource(ResourceClassDiscoverImpl.java:159)
      11. org.apache.commons.discovery.resource.classes.ResourceClassDiscoverImpl$1.hasNext(ResourceClassDiscoverImpl.java:147)
      11 frames
    5. Axis Web Services
      EngineConfigurationFactoryFinder$1.run
      1. org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineConfigurationFactoryFinder.java:120)
      1 frame
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. Axis Web Services
      AxisServletBase.init
      1. org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
      2. org.apache.axis.transport.http.AxisServletBase.getEngineEnvironment(AxisServletBase.java:273)
      3. org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:172)
      4. org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)
      5. org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)
      5 frames
    8. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:211)
      1 frame
    9. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
      4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
      5. org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1089)
      6. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187)
      7. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
      8. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      9. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
      10. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
      11. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
      12. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
      12 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame