java.lang.NullPointerException

Atlassian JIRA | Mark Chaimungkalanont | 7 years ago
  1. 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
  2. 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
  3. 0

    NullPointerException when invoking a web service

    Coderanch | 10 years ago | Bob Green
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Null Pointer exception while invoking web service

    Coderanch | 1 decade ago | Umakant Swami
    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:993)
      1 frame
    3. Java RT
      ClassLoader.getResources
      1. java.lang.ClassLoader.getResources(ClassLoader.java:1041)
      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
      Service.<init>
      1. org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:113)
      2. org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(EngineConfigurationFactoryFinder.java:160)
      3. org.apache.axis.client.Service.getEngineConfiguration(Service.java:813)
      4. org.apache.axis.client.Service.getAxisClient(Service.java:104)
      5. org.apache.axis.client.Service.<init>(Service.java:113)
      5 frames
    8. com.atlassian.jira
      JiraSoapServiceServiceLocator.<init>
      1. com.atlassian.jira.rpc.soap.client.JiraSoapServiceServiceLocator.<init>(JiraSoapServiceServiceLocator.java:12)
      1 frame
    9. com.atlassian.bamboo
      JiraIssueManagerImpl$1.call
      1. com.atlassian.bamboo.jira.JiraSoapServiceFactory.newJiraSoapService(JiraSoapServiceFactory.java:26)
      2. com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraSoapService(JiraRemoteIssueManagerImpl.java:185)
      3. com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.refreshLoginToken(JiraRemoteIssueManagerImpl.java:157)
      4. com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerImpl.getJiraIssueDetails(JiraRemoteIssueManagerImpl.java:97)
      5. com.atlassian.bamboo.jira.jiraissues.CachedJiraIssueDetails.getObject(CachedJiraIssueDetails.java:27)
      6. com.atlassian.bamboo.jira.jiraissues.JiraRemoteIssueManagerCache.getJiraIssueDetails(JiraRemoteIssueManagerCache.java:54)
      7. com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:53)
      8. com.atlassian.bamboo.jira.jiraissues.JiraIssueManagerImpl$1.call(JiraIssueManagerImpl.java:50)
      8 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      5. java.lang.Thread.run(Thread.java:619)
      5 frames