You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Basically, I used a tBufferOutput component in the job reference by tRunJob_1, and I'm trying to set the values that were passed back to be the new values of the related context variable, and I'm getting the error below. (pics 1-6)
the code in tJava_1
context.OldFile=row3.OldFile; context.mtime=row3.mtime; context.mtime_string=row3.mtime_string; context.NewFile=row3.NewFile; context.RejectFile=row3.RejectFile;
the resulting error
Starting job BBdataTransform at 17:57 16/07/2008.
Exception in component tRunJob_2
java.lang.NullPointerException
at routines.system.RuntimeUtils.getRuntimeType(RuntimeUtils.java:32)
at routines.system.RuntimeUtils.isDateType(RuntimeUtils.java:22)
at routines.system.RuntimeUtils.tRunJobConvertContext(RuntimeUtils.java:43)
at bbfiletransform.bbdatatransform_0_8.BBdataTransform.tRunJob_2Process(BBdataTransform.java:1771)
at bbfiletransform.bbdatatransform_0_8.BBdataTransform.tRunJob_1Process(BBdataTransform.java:1725)
at bbfiletransform.bbdatatransform_0_8.BBdataTransform.runJobInTOS(BBdataTransform.java:1992)
\\SBADEVSMF.smithbreeden.dev\odyssey\imdi\bloomberg\BB_Stock_206877_StockAll_213919_BloombergDL.src|1216080258000|Mon Jul 14 20:04:18 EDT 2008|\\SBADEVSMF.smithbreeden.dev\odyssey\imdi\bloomberg\BB_Stock_206877_StockAll_213919_BloombergDL__Reformat.txt|\\SBADEVSMF.smithbreeden.dev\odyssey\imdi\bloomberg\BB_Stock_206877_StockAll_213919_BloombergDL__REJECT.txt
at bbfiletransform.bbdatatransform_0_8.BBdataTransform.main(BBdataTransform.java:1846)
moment pid root_pid father_pid project job context priority type origin message code
[tLogRow_1] 2008-07-16 17:57:53|jYplGI|jYplGI|jYplGI|BBFILETRANSFORM|BBdataTransform|Default|6|Java Exception|tRunJob_2||1
Job BBdataTransform ended at 17:57 16/07/2008. [exit code=1]
but if I set the parameters in tRunJob_2 to the values below (pic 7), then the job runs fine, so the problem must be my code in tJava_1...
Parameter Values
OldFile row3.OldFile
NewFile row3.NewFile
Related topics:
[Forum, topic 2914] Dynamically assign values to a job's context variables
Last edited by strpdsnk (2008-07-17 00:46:53)
Offline
Hello strpdsnk
the code in tJava_1
Using the tJavaRow replace tJava.
Best regards
shong
Online
Pages: 1