|
From: Patrick Y. <kc...@ce...> - 2005-05-17 06:20:16
|
Is there incompatibility in the SAAJ libraries? -- patrick Wahid Muhammad wrote: > Hi, > > > > I have configured Hermes version 1.0.0.0 on my machine and have run > the loopback.bat and monitor.bat files. Both seem to work without any > errors. However, when I come to run the LoopBack.java in code (using > JBuilder 2005) I get the following error: > > > > /Info: using property file in C:\Documents and > Settings\wahid\msh_client.properties.xml/ > > // > > /java.lang.NullPointerException/ > > / at > com.sun.xml.messaging.saaj.util.NamespaceContextIterator.findNext(NamespaceContextIterator.java:58)/ > > / at > com.sun.xml.messaging.saaj.util.NamespaceContextIterator.hasNext(NamespaceContextIterator.java:77)/ > > / at > com.sun.xml.messaging.saaj.soap.impl.ElementImpl$1.findNext(ElementImpl.java:348)/ > > / at > com.sun.xml.messaging.saaj.soap.impl.ElementImpl$1.hasNext(ElementImpl.java:358)/ > > / at > hk.hku.cecid.phoenix.message.packaging.ExtensionElementImpl.addAttribute(ExtensionElementImpl.java:313)/ > > / at > hk.hku.cecid.phoenix.message.packaging.ExtensionElementImpl.addAttribute(ExtensionElementImpl.java:186)/ > > / at > hk.hku.cecid.phoenix.message.packaging.Reference.setHref(Reference.java:374)/ > > / at > hk.hku.cecid.phoenix.message.packaging.Manifest.addReference(Manifest.java:112)/ > > / at > hk.hku.cecid.phoenix.message.packaging.EbxmlMessage.addPayloadContainer(EbxmlMessage.java:1308)/ > > / at mhs.LoopBack.run(LoopBack.java:74)/ > > / at mhs.LoopBack.main(LoopBack.java:32)/ > > // > > I can't understand why this is happening, especially when the > LoopBack.bat file works. I have configured the JBuilder project to get > the exact same libraries as the bat file, and the MSH client log does > not return an error either. > > > > I have tried everything but have had no luck, any help would be > appreciated. > > > > Thanks > > > > Wahid > > > |