I’m trying to call a java class from a TPS proc used in an UPOC read context like this :
set dispList [cljTPS {MODE $mode} {CONTEXT $ctx} {MSGID NULL} {ARGS {{CLASS testJava}}}]
But this error occurs :
[pd :pdtd:ERR /0: conn_3:10/25/2010 15:49:01] Tcl error:
msgId = none
proc = ‘test’
args = ”
result = ‘java.lang.NullPointerException’
errorInfo: ‘
java.lang.NullPointerException
at com.quovadx.cloverleaf.upoc.CloverEnv.processTPS(CloverEnv.java:1268)
invoked from within
“processTPS “$instanceMap($__userArgs) $context $mode $mh””
(procedure “cljTPS” line 41)
invoked from within
“cljTPS {MODE $mode} {CONTEXT $ctx} {MSGID NULL} {ARGS {{CLASS testJava}}}”
(”time” arm line 6)
invoked from within
“switch -exact — $mode {
start {
# Perform special init functions
# N.B.: there may or may not be a MSGID key in args
…”
(procedure “test” line 16)
invoked from within
“test {CONTEXT pdupoc_read} {ARGS {}} {MODE time} {VERSION 3.0}”‘
Does anybody have any idea how to call my java class ?
Many thanks,
Aurelien