java.lang.NullPointerException

Oracle Community | 807573 | 9 years ago
  1. 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
  2. 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 com.sun.identity.jaxrpc.SOAPClient$SOAPContentHandler.endElement()
    2. com.sun.identity
      SOAPClient$SOAPContentHandler.endElement
      1. com.sun.identity.jaxrpc.SOAPClient$SOAPContentHandler.endElement(SOAPClient.java:824)
      1 frame
    3. Java RT
      SAXParserImpl$JAXPSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
      2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
      5. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      11 frames
    4. com.sun.identity
      AmAgentBaseFilter.doFilter
      1. com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:500)
      2. com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:467)
      3. com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.subEntries(SMSJAXRPCObject.java:284)
      4. com.sun.identity.sm.SMSEntry.subEntries(SMSEntry.java:668)
      5. com.sun.identity.sm.CachedSubEntries.getSubEntries(CachedSubEntries.java:122)
      6. com.sun.identity.sm.CachedSubEntries.getSubEntries(CachedSubEntries.java:104)
      7. com.sun.identity.sm.ServiceManager.getVersions(ServiceManager.java:723)
      8. com.sun.identity.sm.ServiceManager.checkServiceNameAndVersion(ServiceManager.java:758)
      9. com.sun.identity.sm.ServiceSchemaManagerImpl.<init>(ServiceSchemaManagerImpl.java:97)
      10. com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:480)
      11. com.sun.identity.sm.ServiceConfigManagerImpl.<init>(ServiceConfigManagerImpl.java:103)
      12. com.sun.identity.sm.ServiceConfigManagerImpl.getInstance(ServiceConfigManagerImpl.java:460)
      13. com.sun.identity.sm.ServiceManager.checkFlags(ServiceManager.java:896)
      14. com.sun.identity.sm.ServiceManager.initialize(ServiceManager.java:886)
      15. com.sun.identity.sm.ServiceManager.isRealmEnabled(ServiceManager.java:664)
      16. com.sun.identity.sm.ServiceManager.isConfigMigratedTo70(ServiceManager.java:682)
      17. com.sun.identity.sm.OrgConfigViaAMSDK.<clinit>(OrgConfigViaAMSDK.java:94)
      18. com.sun.identity.sm.DNMapper.convertToDN(DNMapper.java:356)
      19. com.sun.identity.sm.DNMapper.orgNameToDN(DNMapper.java:166)
      20. com.sun.identity.policy.PolicyManager.<clinit>(PolicyManager.java:169)
      21. com.sun.identity.policy.ResourceResult.<clinit>(ResourceResult.java:87)
      22. com.sun.identity.policy.remote.PolicyResponse.parseXML(PolicyResponse.java:287)
      23. com.sun.identity.policy.remote.PolicyService.parseXML(PolicyService.java:302)
      24. com.sun.identity.policy.client.ResourceResultCache.sendPLLRequest(ResourceResultCache.java:1290)
      25. com.sun.identity.policy.client.ResourceResultCache.getResultsFromServer(ResourceResultCache.java:529)
      26. com.sun.identity.policy.client.ResourceResultCache.getResourceResults(ResourceResultCache.java:442)
      27. com.sun.identity.policy.client.ResourceResultCache.getPolicyDecision(ResourceResultCache.java:282)
      28. com.sun.identity.policy.client.ResourceResultCache.getPolicyDecision(ResourceResultCache.java:207)
      29. com.sun.identity.policy.client.PolicyEvaluator.getPolicyDecision(PolicyEvaluator.java:371)
      30. com.sun.identity.agents.policy.AmWebPolicy.checkPolicyForResource(AmWebPolicy.java:98)
      31. com.sun.identity.agents.filter.URLPolicyTaskHandler.process(URLPolicyTaskHandler.java:105)
      32. com.sun.identity.agents.filter.AmFilter.processTaskHandlers(AmFilter.java:191)
      33. com.sun.identity.agents.filter.AmFilter.isAccessAllowed(AmFilter.java:154)
      34. com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:38)
      34 frames
    5. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      7. org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
      8. org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
      9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      11. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      12. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      12 frames
    6. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    7. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame
    9. com.sun.identity
      AmAgentBaseFilter.doFilter
      1. com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.subEntries(SMSJAXRPCObject.java:292)
      2. com.sun.identity.sm.SMSEntry.subEntries(SMSEntry.java:668)
      3. com.sun.identity.sm.CachedSubEntries.getSubEntries(CachedSubEntries.java:122)
      4. com.sun.identity.sm.CachedSubEntries.getSubEntries(CachedSubEntries.java:104)
      5. com.sun.identity.sm.ServiceManager.getVersions(ServiceManager.java:723)
      6. com.sun.identity.sm.ServiceManager.checkServiceNameAndVersion(ServiceManager.java:758)
      7. com.sun.identity.sm.ServiceSchemaManagerImpl.<init>(ServiceSchemaManagerImpl.java:97)
      8. com.sun.identity.sm.ServiceSchemaManagerImpl.getInstance(ServiceSchemaManagerImpl.java:480)
      9. com.sun.identity.sm.ServiceConfigManagerImpl.<init>(ServiceConfigManagerImpl.java:103)
      10. com.sun.identity.sm.ServiceConfigManagerImpl.getInstance(ServiceConfigManagerImpl.java:460)
      11. com.sun.identity.sm.ServiceManager.checkFlags(ServiceManager.java:896)
      12. com.sun.identity.sm.ServiceManager.initialize(ServiceManager.java:886)
      13. com.sun.identity.sm.ServiceManager.isRealmEnabled(ServiceManager.java:664)
      14. com.sun.identity.sm.ServiceManager.isConfigMigratedTo70(ServiceManager.java:682)
      15. com.sun.identity.sm.OrgConfigViaAMSDK.<clinit>(OrgConfigViaAMSDK.java:94)
      16. com.sun.identity.sm.DNMapper.convertToDN(DNMapper.java:356)
      17. com.sun.identity.sm.DNMapper.orgNameToDN(DNMapper.java:166)
      18. com.sun.identity.policy.PolicyManager.<clinit>(PolicyManager.java:169)
      19. com.sun.identity.policy.ResourceResult.<clinit>(ResourceResult.java:87)
      20. com.sun.identity.policy.remote.PolicyResponse.parseXML(PolicyResponse.java:287)
      21. com.sun.identity.policy.remote.PolicyService.parseXML(PolicyService.java:302)
      22. com.sun.identity.policy.client.ResourceResultCache.sendPLLRequest(ResourceResultCache.java:1290)
      23. com.sun.identity.policy.client.ResourceResultCache.getResultsFromServer(ResourceResultCache.java:529)
      24. com.sun.identity.policy.client.ResourceResultCache.getResourceResults(ResourceResultCache.java:442)
      25. com.sun.identity.policy.client.ResourceResultCache.getPolicyDecision(ResourceResultCache.java:282)
      26. com.sun.identity.policy.client.ResourceResultCache.getPolicyDecision(ResourceResultCache.java:207)
      27. com.sun.identity.policy.client.PolicyEvaluator.getPolicyDecision(PolicyEvaluator.java:371)
      28. com.sun.identity.agents.policy.AmWebPolicy.checkPolicyForResource(AmWebPolicy.java:98)
      29. com.sun.identity.agents.filter.URLPolicyTaskHandler.process(URLPolicyTaskHandler.java:105)
      30. com.sun.identity.agents.filter.AmFilter.processTaskHandlers(AmFilter.java:191)
      31. com.sun.identity.agents.filter.AmFilter.isAccessAllowed(AmFilter.java:154)
      32. com.sun.identity.agents.filter.AmAgentBaseFilter.doFilter(AmAgentBaseFilter.java:38)
      32 frames
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
      4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471)
      5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
      6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      7. org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:364)
      8. org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:285)
      9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      11. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      12. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
      12 frames
    11. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      4 frames
    12. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
      1 frame
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame