You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Krishna Vemuri <kr...@electroneconomy.com> on 2001/06/15 02:03:40 UTC
FW: Problems with Xerces version 1.3/1.3.x and upper versions
If you have already received this message, I am really sorry to resend
this, for some reason the emails that I have been sending external have
not reached the recepients so I am resending this message.
> -----Original Message-----
> From: Krishna Vemuri
> Sent: Wednesday, June 13, 2001 4:49 PM
> To: 'xerces-j-dev@xml.apache.org'
> Subject: Problems with Xerces version 1.3/1.3.x and upper
> versions
>
> Hey Guys,
>
> One of the pieces of our application is to convert Java Objects to
> their XML representations, while we were using Xerces-1.2.3 jar, the
> converions from a java object to its equivalent representation in XML
> were taking place perfectly, we upgraded to Xerces 1.3/1.3.1 we got a
> NullPointerException, I tried using Xerces 1.4 same exception was
> thrown again, when I rolled back to Xerces 1.2.3 jar, there were no
> exceptions anymore everything went absolutely fine, I am copying the
> exception that took place and also am attaching the Class in which
> this exception takes place, if you guys can take a look at this
> exception that would be great.
>
> </CustomerOrder>, submitordercommerceflow, TMOrder, 2] . . .ID:P106002
> DEBUG 2001-6-13 22:57:3:163 . . .electron/10.1.1.50 OpenVan version
> RC3.2 . . .invoked by
> electroneconomy.openvan.commerceflow.converter.XMLConverter . .
> .@@@@@@@@ XMLConverter Initialized @@@@@@@@@@ . . .ID:P106002
> DEBUG 2001-6-13 22:57:3:164 . . .electron/10.1.1.50 OpenVan version
> RC3.2 . . .invoked by
> electroneconomy.openvan.commerceflow.converter.XMLConverter . . .the
> JNDI Bind Name is : ee.openvan.openvan.conversionstrategy.TMOrder . .
> .ID:P106002
> DEBUG 2001-6-13 22:57:3:185 . . .electron/10.1.1.50 OpenVan version
> RC3.2 . . .invoked by
> electroneconomy.common.openvan.repository.JNDIDOMRepository . . .Got
> new instance of resource 'ee.peerproperties.dom.template.order'from
> JNDI . . .ID:P106002
> DEBUG 2001-6-13 22:57:3:165 . . .electron/10.1.1.50 OpenVan version
> RC3.2 . . .invoked by
> electroneconomy.common.openvan.repository.JNDIDOMRepository . .
> .Cached instance of object ee.peerproperties.dom.template.order does
> not exist, will get new one . . .ID:P106002
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: ] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: submitordercommerceflow] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: ] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: ] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: genericwarehouse] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: openvan] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: ] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : [#text: ] J : 0
> @@@@@@ #### Lenght is : 1
> @@@@@@ #### ValueNode is : null J : 0
> java.lang.NullPointerException
> at
> com.electroneconomy.common.util.DOMtoXML.getXML(DOMtoXML.java:66)
> at
> com.electroneconomy.common.util.DOMtoXML.getXML(DOMtoXML.java:94)
> at
> com.electroneconomy.common.util.DOMtoXML.getXML(DOMtoXML.java:94)
> at
> com.electroneconomy.common.util.DOMtoXML.getXML(DOMtoXML.java:31)
> at
> electroneconomy.commerceflow.conversionstrategy.SubmitOrderXMLConversi
> onStrategy.convertBOtoXML(SubmitOrderXMLConversionStrategy.java:860)
> at
> electroneconomy.openvan.commerceflow.converter.XMLConverter.toXML(XMLC
> onverter.java:500)
> at
> electroneconomy.actions.openvan.common.SendMessageA.action(SendMessage
> A.java:180)
> at
> electroneconomy.openvan.actions.Action.execute(Action.java:146)
> at
> electroneconomy.openvan.actions.ActionRepository.executeAction(ActionR
> epository.java:99)
> at
> electroneconomy.openvan.processes.Process.executeLocalAction(Process.j
> ava:402)
> at
> electroneconomy.processes.openvan.MsgWarehouseCaptP.process(MsgWarehou
> seCaptP.java:49)
> at
> electroneconomy.openvan.processes.Process.execute(Process.java:494)
> at
> electroneconomy.openvan.commerceflow.CommerceFlow.executeNode(Commerce
> Flow.java:439)
> at
> electroneconomy.openvan.commerceflow.CommerceFlow.execute(CommerceFlow
> .java:338)
> at
> electroneconomy.openvan.commerceflow.CommerceFlow.executeFlow(Commerce
> Flow.java:126)
> at
> electroneconomy.openvan.commerceflow.CommerceFlowInitiator.executeComm
> erceFlow(CommerceFlowInitiator.java:193)
> at
> electroneconomy.openvan.commerceflow.CommerceFlowInitiator.initiateCom
> merceFlow(CommerceFlowInitiator.java:119)
> at
> electroneconomy.common.GenericReceiver.onMessage(GenericReceiver.java:
> 32)
> at
> electroneconomy.common.OPMessageConsumer.run(OPMessageConsumer.java:10
> 8)
> at java.lang.Thread.run(Thread.java:479)
> electroneconomy.businessdataobject.MessagingNotSupportedException:
> Passed in BusinessDataObject is not messageable BusinessDataObject
> java.lang.NullPointerException
> at java.lang.Throwable.fillInStackTrace(Native Method)
> at java.lang.Throwable.<init>(Throwable.java:94)
> at java.lang.Exception.<init>(Exception.java:42)
> at
> electroneconomy.businessdataobject.MessagingNotSupportedException.<ini
> t>(MessagingNotSupportedException.java:47)
> at
> electroneconomy.openvan.commerceflow.converter.XMLConverter.toXML(XMLC
> onverter.java:505)
> at
> electroneconomy.actions.openvan.common.SendMessageA.action(SendMessage
> A.java:180)
> at
> electroneconomy.openvan.actions.Action.execute(Action.java:146)
> at
> electroneconomy.openvan.actions.ActionRepository.executeAction(ActionR
> epository.java:99)
> at
> electroneconomy.openvan.processes.Process.executeLocalAction(Process.j
> ava:402)
> at
> electroneconomy.processes.openvan.MsgWarehouseCaptP.process(MsgWarehou
> seCaptP.java:49)
> at
> electroneconomy.openvan.processes.Process.execute(Process.java:494)
>
>
> DOMtoXML class:
>
> <<DOMtoXML.txt>>
>
> thanks,
> Krishna
>
>
> Krishna Vemuri
> Software Engineer
> Electron Economy, Inc.
> www.electroneconomy.com
> kvemuri@electroneconomy.com
> 408.873.3270 x3155
> 408.873.3279
>