Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to solve java.lang.illegalArgumentException : unrecognized defscope -1 in dynamic view object cr

Capil VermaApr 28 2020 — edited Apr 29 2020

Hi Team,

I am creating dynamic view object  using ADF 12.2.1.4 version . while creating dynamic view i am setting some bind variable using setTransientExpression .

but while finding attributedef i am getting def out of scope exception .

could any one help me on this how to set bind variable at runtime using transient expression .

below is the blog where i get the reference to creating dynamic view  .

After setJava Type i am setting lovBindVar.setTransientExpression("return source.getVariableValue("BindVariable")");

http://andrejusb.blogspot.com/2012/11/adf-generator-for-dynamic-adf-bc-and.html

Comments
Post Details
Added on Apr 28 2020
9 comments
205 views