Hi,
Since I’m using webMethods 4.5, my adapter doesn’t work anymore.
In fact in my ScriptInvoke() I publish document by myself using :
AdapterScriptAcess.publishEvent(BrokerEvent event)
It works fine with webMethods 4.0 but with 4.5 I’ve got :
java.lang.NullPointerException
at com.wm.adapter.intdevkit.AdapterMain.setEnvelope(AdapterMain.java:3360)
at com.wm.adapter.intdevkit.AdapterMain.setEnvelope(AdapterMain.java, Compiled Code)
at com.wm.adapter.intdevkit.Operation.publishEvents(Operation.java:1146)
at COM.activesw.adapter.MyAdapter.MyAdapterTemplate.scriptInvoke(MyAdapterTemplate.java, Compiled Code)
at com.wm.adapter.intdevkit.Operation$1.run(Operation.java:559)
at java.security.AccessController.doPrivileged(Native Method)
at com.wm.adapter.intdevkit.Operation.doPrivileged(Operation.java:546)
at com.wm.adapter.intdevkit.Operation.scriptInvoke(Operation.java:416)
at com.wm.adapter.intdevkit.AdapterMain.processPublication1(AdapterMain.java, Compiled Code)
at com.wm.adapter.intdevkit.AdapterMain.processPublication(AdapterMain.java:1488)
at com.wm.adapter.intdevkit.ThreadRunner.run(ThreadRunner.java, Compiled Code)
I checked my BrokerEvent, all is fine (it seems !), not null…
If someone has an idea… Thanks in advance
Matthieu Boujonnier
mboujonnier@slb.com