You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ne...@wellsfargo.com on 2007/06/06 16:25:44 UTC

AXIS 1.4 Null Pointer Exception error

 

I turn on debugger and saw following error.
Anyone have any idea to avoid it. (note: AXIS1.4 seems work even you
have these error).


DEBUG - operation.getNumParams()=1
DEBUG - getParamList number of params: 1
DEBUG - Enter: Call::invoke(RPCElement)
DEBUG - org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
DEBUG - Attachment support is enabled?  true
DEBUG - Failed to set EntityResolver to null on DocumentBuilder
java.lang.NullPointerException
	at
weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntit
yResolver.java:61)
	at
weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(RegistryDocu
mentBuilder.java:168)
	at
org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(XMLUtils.java:252)
	at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:342)
	at
org.apache.axis.message.SOAPDocumentImpl.<init>(SOAPDocumentImpl.java:70
)
	at org.apache.axis.SOAPPart.<init>(SOAPPart.java:1020)
	at org.apache.axis.Message.setup(Message.java:377)
	at org.apache.axis.Message.<init>(Message.java:246)
	at org.apache.axis.client.Call.invoke(Call.java:2425)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at
com.wellsfargo.service.provider.ecpr.prototype._2007.PrototypeSoapBindin
gStub.myOperation(PrototypeSoapBindingStub.java:975)
	at
com.wellsfargo.ecpr.prototype.PrototypeClient.main(PrototypeClient.java:
129)
DEBUG - Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
DEBUG - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
DEBUG - Setting current message form to: FORM_SOAPENVELOPE
(currentMessage is now org.apache.axis.message.SOAPEnvelope)
DEBUG - Exit: SOAPPart ctor()
DEBUG - org.apache.axis.i18n.resource::handleGetObject(addBody00)
DEBUG - Adding body element to message...
DEBUG - Enter: Call::invoke()
DEBUG - MessageContext: setTargetService(prototype2007)
DEBUG - org.apache.axis.i18n.resource::handleGetObject(noService10)
DEBUG - Exception: 
org.apache.axis.ConfigurationException: No service named prototype2007
is available
org.apache.axis.ConfigurationException: No service named prototype2007
is available
	at
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:
233)
	at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
	at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
	at org.apache.axis.client.Call.invoke(Call.java:2690)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at
com.wellsfargo.service.provider.ecpr.prototype._2007.PrototypeSoapBindin
gStub.myOperation(PrototypeSoapBindingStub.java:975)
	at
com.wellsfargo.ecpr.prototype.PrototypeClient.main(PrototypeClient.java:
129)

	at
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:
233)
	at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
	at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
	at org.apache.axis.client.Call.invoke(Call.java:2690)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at
com.wellsfargo.service.provider.ecpr.prototype._2007.PrototypeSoapBindin
gStub.myOperation(PrototypeSoapBindingStub.java:975)
	at
com.wellsfargo.ecpr.prototype.PrototypeClient.main(PrototypeClient.java:
129)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: AXIS 1.4 Null Pointer Exception error

Posted by Martin Gainty <mg...@hotmail.com>.
properties.xml
<property name="javax.xml.parsers.DocumentBuilderFactory" 
value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
does the class exist in %AXIS_HOME%dir /s\lib\endorsed\xercesImpl-*.jar

does the class exist in %BEA_HOME%\jrockit81*\console\lib

Can you post the relevant bits of code ..difficult to debug with just a few 
error messages

HTH
Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: <Ne...@wellsfargo.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, June 06, 2007 10:25 AM
Subject: AXIS 1.4 Null Pointer Exception error




I turn on debugger and saw following error.
Anyone have any idea to avoid it. (note: AXIS1.4 seems work even you
have these error).


DEBUG - operation.getNumParams()=1
DEBUG - getParamList number of params: 1
DEBUG - Enter: Call::invoke(RPCElement)
DEBUG - org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
DEBUG - Attachment support is enabled?  true
DEBUG - Failed to set EntityResolver to null on DocumentBuilder
java.lang.NullPointerException
at
weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntit
yResolver.java:61)
at
weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(RegistryDocu
mentBuilder.java:168)
at
org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(XMLUtils.java:252)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:342)
at
org.apache.axis.message.SOAPDocumentImpl.<init>(SOAPDocumentImpl.java:70
)
at org.apache.axis.SOAPPart.<init>(SOAPPart.java:1020)
at org.apache.axis.Message.setup(Message.java:377)
at org.apache.axis.Message.<init>(Message.java:246)
at org.apache.axis.client.Call.invoke(Call.java:2425)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.wellsfargo.service.provider.ecpr.prototype._2007.PrototypeSoapBindin
gStub.myOperation(PrototypeSoapBindingStub.java:975)
at
com.wellsfargo.ecpr.prototype.PrototypeClient.main(PrototypeClient.java:
129)
DEBUG - Enter: SOAPPart ctor(FORM_SOAPENVELOPE)
DEBUG - org.apache.axis.i18n.resource::handleGetObject(setMsgForm)
DEBUG - Setting current message form to: FORM_SOAPENVELOPE
(currentMessage is now org.apache.axis.message.SOAPEnvelope)
DEBUG - Exit: SOAPPart ctor()
DEBUG - org.apache.axis.i18n.resource::handleGetObject(addBody00)
DEBUG - Adding body element to message...
DEBUG - Enter: Call::invoke()
DEBUG - MessageContext: setTargetService(prototype2007)
DEBUG - org.apache.axis.i18n.resource::handleGetObject(noService10)
DEBUG - Exception:
org.apache.axis.ConfigurationException: No service named prototype2007
is available
org.apache.axis.ConfigurationException: No service named prototype2007
is available
at
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:
233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
at org.apache.axis.client.Call.invoke(Call.java:2690)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.wellsfargo.service.provider.ecpr.prototype._2007.PrototypeSoapBindin
gStub.myOperation(PrototypeSoapBindingStub.java:975)
at
com.wellsfargo.ecpr.prototype.PrototypeClient.main(PrototypeClient.java:
129)

at
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:
233)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:756)
at org.apache.axis.client.Call.invoke(Call.java:2690)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.wellsfargo.service.provider.ecpr.prototype._2007.PrototypeSoapBindin
gStub.myOperation(PrototypeSoapBindingStub.java:975)
at
com.wellsfargo.ecpr.prototype.PrototypeClient.main(PrototypeClient.java:
129)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org