"" Type = "java.math.BigDecimal type =" Oracle.jbo.domain.Number "VS".

Hi all! I need some explanation about types: Type = "oracle.jbo.domain.Number"VS Type = "java.math.BigDecimal"

I have variable enableEditing:
 this.enableEditing = this.getSelectedTaks().getAttribute("TaksacijasPk").equals(taksId); 
If attribute EO TaksacijasPk is with the type "oracle.jbo.domain.Number" then all work with above the line, but if this attribute is of type "Java.Math.BigDecimal" then code above line do not work. To fix it, I need to add toString() operation in the line of code:
 this.enableEditing = this.getSelectedTaks().getAttribute("TaksacijasPk").toString().equals(taksId); 
Maybe the question is, why in one case, I have to add toString() operation and in others not?

Best regards, Debuger!

Javadoc for the BigDecimal said

Unlike compareTo, this method takes two objects BigDecimal equal only if they are equal in value and scale (so 2.0 is not equal to 2.00 compared to this method).

You try to compare a BigDecimal/number for a taskId (which we don't have no idea what class it is).

Suppose that taskId is a string.

. Equals() on a number will simply convert the string to a number and check if the values are equal.

. Equals() on a BigDecimal allows you to convert the string to a BigDecimal by applying the rules described in the BigDecimal (String) constructor, to-wit:

The scale of the BigDecimal returned will be the number of digits in the fraction, or zero if the string contains no comma, subject to adjustment for any Exhibitor; If the string contains an exponent, the exponent is subtracted from the scale. The value of the scale that results must be between Integer.MIN_VALUE and Integer.MAX_VALUE, inclusively.

My conjecture only (since you don't seem to be ready to use the debugger and check), is that you have a scale on your BigDecimal which does not match the scale on the BigDecimal which is built from the identifier.

If I had to try to understand the difference between the two, I'd read the docs. Maybe even create a few test cases. Maybe to run my code in the debugger to see what that my BigDecimals and numbers looked like

Tags: Java

Similar Questions

  • Trying to force a value of the type 'oracle.jbo.domain.Number' type 'java.

    Hi, I am very new in the world of JDeveloper and I get the following error:
    Trying to force a value of the type 'oracle.jbo.domain.Number' to type 'java.lang.Long.

    I'm trying to multiply two input values, say, 3.5 and 1000.
    It corresponds to a field in the commission which can be modified by the end user (this is why I need to store the value). The arithmetic operation is just a "recommendation" of the value that the end user will be finally type.

    In the jspx (which is using PPR) the button submit, I have the following code in the determination of the value of the field:
    #{bindings.CommProv.inputValue * links.} Monto.inputValue}

    If someone could give any help on this, I would really appreciate it.

    Kind regards
    Max.

    Max,

    Try this:
    #{bindings.CommProv.inputValue.bigDecimalValue * links.} Monto.inputValue.bigDecimalValue}

    This will convert your oracle.jbo.domain.Number values to a form that can be multiplied.

    Hope this helps
    Blaise

  • definition of a binding attribute of type oracle.jbo.domain.Number fails (id of choice)

    Hello

    here a piece of beans support code:

    oracle.jbo.domain.Number ActivityResultId = new oracle.jbo.domain.Number (row.getAttribute("ActivityResultId").toString ());
    to bindings.get ("ActivityResultId") = (AttributeBinding);
    System.out.println ("cbResult_action ActivityResultId =" + ActivityResultId); Ok
    at.setInputValue (ActivityResultId);


    last statement causes error: null
    the attribute ActivityResultId is this SelectOneChoice:

    < af:selectOneChoice value = "#{bindings.pActivityResultId.inputValue} '"
    required = "true".
    shortDesc = "#{bindings.pActivityResultId.hints.tooltip} '"
    ID = binding = "#{CreateDepartmentPageHelper.soc11"soc11"} '"
    autoSubmit = 'true '.
    valueChangeListener = "#{CreateDepartmentPageHelper.getActivityResultEvent}" >
    < f: selectItems value = "#{bindings.pActivityResultId.items} '"
    ID = "si12" binding = "#{CreateDepartmentPageHelper.si12}" / >


    in the sample, all of the same attributes of type number are ok.
    What should correct let code to run? What remains behind the scenes on the definition of SelectOneChoice like that?

    Hello

    1. the choice of a select uses "pActivityResultId" not "ActivityResultId" as in your code
    2. the liaison is not of type AttributeBinding but JUCtrlListBinding if it is a model piloted by LOV
    2. by default, selectOneChoices work with values of the index of the selected value, not the value itself

    See http://www.oracle.com/technetwork/developer-tools/adf/learnmore/dec2010-otn-harvest-199274.pdf
    to learn how to work with JUCtrlListBinding - see page 5 'value selected a linked ADF reading list selection in Java'

    Frank

  • mount the java.lang.String class oracle.jbo.domain.Number class

    Dear Sir

    How to mount an oracle.jbo.domain.Number chain?

    Thank you

    Anatoliy

    Try this:

    Variable number = null;
    String var = 'var ';
    variable = new Number (Integer.ParseInt (var));

    Concerning

  • Conversion oracle.jbo.domain.Number-&gt; 'impossible', in liaison

    11.1.1.3 JDEV

    Try to call a function from a jsf page. It throws an error like
    * "Failed to create an object of type: java.lang.Number type: oracle.jbo.domain.Number with the value" * "

    Please see the part of my affair.
    < methodAction id = "checkDeviationFromBasecase".
    InstanceName = "ProjectMonitoringAppModuleDataControl.dataProvider"
    DataControl = "ProjectMonitoringAppModuleDataControl."
    RequiresUpdateModel = 'true' Action = 'invokeMethod '.
    MethodName = "checkDeviationFromBasecase."
    IsViewObjectMethod = "false".
    ReturnName = "ProjectMonitoringAppModuleDataControl.methodResults.checkDeviationFromBasecase_ProjectMonitoringAppModuleDataControl_dataProvider_checkDeviationFromBasecase_result" > "
    < NamedData NDName = "pPid".
    * NDValue = "#{bindings." Pid.inputValue} "//this is oracle.jbo.domain.Number."
    NDType="java.lang.Number"/ >
    < / methodAction >

    Is it possible to do by linking only without creating variables in addition to a bean.

    Help, please.

    Thank you.

    Why don't you have same oracle.jbo.domain.Number for NDType as well?

    Jean Lou

  • Type "java.lang.Integer" Incompatible with "oracle.jbo.domain.Number".

    Hi experts,

    uses 11.1.1.5.0 - adfbc jdev

    Castin the problem:

    pyear - number data type

    var oracle.jbo.domain.Number = new oracle.jbo.domain.Number (pyear);
    Integer s = (integer) var;

    My question is how can I get oracle.jbo.domain.number in java.lang.Integer.

    Well, you should be aware of that you loos certain precision that a number can be larger then the max int value...

            Number n = new Number(1345);
            Integer iVal = n.intValue();
            BigInteger lBigInteger = n.bigIntegerValue();
    

    I would use BigInteger instead...

    Timo

  • oracle.jbo.domain.Number, round() method to change the type of data returned?

    Hi all

    When I tried to round the value to oracle.jbo.domain.Number, it returns data of type oracle.sql.Number. Please see the following code snippet:

    Number unitPrice = new Number (9.95);

    Number of numOfRet = new Number (5);

    Total = (unitPrice.multiply (numOfRet)) .multiply (1.05) .round (2);

    The third line can not compile because the round() method returns a data type of oracle.sql.Number, which generates the compile error. If I put a guy up there, it works. When I checked the javadoc, the method has a number of return type. But it says in the details of the description of the method, it returns a Java int. Can I ask is there something wrong here? You can find the javadoc here: number (Oracle ADF business components API Reference 10.1.2 areas)

    Thank you

    Sheet

    Order to understand, the problem is that the round() method returns a number, but a NUMBER data type.

    NUMBER public tour (int decimal_place)

    Therefore, cast to the number.

    Timo

  • Could not create the domain object type oracle.jbo.domain.Date

    Hello

    I'm getting the following exception in the user interface when I click on submit button (/ commit or any other button) for date fields. I created the default objects entity and notices for the database table. I'm poplating the data after executing the "Execute" operation on the iterator for the view.

    Cannot be created with the value ' 22/09/2009' field object type oracle.jbo.domain.Date. +

    Even if I had not made any changes to the date also fields, it's give the exception message in the user interface and do not return the form.

    Could you please help me to solve the issue.

    Thank you and best regards,

    S R Prasad

    Published by: oumar s Prasad on November 18, 2009 15:01

    Prasad,

    What is your version of JDev? And what technology do you use to model? BC4J? Can you try to change the format of the attribute in the object view? Say with the type of Simple date format and format "mm/dd/yyyy".

    Arun-

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

    I have this error:

    ViewId treatment < UIXRegion > < _warn > error: / frameworks-designer-task-flow/hand URI: FrameworksDesignerMain.jsff real-URI: EnterpriseProcessExecutionSchedules.jsff.

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

    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)

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

    My question is how do I find in my page jsff?  I see that it is on a property of disabled but I don't know which and there are many on this page.  I think it's one that looks like this: disabled = ' #{bindings. " "{PGSchedType.inputValue No 5}.  If my different EL expression?

    Thank you.

    Rudy

    JDev 11.1.2.4.0

    Hi Rudy,.

    I guess that you have spotted it right. Instead of 5 in your disabled property, use '5'


    I mean, just surround it with quotes like below


    disabled="#{bindings.PGSchedType.inputValue ne '5'}"
    

    Thank you

    SAIF

  • java.lang.Integer cannot be cast to oracle.jbo.domain.Number

    Hello

    I use JDEV 11.1.2.1.0

    Here is my code

    Number _id;

    DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding iterBind = (DCIteratorBinding) dcBindings.get ("IDView1Iterator");

    _id = (Number) iterBind.getCurrentRow () .getAttribute ("Id");

    It gives me the error

    java.lang.ClassCastException: java.lang.Integer cannot be cast to oracle.jbo.domain.Number

    I imported oracle.jbo.domain.Number.

    Please notify.

    Yes, but your Id attribute is of type java.lang.Integer, and try to throw him to oracle.jbo.domain.Number

    try to use following:

    Integer Id = (Integer) iterBind.getCurrentRow () .getAttribute ("Id");

    _id = new Number (Id.intValue ());

    997766 wrote:

    _id = (Number) iterBind.getCurrentRow () .getAttribute ("Id");

    It gives me the error

    java.lang.ClassCastException: java.lang.Integer cannot be cast to oracle.jbo.domain.Number

    I imported oracle.jbo.domain.Number.

    Please notify.

  • Java.lang.Integer cannot be applied to oracle.jbo.domain.number

    Hi all

    Jdev Version: 11.1.2.3.0

    Platfor: Windows 7

    I'm trying to implement sequences and followed the following ADF essentials to create the same. For some strange reason, I meet, it throws the error of compilation as below.

    [http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADFInsider_sequence/ADFInsider_sequence.html]

    Steps to follow:

    1. create the DepartmentsEO

    2. has generated the Impl class for departments with accessors and Create method

    I wrote the following lines in the method Impl to create files and get the error like setDepartmentId (java.lang.Integer) in eo model. DepartmentsImpl can not be applied to the (oracle.jbo.domain.number) *

    SequenceImpl Seq = new SequenceImpl("DEPARTMENTS_SEQ",getDBTransaction);
    setDepartmentId (seq.getSequenceNumber ()); *

    Please help me!

    Thank you

    Hello

    What Type of Map you selected when creating components trade?

    Make sure it is Oracle. Looks like you have selected the Type of card Java takes DepartmentId column as Integer.

    It takes so you must import the oracle.jbo.domain.Number class

    setDepartmentId (numeric value)

    Recommendation: Create business components again with card Type Oracle.

  • Conversion problem of oracle.jbo.domain.Date in java.util.Calendar and oracle.jbo.domain.Timestamp to oracle.jbo.domain.Date

    Hello world

    Work with dates has been harder than I thought! Please take a look at the code; everything compiles, but it fails because I'm not cast properly. Any help would be appreciated.

    Imports are:

    import java.sql.SQLException;

    to import java.text.ParseException;

    import impossible;

    import java.util.Calendar;

    Import oracle.jbo.domain.Date;

    Import oracle.jbo.domain.Timestamp;

    Here is the method:

    public static Date (String sDate, int day, nextDay

    SimpleDateFormat String) {}

    Date result = null;

    java.util.Date date;

    If (sDate! = null) {}

    try {}

    System.out.println ("Try...");

    Calendar calendar = Calendar.GetInstance ();

    SimpleDateFormat dateFormat =

    new SimpleDateFormat (simpleDateFormat);

    calendar.setTime (dateFormat.parse (sDate));

    Calendar.Set (Calendar.DAY_OF_WEEK, date); day = Calendar.SUNDAY

    Calendar.Set (Calendar.HOUR_OF_DAY, 0);

    Calendar.Set (Calendar.MINUTE, 0);

    Calendar.Set (Calendar.SECOND, 0);

    Calendar.Add (Calendar.DATE, 7);

    dateFormat.format (calendar.getTime ());

    try {}

    System.out.println ("try (inside)... ») ;

    "System.out.println (" new Timestamp (calendar.getTime () .getTime ()) "):" +.

    new Timestamp (calendar.getTime () .getTime ()));

    result = new Date (Timestamp (calendar.getTime () .getTime ())) new; Code does not work here.

    return the result;

    } catch (SQLException e) {}

    System.out.println ("catch (SQLException e)... ») ;

    e.printStackTrace ();

    }

    Returns a null value.

    } catch (ParseException exception) e {}

    System.out.println ("catch exception e ParseException... ») ;

    e.printStackTrace ();

    }

    Returns a null value.

    }

    Returns a null value.

    }

    Here is the result:

    try...

    Try (inside)...

    new Timestamp (calendar.getTime () .getTime ())): 2013-12-29 00:00:00.0

    catch (SQLException e)...

    java.sql.SQLException: failed initialization

    to oracle.sql.DATE. < init > (DATE.java:237)

    to oracle.jbo.domain.Date. < init > (Date.java:378)

    James

    try to convert timestamp to jbo.date as

    java.sql.Timestamp datetime =newjava.sql.Timestamp(System.currentTimeMillis());

    oracle.jbo.domain.Date daTime =new  oracle.jbo.domain.Date(datetime);

  • java.lang.ClassCastException: oracle.jbo.domain.Number

    We have extended the ReviewGeneralInfoCO controller in the OIE webpage for the creation of a new expense report. When you enter the last page ("review"), we receive this exception only if we have not saved the report previously. The code compiles without error, and I'm confused as to what could cause this problem. Here's the exception stack:

    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.jbo.domain.Number
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:595)
    # # 0 in detail
    java.lang.ClassCastException: oracle.jbo.domain.Number
    at xxsou.oracle.apps.sou.iexp.util.webui.xxFinal2ReviewGeneralInfoCO.processRequest(xxFinal2ReviewGeneralInfoCO.java:66)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.ClassCastException: oracle.jbo.domain.Number
    at xxsou.oracle.apps.sou.iexp.util.webui.xxFinal2ReviewGeneralInfoCO.processRequest(xxFinal2ReviewGeneralInfoCO.java:66)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1134)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2297)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1710)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:501)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:422)
    to _html._OA._jspService(_OA.java:88) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
    at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
    to _html._OA._jspService(_OA.java:98) oa
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
    at oracle.jsp.JspServlet.service(JspServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:595)

    Any ideas?

    Thank you
    GilliamJ

    Hello

    Add this import statement.

    Import oracle.jbo.domain.Number

    It should solve your problem.

    Kind regards
    Sudhakar Mani
    http://oraclearea51.com/sudhakarmani

  • EL expression that is evaluated to oracle.jbo.domain.Number

    Hello world

    11.1.1.5 JDev

    I have a problem passing a value of oracle.jbo.domain.Number in a workflow, when you try to type in a literal, for testing purposes.

    It's what looks like my pageDef file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="11.1.1.60.13" id="BdgVerTestPageDef"
                    Package="fo.att.alm.pageDefs">
      <parameters/>
      <executables>
        <variableIterator id="variables"/>
        <page path="shared.template.almTemplatePageDef" id="pageTemplateBinding"
              Refresh="ifNeeded"/>
        <taskFlow id="sosbrwbdgedit1"
                  taskFlowId="/WEB-INF/sos/bounded/sos-brw-bdg-edit.xml#sos-brw-bdg-edit"
                  activation="deferred"
                  xmlns="http://xmlns.oracle.com/adf/controller/binding">
          <parameters>
            <parameter id="idSosBrwBdgVer"
                       xmlns="http://xmlns.oracle.com/adfm/uimodel"
                       value="#{null}"/>
            <parameter id="idSosBrwBdgPer"
                       xmlns="http://xmlns.oracle.com/adfm/uimodel"
                       value="#{7333177}"/>
          </parameters>
        </taskFlow>
      </executables>
      <bindings/>
    </pageDefinition>
    When I type #{'7333177'} for the idSosBrwBdgPer parameter I get
    Cannot convert the type class java.lang.String 7333177 to class oracle.jbo.domain.Number

    When I type #{7333177} for the idSosBrwBdgPer parameter I get
    Cannot convert 7 333 177-type class to the oracle.jbo.domain.Number class java.lang.Long

    Anyone know the good EL for that to work?


    Best regards
    John

    Hello

    create a bean managed which exposes a method, back Houston area number and reference to El EL doesn't have an option to create instances of the object

    Frank

  • How to cast from object to String or number (oracle.jbo.domain.Number)

    Hello!

    How can I throw it a data type string or object in numbers (oracle.jbo.domain.Number)?

    Thank you.

    Please see below the code.

    Number of numValue = new (strVal);

    BR, 906099

