java.lang.NullPointerException

Oracle Community | 807573 | 9 years ago
  1. 0

    I'm following Protecting a Simple Web Application to Provide SSO - chapter 6 of the book and i'm trying to run sample Java application. Agent: tomcat_v6_agent_3 J2EE Agent Configuration Name: payslip Pw: payslippw Central OpenSSO Server URL: http://10.30.1.231:9090/opensso Agent URL: http://10.30.1.150:7070/agentapp Steps: Machinne 1: 1. Install tomcat 6.0.32 2. Unzip openam_snapshot_952.zip and deploy war file 3. Startup tomcat 4. Configure default acount 5. Configure J2EE Agent Machinne 2: 7. Install tomcat 6.0.32 and 6. Unzip tomcat_v6_agent_3.zip and install agent (agentadmin --install)(SUCCEFULL) 5. Startup tomcat (ERROR) Exception detail: amAgentCore:06/01/2011 03:10:02:098 PM VET: Thread[main,5,main] ********************************************** amAgentCore:06/01/2011 03:10:02:098 PM VET: Thread[main,5,main] AgentConfiguration.setOrganizationName: organization name for realm is set to: / amAgentCore:06/01/2011 03:10:02:114 PM VET: Thread[main,5,main] AgentConfiguration: service resolver set to: com.sun.identity.agents.tomcat.v6.AmTomcatAgentServiceResolver amAgentCore:06/01/2011 03:10:02:129 PM VET: Thread[main,5,main] AgentConfiguration: service resolver reports EJBContext available: false amAgentCore:06/01/2011 03:10:02:129 PM VET: Thread[main,5,main] AgentConfiguration: Application User: payslip amAgentCore:06/01/2011 03:10:02:692 PM VET: Thread[main,5,main] AgentConfiguration: Policy Admin Location: null amAgentCore:06/01/2011 03:10:02:692 PM VET: Thread[main,5,main] No configuration found for com.sun.identity.agents.config.amAgentCore.locale.language, trying com.sun.identity.agents.config.locale.language amAgentCore:06/01/2011 03:10:02:692 PM VET: Thread[main,5,main] No configuration found for com.sun.identity.agents.config.locale.language, using default value: en amAgentCore:06/01/2011 03:10:02:692 PM VET: Thread[main,5,main] No configuration found for com.sun.identity.agents.config.amAgentCore.locale.country, trying com.sun.identity.agents.config.locale.country amAgentCore:06/01/2011 03:10:02:692 PM VET: Thread[main,5,main] No configuration found for com.sun.identity.agents.config.locale.country, using default value: US amAuthContext:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] ********************************************** amAuthContext:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] ERROR: Failed to obtain auth service url from server: null://null:null amNaming:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] ********************************************** amNaming:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] Naming service URL list: [http://10.30.1.231:8080/opensso/namingservice] amNaming:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] SiteMonitor : SiteStatusCheck class = com.iplanet.services.naming.SiteStatusCheckThreadImpl amComm:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] ********************************************** amComm:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] Configured Protocol Handler : null PLLClient:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] ********************************************** PLLClient:06/01/2011 03:10:02:723 PM VET: Thread[main,5,main] Configured Protocol Handler : null amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] Server Properties are changed : amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] com.iplanet.am.server.protocol : http amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] com.iplanet.am.server.host : 10.30.1.231 amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] com.iplanet.am.server.port : 8080 amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] com.iplanet.am.services.deploymentDescriptor : /opensso amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] SiteID table -> {01=01} amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] WebtopNaming.updateLBCookieValueMappings():LBCookieValues table -> {01=01} amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] Naming table -> {iplanet-am-platform-site-id-list=01, iplanet-am-naming-policy-url=%protocol://%host:%port%uri/policyservice, iplanet-am-naming-session-class=com.iplanet.dpro.session.service.SessionRequestHandler, iplanet-am-naming-session-url=%protocol://%host:%port%uri/sessionservice, iplanet-am-naming-securitytokenmanager-url=%protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF, iplanet-am-naming-samlawareservlet-url=%protocol://%host:%port%uri/SAMLAwareServlet, serviceObjectClasses=iplanet-am-naming-service, iplanet-am-naming-auth-url=%protocol://%host:%port%uri/authservice, iplanet-am-naming-profile-class=com.iplanet.dpro.profile.agent.ProfileService, iplanet-am-naming-samlassertionmanager-url=%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF, 01=http://10.30.1.231:8080/opensso, iplanet-am-naming-policy-class=com.sun.identity.policy.remote.PolicyRequestHandler, iplanet-am-naming-jaxrpc-url=%protocol://%host:%port%uri/jaxrpc/, iplanet-am-naming-logging-class=com.sun.identity.log.service.LogService, iplanet-am-naming-profile-url=%protocol://%host:%port%uri/profileservice, sun-naming-idsvcs-jaxws-url=%protocol://%host:%port%uri/identityservices/, iplanet-am-naming-samlsoapreceiver-url=%protocol://%host:%port%uri/SAMLSOAPReceiver, sun-naming-idsvcs-rest-url=%protocol://%host:%port%uri/identity/, iplanet-am-platform-lb-cookie-value-list=01|01, iplanet-am-naming-logging-url=%protocol://%host:%port%uri/loggingservice, iplanet-am-naming-fsassertionmanager-url=%protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF, iplanet-am-platform-server-list=http://10.30.1.231:8080/opensso, iplanet-am-naming-samlpostservlet-url=%protocol://%host:%port%uri/SAMLPOSTProfileServlet, sun-naming-sts-mex-url=%protocol://%host:%port%uri/sts/mex, sun-naming-sts-url=%protocol://%host:%port%uri/sts, iplanet-am-naming-auth-class=com.sun.identity.authentication.server.AuthXMLHandler} amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] Server Id Table -> {http://10.30.1.231:8080/opensso=01, %protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, 01=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, 01|01=iplanet-am-platform-lb-cookie-value-list, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class} amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] Site Id Table -> {01=01} amNaming:06/01/2011 03:10:02:817 PM VET: Thread[main,5,main] SiteMonitor initialization failed : java.lang.NullPointerException at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:1230) at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:1106) at com.iplanet.services.naming.WebtopNaming.access$000(WebtopNaming.java:91) at com.iplanet.services.naming.WebtopNaming$SiteMonitor.<clinit>(WebtopNaming.java:1608) at com.iplanet.services.naming.WebtopNaming.startSiteMonitor(WebtopNaming.java:1434) at com.iplanet.services.naming.WebtopNaming.initializeNamingService(WebtopNaming.java:271) at com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:1178) at com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:1106) at com.iplanet.services.naming.WebtopNaming.getServiceAllURLs(WebtopNaming.java:494) at com.sun.identity.authentication.AuthContext.login(AuthContext.java:671) at com.sun.identity.authentication.AuthContext.login(AuthContext.java:598) at com.sun.identity.authentication.AuthContext.login(AuthContext.java:401) at com.sun.identity.agents.common.ApplicationSSOTokenProvider.getApplicationSSOToken(ApplicationSSOTokenProvider.java:64) at com.sun.identity.agents.arch.AgentConfiguration.setAppSSOToken(AgentConfiguration.java:616) at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:722) at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1140) at com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1579) at com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:643) at com.sun.identity.agents.tomcat.v6.AmTomcatRealm.<clinit>(AmTomcatRealm.java:64) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206) at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1356) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at org.apache.catalina.startup.Catalina.load(Catalina.java:562) 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.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) amNaming:06/01/2011 03:10:02:848 PM VET: Thread[SystemTimer,5,main] SiteStatusCheckThreadImpl.doCheckSiteStatus: check http://10.30.1.231:8080/opensso/namingservice amNaming:06/01/2011 03:10:02:848 PM VET: Thread[SystemTimer,5,main] URLChecker.checkSocketConnection() returning true for http://10.30.1.231:8080/opensso/namingservice amNaming:06/01/2011 03:10:02:848 PM VET: Thread[SystemTimer,5,main] URLChecker.check() : Http connection took 0 ms amNaming:06/01/2011 03:10:02:848 PM VET: Thread[SystemTimer,5,main] URLChecker.check() : setting status to AVAILABLE for http://10.30.1.231:8080/opensso/namingservice amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] Server Properties are changed : amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] com.iplanet.am.server.protocol : http amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] com.iplanet.am.server.host : 10.30.1.231 amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] com.iplanet.am.server.port : 8080 amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] com.iplanet.am.services.deploymentDescriptor : /opensso amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] SiteID table -> {01=01} amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] WebtopNaming.updateLBCookieValueMappings():LBCookieValues table -> {01=01} amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] Naming table -> {iplanet-am-platform-site-id-list=01, iplanet-am-naming-policy-url=%protocol://%host:%port%uri/policyservice, iplanet-am-naming-session-class=com.iplanet.dpro.session.service.SessionRequestHandler, iplanet-am-naming-session-url=%protocol://%host:%port%uri/sessionservice, iplanet-am-naming-securitytokenmanager-url=%protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF, iplanet-am-naming-samlawareservlet-url=%protocol://%host:%port%uri/SAMLAwareServlet, serviceObjectClasses=iplanet-am-naming-service, iplanet-am-naming-auth-url=%protocol://%host:%port%uri/authservice, iplanet-am-naming-profile-class=com.iplanet.dpro.profile.agent.ProfileService, iplanet-am-naming-samlassertionmanager-url=%protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF, 01=http://10.30.1.231:8080/opensso, iplanet-am-naming-policy-class=com.sun.identity.policy.remote.PolicyRequestHandler, iplanet-am-naming-jaxrpc-url=%protocol://%host:%port%uri/jaxrpc/, iplanet-am-naming-logging-class=com.sun.identity.log.service.LogService, iplanet-am-naming-profile-url=%protocol://%host:%port%uri/profileservice, sun-naming-idsvcs-jaxws-url=%protocol://%host:%port%uri/identityservices/, iplanet-am-naming-samlsoapreceiver-url=%protocol://%host:%port%uri/SAMLSOAPReceiver, sun-naming-idsvcs-rest-url=%protocol://%host:%port%uri/identity/, iplanet-am-platform-lb-cookie-value-list=01|01, iplanet-am-naming-logging-url=%protocol://%host:%port%uri/loggingservice, iplanet-am-naming-fsassertionmanager-url=%protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF, iplanet-am-platform-server-list=http://10.30.1.231:8080/opensso, iplanet-am-naming-samlpostservlet-url=%protocol://%host:%port%uri/SAMLPOSTProfileServlet, sun-naming-sts-mex-url=%protocol://%host:%port%uri/sts/mex, sun-naming-sts-url=%protocol://%host:%port%uri/sts, iplanet-am-naming-auth-class=com.sun.identity.authentication.server.AuthXMLHandler} amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] Server Id Table -> {http://10.30.1.231:8080/opensso=01, %protocol://%host:%port%uri/AssertionManagerServlet/AssertionManagerIF=iplanet-am-naming-samlassertionmanager-url, com.iplanet.dpro.profile.agent.ProfileService=iplanet-am-naming-profile-class, %protocol://%host:%port%uri/SecurityTokenManagerServlet/SecurityTokenManagerIF=iplanet-am-naming-securitytokenmanager-url, %protocol://%host:%port%uri/authservice=iplanet-am-naming-auth-url, %protocol://%host:%port%uri/sts=sun-naming-sts-url, %protocol://%host:%port%uri/SAMLAwareServlet=iplanet-am-naming-samlawareservlet-url, com.sun.identity.authentication.server.AuthXMLHandler=iplanet-am-naming-auth-class, com.sun.identity.policy.remote.PolicyRequestHandler=iplanet-am-naming-policy-class, 01=iplanet-am-platform-site-id-list, %protocol://%host:%port%uri/loggingservice=iplanet-am-naming-logging-url, %protocol://%host:%port%uri/jaxrpc/=iplanet-am-naming-jaxrpc-url, %protocol://%host:%port%uri/FSAssertionManagerServlet/FSAssertionManagerIF=iplanet-am-naming-fsassertionmanager-url, %protocol://%host:%port%uri/identity/=sun-naming-idsvcs-rest-url, %protocol://%host:%port%uri/identityservices/=sun-naming-idsvcs-jaxws-url, %protocol://%host:%port%uri/sts/mex=sun-naming-sts-mex-url, %protocol://%host:%port%uri/profileservice=iplanet-am-naming-profile-url, %protocol://%host:%port%uri/SAMLPOSTProfileServlet=iplanet-am-naming-samlpostservlet-url, %protocol://%host:%port%uri/SAMLSOAPReceiver=iplanet-am-naming-samlsoapreceiver-url, com.sun.identity.log.service.LogService=iplanet-am-naming-logging-class, %protocol://%host:%port%uri/sessionservice=iplanet-am-naming-session-url, %protocol://%host:%port%uri/policyservice=iplanet-am-naming-policy-url, iplanet-am-naming-service=serviceObjectClasses, 01|01=iplanet-am-platform-lb-cookie-value-list, com.iplanet.dpro.session.service.SessionRequestHandler=iplanet-am-naming-session-class} amNaming:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] Site Id Table -> {01=01} amAgentCore:06/01/2011 03:10:02:864 PM VET: Thread[main,5,main] ERROR: ApplicationSSOTokenProvider.getApplicationSSOToken(): Failed to get Application SSO Token with exception : com.sun.identity.authentication.spi.AuthLoginException: Failed to create new Authentication Context: null at com.sun.identity.authentication.AuthContext.login(AuthContext.java:674) at com.sun.identity.authentication.AuthContext.login(AuthContext.java:598) at com.sun.identity.authentication.AuthContext.login(AuthContext.java:401) at com.sun.identity.agents.common.ApplicationSSOTokenProvider.getApplicationSSOToken(ApplicationSSOTokenProvider.java:64) at com.sun.identity.agents.arch.AgentConfiguration.setAppSSOToken(AgentConfiguration.java:616) at com.sun.identity.agents.arch.AgentConfiguration.bootStrapClientConfiguration(AgentConfiguration.java:722) at com.sun.identity.agents.arch.AgentConfiguration.initializeConfiguration(AgentConfiguration.java:1140) at com.sun.identity.agents.arch.AgentConfiguration.<clinit>(AgentConfiguration.java:1579) at com.sun.identity.agents.arch.Manager.<clinit>(Manager.java:643) at com.sun.identity.agents.tomcat.v6.AmTomcatRealm.<clinit>(AmTomcatRealm.java:64) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206) at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153) at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1356) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642) at org.apache.catalina.startup.Catalina.load(Catalina.java:524) at org.apache.catalina.startup.Catalina.load(Catalina.java:562) 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.catalina.startup.Bootstrap.load(Bootstrap.java:261) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Any idea about problem? Try to install both tomcat on the same machine and same thing happens :(

    ForgeRock JIRA | 6 years ago | mpardo
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    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.iplanet.services.naming.service.NamingService.updateNamingTable()
    2. com.iplanet.services
      WebtopNaming.getServiceAllURLs
      1. com.iplanet.services.naming.service.NamingService.updateNamingTable(NamingService.java:202)
      2. com.iplanet.services.naming.service.NamingService.updateNamingTable(NamingService.java:190)
      3. com.iplanet.services.naming.service.NamingService.getNamingTable(NamingService.java:178)
      4. com.iplanet.services.naming.WebtopNaming.updateNamingTable(WebtopNaming.java:644)
      5. com.iplanet.services.naming.WebtopNaming.getNamingProfile(WebtopNaming.java:560)
      6. com.iplanet.services.naming.WebtopNaming.getServiceAllURLs(WebtopNaming.java:264)
      6 frames
    3. com.sun.identity
      SMSJAXRPCObject.<init>
      1. com.sun.identity.jaxrpc.JAXRPCUtil.getValidServerURL(JAXRPCUtil.java:193)
      2. com.sun.identity.jaxrpc.JAXRPCUtil.getValidURL(JAXRPCUtil.java:108)
      3. com.sun.identity.jaxrpc.SOAPClient.call(SOAPClient.java:206)
      4. com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:377)
      5. com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:355)
      6. com.sun.identity.jaxrpc.SOAPClient.send(SOAPClient.java:320)
      7. com.sun.identity.sm.jaxrpc.SMSJAXRPCObject.<init>(SMSJAXRPCObject.java:88)
      7 frames
    4. Java RT
      NativeConstructorAccessorImpl.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      2 frames