mace-opensaml-users - issue with opensaml
Subject: OpenSAML user discussion
List archive
- From:
- To:
- Subject: issue with opensaml
- Date: Fri, 18 Feb 2005 02:42:31 -0500 (EST)
Hello I get this error in the browser while building a Soap message inside a
web service:
JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught exception while
handling request: java.lang.NullPointerException)
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:560)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1555)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:341)
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828)
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:758)
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1178)
javax.xml.parsers.SAXParser.parse(Unknown Source)
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
org.apache.axis.client.Call.invokeEngine(Call.java:2583)
org.apache.axis.client.Call.invoke(Call.java:2553)
org.apache.axis.client.Call.invoke(Call.java:2248)
org.apache.axis.client.Call.invoke(Call.java:2171)
org.apache.axis.client.Call.invoke(Call.java:1691)
org.apache.jsp.ArtifactReceiver_jsp._jspService(ArtifactReceiver_jsp.java:84)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:268)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:258)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:205)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
The server log reports this error:
18-feb-2005 8.34.46 com.sun.xml.rpc.server.StreamingHandler handle
GRAVE: null
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:61)
at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
at java.util.Properties.load(Properties.java:266)
at org.opensaml.SAMLConfig.loadProperties(Unknown Source)
at org.opensaml.SAMLConfig.<init>(Unknown Source)
at org.opensaml.SAMLConfig.instance(Unknown Source)
at org.opensaml.SAMLObject.<init>(Unknown Source)
at org.opensaml.SAMLSignedObject.<init>(Unknown Source)
at org.opensaml.SAMLRequest.<init>(Unknown Source)
at org.luca.saml.ResponderWSImpl.samlResponse(ResponderWSImpl.java:38)
at
org.luca.saml.ResponderWS_Tie.invoke_samlResponse(ResponderWS_Tie.java:54)
at
org.luca.saml.ResponderWS_Tie.processingHook(ResponderWS_Tie.java:124)
at
com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:321)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:443)
at
com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:534)
18-feb-2005 8.34.46 com.sun.xml.rpc.server.StreamingHandler handle
GRAVE: JAXRPCTIE01: caught exception while handling request:
java.lang.NullPointerException
java.lang.NullPointerException
at java.io.Reader.<init>(Reader.java:61)
at java.io.InputStreamReader.<init>(InputStreamReader.java:80)
at java.util.Properties.load(Properties.java:266)
at org.opensaml.SAMLConfig.loadProperties(Unknown Source)
at org.opensaml.SAMLConfig.<init>(Unknown Source)
at org.opensaml.SAMLConfig.instance(Unknown Source)
at org.opensaml.SAMLObject.<init>(Unknown Source)
at org.opensaml.SAMLSignedObject.<init>(Unknown Source)
at org.opensaml.SAMLRequest.<init>(Unknown Source)
at org.luca.saml.ResponderWSImpl.samlResponse(ResponderWSImpl.java:38)
at
org.luca.saml.ResponderWS_Tie.invoke_samlResponse(ResponderWS_Tie.java:54)
at
org.luca.saml.ResponderWS_Tie.processingHook(ResponderWS_Tie.java:124)
at
com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:321)
at
com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:443)
at
com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:102)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
at java.lang.Thread.run(Thread.java:534)
I placed correctly endorsed libraries (dom3-xercesImpl-2.5.0.jar and
dom3-xml-apis-2.5.0.jar) both inside %JAVA_HOME%\jre\lib\endorsed and inside
%CATALINA_HOME%\common\endorsed.
If a build a SOAP message in a jsp page or in a stand alone java class I have
no errors, but if I try to build a SOAP message inside the code of a web
service I get the errors above.
My configuration is: j2sdk1.4.2_03 tomcat 5 and jwsdp-1.5.
Thank you in advance for a response.
Luca Albertazzi
- issue with opensaml, lalbertazzi, 02/18/2005
- RE: issue with opensaml, Scott Cantor, 02/18/2005
Archive powered by MHonArc 2.6.16.