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!

Cannot convert class oracle.jbo.domain.Number to class java.lang.Long in EL

Rudy MeyerSep 24 2013 — edited Sep 24 2013

I have this current error:

<UIXRegion> <_warn> Error processing viewId: /frameworks-designer-task-flow/Main URI: /FrameworksDesignerMain.jsff actual-URI: /EnterpriseProcessExecutionSchedules.jsff.

java.lang.IllegalArgumentException: Cannot convert 2 of type class oracle.jbo.domain.Number to class java.lang.Long

    at com.sun.el.lang.ELSupport.coerceToNumber(Unknown Source)

    at com.sun.el.lang.ELSupport.equals(Unknown Source)

    at com.sun.el.parser.AstNotEqual.getValue(Unknown Source)

    at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)

    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.isDisabled(LabeledInputRenderer.java:285)

My question how I go about finding it within my jsff page?  I see it is on a disabled property but I don't know which one and there are many on this page.  I think it is one that looks like this: disabled="#{bindings.PGSchedType.inputValue ne 5}".  Should my EL expression look different?

Thank you.

Rudy

JDev 11.1.2.4.0

This post has been answered by Saif Khan on Sep 24 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2013
Added on Sep 24 2013
1 comment
1,498 views