|
From: Wahid M. <wa...@ph...> - 2005-05-10 14:04:26
|
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(NamespaceC
ontextIterator.java:58)
at
com.sun.xml.messaging.saaj.util.NamespaceContextIterator.hasNext(NamespaceCo
ntextIterator.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(Ext
ensionElementImpl.java:313)
at
hk.hku.cecid.phoenix.message.packaging.ExtensionElementImpl.addAttribute(Ext
ensionElementImpl.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:1
12)
at
hk.hku.cecid.phoenix.message.packaging.EbxmlMessage.addPayloadContainer(Ebxm
lMessage.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
|