Maybe you are looking for

  • Watch series 2 bike outdoor activities

    Does anyone know if/when auto pause will be added to the activity of cycling outdoors?  This is a key element which must be included and with the GPS should be easy to implement.  The watch knows whether you are moving or not. Thank you! -Dave

  • sometimes can not log into the server or very slow to make so.green bar downstairs is fully informed and he's there with the wheel spins as it tries to plug?

    Can't all the time. Many time running without problems. When problems seem not to be like that for a while as an e-mail message. Just did an email and wheel turn and try to send. "Cannot connect to Server" in my opinion, is what happens. Press Cancel

  • Compaq mini 110 c master bios password

    I have a compaq mini 110 c - 1120saS/n [edited by Moderator]This number is also the fatal error I get when you enter the password of the bios wrong 3 times, I need the password to unlock this machine thank you

  • quality instant ink draft

    I don't seem to see a post related to this after doing a search - apologies if this has been asked before... I normally print in draft quality to save on ink. I signed up with the instant the ink system. Am I right in assuming that there is absolutel

  • Firmware upgrade SG200 - 26 older version.

    Hello! I have Switch SG200 - 26. Firmware version: 1.1.2.0 Starting version: 1.1.0.6 It is possible do upgrade to the latest version of the firmware 1.4.0.88 directly or should I do the intermediate updates? Do I have to upgrade the Boot Loader and i