在ODI 12.2.1.4中分配变量时出错:在12.2.1.3中的Java代码正常运行。

huangapple 未分类评论42阅读模式
英文:

Error assigning variable in ODI 12.2.1.4: java code works in 12.2.1.3

问题

有一个使用Java BeanShell技术的过程,执行以下操作:

**<@
String res="<?=p_valuexx?>";
@>**

该过程返回许多变量p_xxx(以及上面包括的一个变量)。

ODI中的下一步是变量赋值:

**<@=res@>**

这会失败,并显示以下错误消息:
oracle.odi.runtime.agent.exception.ExecutionEngineException: com.sunopsis.tools.core.exception.SnpsSimpleMessageException:
ODI-17517: 任务解释期间发生错误。
任务:5
com.sunopsis.tools.core.exception.SnpsSimpleNLSMessageException: ODI-17810: BeanShell评估期间发生错误:BeanShell脚本错误:
来源文件:内联评估内容:out.print(res) ; ;'' : 未定义的参数:res :在行:1中 :在文件:内联评估中 of: out.print(res) ; ;'' :( res )
BSF信息:null,位于行:0,列:columnNo,预执行代码:
相同的代码在12.2.1.3中正常工作。

英文:

There is a procedure with Java BeanShell technology that does the following:

**<@
String res="<?=p_valuexx?>";
@>**

Procedure returns lots of variables p_xxx (and one above including).

The next step in ODI does the variable assignment:

**<@=res@>**

this fails with the following error message:
oracle.odi.runtime.agent.exception.ExecutionEngineException: com.sunopsis.tools.core.exception.SnpsSimpleMessageException:
ODI-17517: Error during task interpretation.
Task: 5
com.sunopsis.tools.core.exception.SnpsSimpleNLSMessageException: ODI-17810: Error during BeanShell evaluation: BeanShell script
error: Sourced file: inline evaluation of: out.print(res) ; ;'' :
Undefined argument: res : at Line: 1 : in file: inline evaluation
of:
out.print(res) ; ;'' : ( res )
BSF info: null at line: 0 column: columnNo, Pre-execution code:
The same code is working just fine in 12.2.1.3

huangapple
  • 本文由 发表于 2020年4月5日 10:22:10
  • 转载请务必保留本文链接:https://java.coder-hub.com/61037241.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定