[resolved] java.lang.ClassCastException on tJava

Seventeen Stars

[resolved] java.lang.ClassCastException on tJava

hi,
I've got a simple job (@screenshhot)
And when I try to read "tFileOutputPositional_1_NB_LINE" , i've got java Exception :
Exception in component tJava_1
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
at production_etbs_integration.fac763_to_shema_unique_0_1.fac763_to_shema_unique.tJava_1Process(fac763_to_shema_unique.java:4461)
at production_etbs_integration.fac763_to_shema_unique_0_1.fac763_to_shema_unique.tFileInputPositional_1Process(fac763_to_shema_unique.java:4427)
at production_etbs_integration.fac763_to_shema_unique_0_1.fac763_to_shema_unique.runJobInTOS(fac763_to_shema_unique.java:4610)
at production_etbs_integration.fac763_to_shema_unique_0_1.fac763_to_shema_unique.main(fac763_to_shema_unique.java:4526)

A debug 's told me that value = null !
Its occured only with this key map .
any problem if I try to read key "tFileInputPositional_1_NB_LINE"
Do the test on trigger 'on component ok " from output file and "on subjob ok" from input file
is this variable reachable !?
or is it a bug ...
Don't understand reason why !?
thanks for your help

Accepted Solutions
Seventeen Stars

Re: [resolved] java.lang.ClassCastException on tJava

ok it's a "little" bug on completion for tFileOutputPositional_1_NB_LINE
((String)globalMap.get("tFileOutputPositional_1_NB_LINE"))

when
((Integer)globalMap.get("tFileOutputPositional_1_NB_LINE"))

... is expected !!
++
bug 8330

All Replies
Seventeen Stars

Re: [resolved] java.lang.ClassCastException on tJava

ok it's a "little" bug on completion for tFileOutputPositional_1_NB_LINE
((String)globalMap.get("tFileOutputPositional_1_NB_LINE"))

when
((Integer)globalMap.get("tFileOutputPositional_1_NB_LINE"))

... is expected !!
++
bug 8330
One Star

Re: [resolved] java.lang.ClassCastException on tJava

Thank