How to handle the null pointer exception in session management

Hello
I use jdeveloper 11.1.1.6.0 version.
I am using following code session storage
        abcList  = new ArrayList<abcVO>();             
        JSFUtils.storeOnSession("key",abcList  );
and retrieve it using the following sentense
         abcList  = (ArrayList<abcVO>) JSFUtils.getFromSession("key");
It's ok I'm able to get session value because I record it first.
But I want to know if the list is stored in the session scope earlier if not then want to store
If the data are not present at a meeting and I'm its value before it is stored, he throws null pointer exception
  
        abcList  = (ArrayList<abcVO>) JSFUtils.getFromSession("key");
How to check if the value is null or not null before you access the session.

Hello

if(JSFUtils.getFromSession("key") == null){
  .. create it here ...
}

Frank

Tags: Java

Similar Questions

  • Handle the Null pointer Exception

    Hello!!

    I use jdeveloper 11.1.1.5

    I had used this code in my AMImpl method
            getDBTransaction().setLockingMode(DBTransaction.LOCK_NONE);
                    ViewObjectImpl pghlvo = this.getPostdGlHdLn2();
                    Row pghlr = pghlvo.getCurrentRow();
                    ViewObjectImpl ghlvo = this.getGlHdLn1();
                    List gacctl = new ArrayList();
                    RowSet gaybrs = findViewObject("GlAcctYearlyBal1").getRowSet();
                    while (ghlvo.hasNext()){
                        Row ghlr = ghlvo.next();
                        if (ghlr.getAttribute("GjhJrnlNo").equals(pghlr.getAttribute("GjhJrnlNo"))){
                            for (Row gaybr = gaybrs.first();gaybr!=null;gaybr = gaybrs.next()){
                                if ((gaybr.getAttribute("GaybAcct").equals(ghlr.getAttribute("GjlAcct")))&&(gaybr.getAttribute("GaybYear").equals(ghlr.getAttribute("GjhYear")))){
                                    System.out.println (gaybr.getAttribute("GaybAcct"));
                                    System.out.println (gaybr.getAttribute("GaybYear"));
                                    double part1 = Double.valueOf(ghlr.getAttribute("GjlDebitAmt").toString());
                                    double part2 = Double.valueOf(ghlr.getAttribute("GjlCreditAmt").toString());
                                    double part3 = Double.valueOf(gaybr.getAttribute("GaybCurrBal").toString());  //In this the Default value is 0 So that i am getting the Null Pointer Exception
                                    double subtractValue = part3+(part1 - part2);
                                    BigDecimal CurrAmt = BigDecimal.valueOf(subtractValue);
                                    System.out.println(CurrAmt);
                                    gaybr.setAttribute("GaybCurrBal",CurrAmt);
                                }
                        }
                    }
    How can I manipulate a zero value in the present

    Hello

    If it is zero (0) you wouldn't have this problem. His "NULL", which has a different meaning from scratch in Java. You should check why the object comes out blank - probably a type in the name of attribute or a value initial null

    Frank

  • Simulation of phone call throws the null pointer exception in the first round

    I am trying to simulate a telephone call, but he throws null pointer exception in the first race after that the Simulator is launched. It works very well in subsequent executions. This is the scenario in single line and multi mode. I was able to test this on a camera right now.

    Can anyone guide me as to why this exception occurs? And how to solve?

    The code I used is:

    Single line

    PhoneArguments

    Call = new PhoneArguments(PhoneArguments.ARG_CALL, )

     

    Phone_Number);

     

    Invoke.invokeApplication (Invoke.

     

    APP_TYPE_PHONE

    Call);

     

     

     

    MultiLine:

     

     

    Phone.initiateCall (Phone.getLineIds () [0], Phone_Number)

     

     

     

    Thank you

     

     

    This null pointer exception will not come to the real device...

    According to my knowledge, you call another application so that the user must press the back button to return to your application.

  • Need help to resolving the NULL pointer Exception in a newly expanded display object

    Hi all

    I extended the oracle.apps.ap.oie.audit.server.AuditReportLinesVO to show the commitment that each line has a right to expense report alongside the other columns in the row.

    The extension of VO works well when there is a statement of expenses with a single line. However when we have some expense report that has more than one line, my VO fails and gives with the following NUll pointer exception:

    Error page

    Details of the exception.

    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: Houston-29000: Unexpected exception caught: java.lang.NullPointerException, msg = null

    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)

    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)

    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod (unknown Source)

    at oracle.apps.ap.oie.audit.webui.AuditPageCO.processRequest(AuditPageCO.java:156)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at _OA._jspService(_OA.java:71)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)

    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)

    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)

    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)

    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)

    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)

    at _OA._jspService(_OA.java:80)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    # # 0 in detail

    java.lang.NullPointerException

    at oracle.apps.ap.oie.audit.server.AuditReportLinesVORowImpl.isPersonalLine(AuditReportLinesVORowImpl.java:449)

    at oracle.apps.ap.oie.audit.server.AuditReportLinesVORowImpl.validate(AuditReportLinesVORowImpl.java:748)

    at oracle.jbo.server.ViewRowSetIteratorImpl.validateCurrentRow(ViewRowSetIteratorImpl.java:3251)

    at oracle.jbo.server.ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1631)

    at oracle.jbo.server.ViewRowSetImpl.next(ViewRowSetImpl.java:2862)

    at oracle.apps.ap.oie.audit.server.ExpenseHeadersVOImpl.initAttributesAndTrxnValues(ExpenseHeadersVOImpl.java:76)

    at oracle.apps.ap.oie.audit.server.ExpenseHeadersVOImpl.initVOAndChild(ExpenseHeadersVOImpl.java:49)

    at oracle.apps.ap.oie.audit.server.AuditAMImpl.initQuery(AuditAMImpl.java:306)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod (unknown Source)

    at oracle.apps.ap.oie.audit.webui.AuditPageCO.processRequest(AuditPageCO.java:156)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at _OA._jspService(_OA.java:71)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)

    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)

    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)

    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)

    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)

    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)

    at _OA._jspService(_OA.java:80)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    java.lang.NullPointerException

    at oracle.apps.ap.oie.audit.server.AuditReportLinesVORowImpl.isPersonalLine(AuditReportLinesVORowImpl.java:449)

    at oracle.apps.ap.oie.audit.server.AuditReportLinesVORowImpl.validate(AuditReportLinesVORowImpl.java:748)

    at oracle.jbo.server.ViewRowSetIteratorImpl.validateCurrentRow(ViewRowSetIteratorImpl.java:3251)

    at oracle.jbo.server.ViewRowSetIteratorImpl.next(ViewRowSetIteratorImpl.java:1631)

    at oracle.jbo.server.ViewRowSetImpl.next(ViewRowSetImpl.java:2862)

    at oracle.apps.ap.oie.audit.server.ExpenseHeadersVOImpl.initAttributesAndTrxnValues(ExpenseHeadersVOImpl.java:76)

    at oracle.apps.ap.oie.audit.server.ExpenseHeadersVOImpl.initVOAndChild(ExpenseHeadersVOImpl.java:49)

    at oracle.apps.ap.oie.audit.server.AuditAMImpl.initQuery(AuditAMImpl.java:306)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:585)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod (unknown Source)

    at oracle.apps.ap.oie.audit.webui.AuditPageCO.processRequest(AuditPageCO.java:156)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)

    at _OA._jspService(_OA.java:71)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)

    in com.evermind.server.http.ServletRequestDispatcher.access$ 100 (ServletRequestDispatcher.java:51)

    to com.evermind.server.http.ServletRequestDispatcher$ 2.oc4jRun(ServletRequestDispatcher.java:193)

    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)

    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)

    at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)

    at _OA._jspService(_OA.java:80)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    You guys can help me understand what could be the error?

    I use the R12.1.3 for jdeveloper

    I created 4 new columns in the existing query of VO which are the file name, type of mime/type of file. ID of the content/blob file and at the expense of the line (for the key attribute)

    Thank you

    Patricia

    It seems that the error is on the threshold;

    java.lang.NullPointerException
      at oracle.apps.ap.oie.audit.server.AuditReportLinesVORowImpl.isPersonalLine(AuditReportLinesVORowImpl.java:449)
    

    Please check what is the reason for the error.

    I see a lot of issues with VO substitution these days because the extended VORowImpl not called great for these attribiutes which is substituted in the stanard VORowImpl.

    Please have a read on the blog below and see if it is applicable to your post of VO.

    Johny tips: OAF: transient attributes not getting filled extended vo

    If no, please attach standard and custom VO files

    See you soon

    AJ

  • How to handle the null value

    Hi all

    Can someone tell me how to handle null.

    I have a radio button, I need to capture the worth and inspiring I have a search criterion.

    If I select the radio button without problem. If I did not choose the option button it gives me the error.

    OAMessageRadioButtonBean var1 = (OAMessageRadioButtonBean) webBean.findChildRecursive ("job");
    If (var1! = null)
    {
    S1 = var1.getValue (pageContext) m:System.NET.SocketAddress.ToString ();
    }

    Please suggest.

    Kind regards

    Sangu

    S1 = (String) var1. GetValue (PageContext);

  • How to handle the NULL or empty fields XML

    I'm parsing an xml file and transform it into a query object. All good until I get a NULL value or misssing in my XML file and then I begin to receive some error messages like

    The value "cannot be converted to number.

    So, how can I check these missing values or NULL in the XML and then put them to a lack of value, so they keep appearing as "?

    Here is my code: it runs great until I hit a missing value

    < cfset mydoc = XmlParse (myxml) >

    <!--get an array of employees-->

    < cfset emp = mydoc. SET OF LINES. XmlChildren >

    < cfset size = ArrayLen (emp) >

    < cfset orderquery = QueryNew ("FIRST_NAME, LAST_NAME, numero_fichier, JOB_TITLE_DESCRIPTION") >

    < cfset temp = QueryAddRow (orderquery, #size #) >

    < cfloop index 'i' = from = "1" = "#size #" >

    < cfset temp = QuerySetCell (orderquery, "First name",

    #mydoc.rowset.ROW [i]. FIRST_NAME. XmlText #, #i #) >

    < cfset temp = QuerySetCell (orderquery, 'Name',

    #mydoc.rowset.ROW [i]. LAST_NAME. XmlText #, #i #) >

    < cfset temp = QuerySetCell (orderquery, "Numéro_fichier",

    #mydoc.rowset.ROW [i]. FILE_NUMBER. XmlText #, #i #) >

    < cfset temp = QuerySetCell (orderquery, "JOB_TITLE_DESCRIPTION",

    #mydoc.rowset.ROW [i]. JOB_TITLE_DESCRIPTION. XmlText #, #i #) >

    < / cfloop >

    Which column throws the error?  Given that you do not specify the data types in your QueryNew call, I guess that's FILE_NUMBER.  In this case if the first sign up process has a number of this column, then CF will implicitly define this column to be digital.  If that is your intention, very well.  Otherwise, specify the types of data explicitly.

    If this column must be numeric, then you will need to perform a few checks before writing to the cell in the query.  Given that the statement of QueryAddRow() creates a bunch of empty rows with null values in all the columns, you just have to jump from writing to the cells that need to be set to null:

    Notice a few things that I spread the code:

    • No sign of #-you only need within blocks of at the exit of the variables on the screen.  They are almost never necessary in the function calls.
    • No "temp =" in the tag.  They aren't necessary if the operation right of the equal sign does not return a value, you need to store in a variable, as in this case.

    HTH,

    -Carl V.

  • NULL pointer exception when you use the tag ahref

    Hello
    I am writing a file html for the file adapter. Inside the transformation, if I understand ahref* tag, I still get null pointer exception and a 0 KB file is written.

    However, if I remove the < a href > tag from the code, the html file is generated correctly. But I need to use ahref* tag. Pls help me solve this.
    The details of the error are:

    < bindingFault xmlns = "http://schemas.oracle.com/bpel/extension" > < a name = "summary" part > < summary > file:/opt/aia/product/10.1.3.4/OracleAS_MW/bpel/domains/release2/tmp/.bpel_OA_OUT_BPEL_MiddlewareEmailProv_1.0_734ff6b91af23ed1de9191df79ca28b6.tmp/in_Confirmation_FileWrite.wsdl [Write_ptt::Write (ORDER)] - SISM JCA Execute of 'Write' failure due to operation: null; nested exception is:
    java.lang.NullPointerException < / summary >
    < / part > < part name = "detail" > < java.lang.NullPointerException detail > < / details >
    < / piece > < / bindingFault >

    Published by: user11119367 on February 9, 2010 21:23

    Hello
    The custom XSD file is not necessary.
    Looks like it's a bug in file 10.1.3.4/10.1.3.5 adapters - it works very well in 11g.

    Whenever there is "a href" tag in the xml support to write to the file, the file adapter tries to get the content of the url real in 'a href' and written to the output file. When I try with any url (say http://www.google.com), the content of google.com is written in the file. If this URL is not accessible (for example http://foo.bar), then you get the null pointer exception. In your case, I think the URL that you are using the payload, is not accessible from your box of soa, or is not a valid URL.

    As a work around 10.1.3.4, I was able to create the XHTML file as follows:
    1 change the link partner of file adapter to use opaque scheme.
    2. in an assign operation, affect the load XHTML to a string variable using ora:getContentAsString ().
    3. Add a java embedding base64 encode the string as follows and assign to the entrance of the file adapter invoke:
    (HTMLString is the string from step 1 variable, InvokeWriteHTML_InputVariable is the input variable to the call on the file adapter operation)

        
        
          
        
    

    4. call the file adapter using the input variable in which is written the value encoded in base64.

    you could use the workaround above or rethink your design (if you want to create the XHTML file using bpel only or other means).

    Hope this helps,
    Kind regards
    Yohanna.
    http://www.prshanmu.com/articles/

  • Search in Page null pointer exception

    Hi all

    I get under the null pointer exception in the search page.

    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException

    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument (unknown Source)

    at _OA._jspService(_OA.java:87)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)

    to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)

    to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    # # 0 in detail

    java.lang.NullPointerException

    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:991)

    at java.lang.Double.valueOf(Double.java:447)

    at oracle.sql.NUMBER.toDouble(NUMBER.java:331)

    at oracle.sql.NUMBER.doubleValue(NUMBER.java:1998)

    at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue (unknown Source)

    at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue (unknown Source)

    at oracle.apps.fnd.framework.webui.OADataBoundValue.getValue (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean.getAttributeValueImpl (unknown Source)

    at oracle.cabo.ui.BaseUINode.getAttributeValue (unknown Source)

    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute (unknown Source)

    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute (unknown Source)

    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl (unknown Source)

    at oracle.cabo.ui.BaseUINode.getAttributeValue (unknown Source)

    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName (unknown Source)

    at oracle.cabo.ui.ElementRenderer.prerender (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.prerender (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.prerender (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer.renderAsStackLayout (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderKids (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderTD (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderDataMode (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderSingleRow (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.apps.fnd.framework.webui.OARendererProxy.render (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanTableRendererProxy.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    to oracle.cabo.ui.composite.ContextPoppingUINode$ ContextPoppingRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren (unknown Source)

    at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.render (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument (unknown Source)

    at _OA._jspService(_OA.java:87)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)

    to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)

    to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    java.lang.NullPointerException

    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:991)

    at java.lang.Double.valueOf(Double.java:447)

    at oracle.sql.NUMBER.toDouble(NUMBER.java:331)

    at oracle.sql.NUMBER.doubleValue(NUMBER.java:1998)

    at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue (unknown Source)

    at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue (unknown Source)

    at oracle.apps.fnd.framework.webui.OADataBoundValue.getValue (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean.getAttributeValueImpl (unknown Source)

    at oracle.cabo.ui.BaseUINode.getAttributeValue (unknown Source)

    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute (unknown Source)

    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute (unknown Source)

    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl (unknown Source)

    at oracle.cabo.ui.BaseUINode.getAttributeValue (unknown Source)

    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName (unknown Source)

    at oracle.cabo.ui.ElementRenderer.prerender (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.prerender (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.prerender (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnGroupRenderer.renderAsStackLayout (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderKids (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderTD (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer._renderDataMode (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.ColumnRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderSingleRow (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.apps.fnd.framework.webui.OARendererProxy.render (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanTableRendererProxy.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    to oracle.cabo.ui.composite.ContextPoppingUINode$ ContextPoppingRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren (unknown Source)

    at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode (unknown Source)

    at oracle.cabo.ui.composite.UINodeRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderIndexedChild (unknown Source)

    at oracle.cabo.ui.BaseRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent (unknown Source)

    at oracle.cabo.ui.BaseRenderer.render (unknown Source)

    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.BaseUINode.render (unknown Source)

    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.render (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument (unknown Source)

    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument (unknown Source)

    at _OA._jspService(_OA.java:87)

    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)

    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)

    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)

    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)

    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)

    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)

    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)

    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)

    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)

    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)

    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)

    to oracle.oc4j.network.ServerSocketAcceptHandler.access$ 700 (ServerSocketAcceptHandler.java:34)

    to oracle.oc4j.network.ServerSocketAcceptHandler$ AcceptHandlerHorse.run (ServerSocketAcceptHandler.java:880)

    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)

    at java.lang.Thread.run(Thread.java:595)

    The code in the controller:

    Am = (OAApplicationModule) pageContext.getApplicationModule (webBean) OAApplicationModule;

    OAMessageTextInputBean chkReqNumBn = (OAMessageTextInputBean) webBean.findChildRecursive ("chkReqNum");
    OAMessageLovInputBean supplierNameBn = (OAMessageLovInputBean) webBean.findChildRecursive ("supplierName");
    OAFormValueBean supplierIDFVBn = (OAFormValueBean) webBean.findChildRecursive ("supplierIDFV");
    OAMessageTextInputBean checkAmountBn = (OAMessageTextInputBean) webBean.findChildRecursive ("checkAmount");
    OAMessageTextInputBean requestedByBn = (OAMessageTextInputBean) webBean.findChildRecursive ("ready");
    OAMessageTextInputBean approvedByBn = (OAMessageTextInputBean) webBean.findChildRecursive ("approvedBy");
    OAMessageDateFieldBean fromDateBn = (OAMessageDateFieldBean) webBean.findChildRecursive ("fromDate");
    OAMessageDateFieldBean toDateBn = (OAMessageDateFieldBean) webBean.findChildRecursive ("toDate");

    String checkReqNum = null;
    String supplierId = null;
    String checkAmount = null;
    String ready = null;
    String approvedBy = null;
    Object fromDate = null;
    Object toDate = null;
    String fromDate1 = null;
    String toDate1 = null;
    System.out.println ("inside of the PFR..");

    If (PageContext.GetParameter ("searchBtn")! = null)
    {

    If (chkReqNumBn! = null) {}
    checkReqNum = (String) chkReqNumBn.getValue (pageContext);
    }

    If (supplierIDFVBn! = null) {}
    supplierId = (String) supplierIDFVBn.getValue (pageContext);
    }

    If (checkAmountBn! = null) {}
    checkAmount = (String) checkAmountBn.getValue (pageContext);
    }

    If (requestedByBn! = null) {}
    Ready = (String) requestedByBn.getValue (pageContext);
    }

    If (approvedByBn! = null) {}
    approvedBy = (String) approvedByBn.getValue (pageContext);
    }

    If (fromDateBn! = null) {}
    fromDate = (Object) fromDateBn.getValue (pageContext);

    fromDate1 = pageContext.getParameter ("fromDate");

    System.out.println ("inside the PFR fromDate...:" + fromDate1);
    }

    If (toDateBn! = null) {}
    toDate = (Object) toDateBn.getValue (pageContext);
    toDate1 = pageContext.getParameter ("toDate");
    System.out.println ("inside the PFR toDate...:" + toDate1);
    System.out.println ("inside the PFR toDate...:" + so far); */
    }

    System.out.println ("inside the PFR checkReqNum:" + checkReqNum);
    System.out.println ("supplierId inside the PFR:" + SupplierID);
    System.out.println ("inside the PFR checkAmount:" + checkAmount);
    System.out.println ("inside the PFR ready:" + ready);
    System.out.println ("inside the PFR approvedBy:" + approvedBy);
    System.out.println ("inside the fromDate PFR:" + fromDate);
    System.out.println ("inside the PFR toDate:" + so far);

    Serializable [] params = {checkReqNum, supplierId, checkAmount, ready, approvedBy, fromDate1, toDate1};
    am.invokeMethod ("searchCheckRequest", params);
    System.out.println ("method call in AM :");   This statement is printed in pos

    }

    This Null pointer exception occurs during the call to the method in AM


    AM method:

    ' public void searchCheckRequest (String checkReqNum, String supplierId, String checkAmount, String ready, approvedBy, fromDate, toDate String String String) {}

    System.out.println ("inside the Method");

    OAViewObject vo = getL3APCheckSearchVO1 ();

    vo.clearCache ();

    vo.setWhereClause (null);

    vo.setWhereClauseParams (null);

    System.out.println ("inside method to execute");

    System.out.println ("inside the fromDate method" + fromDate);

    System.out.println ("inside the toDate method" + so far);

    vo.setWhereClauseParam(0,checkReqNum);

    vo.setWhereClauseParam(1,supplierId);

    vo.setWhereClauseParam(2,checkAmount);

    vo.setWhereClauseParam(3,requestedBy);

    vo.setWhereClauseParam(4,approvedBy);

    vo.setWhereClauseParam(5,fromDate);

    vo.setWhereClauseParam(6,toDate);

    vo.executeQuery ();

    }

    Please suggest if you have any ideas on that.

    am.invokeMethod ("searchCheckRequest", params);

    System.out.println ("method call in AM :");  This statement is printed in pos

    If this statement is getting printed, then the error is not the line above, which is the method of the AM.

    In addition, I don't see a reference of the AOS in the error stack.

    # Java.lang.NullPointerException 0 # detail at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:991) at java.lang.Double.valueOf(Double.java:447) at oracle.sql.NUMBER.toDouble(NUMBER.java:331) at oracle.sql.NUMBER.doubleValue(NUMBER.java:1998) at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue (Unknown Source) at oracle.apps.fnd.framework.webui.OADataBoundValue.convertValue (Unknown Source) at oracle.apps.fnd.framework.webui.OADataBoundValue.getValue (Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl (Unknown Source) at oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean.getAttributeValueImpl (Unknown Source)

    Looking at the above lines, the error is caused by a MessageStyledTextBean.

    Check the VO attribute attached to the MessageStyledText, the data type of the MessageStyledText, the data type of the attribute VO etc...

    Hope this helps

    See you soon

    AJ

  • My app works fine on the Simulator, but no devices make null pointer exception

    my application works fine on the Simulator, but when I try to run on the device its getting null pointer exception

    I have also to debug the code and found that none of the allocated objects. Not a memory allocate unique.

    For example I allcated String object in constructor

    Dim myString As String = new String ("my String");

    But its not allocated and even I put permissions

    Please help me

    I was getting exception somewhere

  • NULL point Exception: when we try to insert data with the procedure after obtaining values of the iterator.

    public String submit() {}

    BindingContext bindingContext = BindingContext.getCurrent ();

    DC DCDataControl = bindingContext.findDataControl("AppModuleDataControl");

    AppM AppModuleImpl = (AppModuleImpl) dc.getDataProvider ();

    BindingContainer links = getBindings();

    OperationBinding operationBinding = bindings.getOperationBinding("getCAL");

    Object result = operationBinding.execute ();

    String dte = result.toString ();

    Model CollectionModel = (CollectionModel) classHeldTbl.getValue ();

    ROWCOUNT int = model.getRowCount ();

    for (int i = 0; i < rowcount; i ++) {}

    JUCtrlHierNodeBinding = (JUCtrlHierNodeBinding) model.getRowData (i) rowData;

    If (rowData.getAttribute (8)! = null) {}

    int slotId = Integer.parseInt (rowData.getAttribute (5) m:System.NET.SocketAddress.ToString ());

    int sectionId = Integer.parseInt (rowData.getAttribute (6) m:System.NET.SocketAddress.ToString ());

    int teacherId = Integer.parseInt (rowData.getAttribute (7) m:System.NET.SocketAddress.ToString ());

    String rowData.getAttribute = chk (8) m:System.NET.SocketAddress.ToString ();

    If (chk.equals ("true")) {}

    try {}

    System.out.println ("dateee:" + result + "id Teachr" + teacherId + ETD + "" + slotId + "" + sectionId);

    appM.submitClassHeld (teacherId, dte, IDEmplacement, sectionId);

    System.out.println ("After proc");

    } catch (NullPointerException e) {}

    System.out.println ("-Execption" + e.getMessage ());

    }

    }

    }

    }

    Returns a null value.

    }

    There are no issues with values... This function works only once. When we submit the values on the selection box it works once, but when press us the button submit again select different box it inserts the value in the database, but on the page shows null pointer exception.

    RowData are so is equal to null.

    Change this line in the following way:

    System.out.println ("rowData =" + rowData);

    If (rowData! = null & rowData.getAttribute (8)! = null)

    and lat me know what happens

    JohnMackanzi wrote:

    Number of line 58

    If (rowData.getAttribute (8)! = null) {}

  • NULL pointer exception when you try to navigate to the next record

    Dear members,

    I have an OFA Page for which I have attached a CO and I am.

    This OAF page main and detail records.

    Main folders are coming from an array of headers. Detail records are coming from an array of LINES.

    Once the page opens, a master record and its corresponding detail records are displayed. On the page that I have a next button.if that user clicks the next button, next master file and its corresponding detail records should appear.

    The code I wrote is satisfying the requirement above but when the user comes from the last record and click on the next button, an EXCEPTION of the NULL POINTER is thrown.

    Code in my AM is as follows:_


    Public Sub findNextRec()
    {
    String headerID = null;
    If (Headers_VO1 () .getFetchedRowCount () > 0)
    {

    headerID = getHeaders_VO1 () .next ().getAttribute("HeaderId").toString ();
    If (headerID! = null & & "".equalsIgnoreCase (headerID))
    {
    getLines_VO1 (.setMaxFetchSize(-1));
    getLines_VO1 () .setWhereClause (null);
    getLines_VO1 () .addWhereClause ("header_id in (: 1)" ");
    getLines_VO1 () .setWhereClauseParams (null);
    getLines_VO1 (.setWhereClauseParam(0,headerID));
    getLines_VO1 () .executeQuery ();
    }
    }
    on the other
    {
    throw new OAException (' to the last Record,"OAException.CONFIRMATION");
    }

    }

    _ Code in my CO

    In my co process form request, I have the following code:

    If (PageContext.GetParameter ("Next")! = null)
    {
    am.invokeMethod ("findNextRec");
    }

    Kindly please help me to solve this error. Thanks in advance.

    Best regards
    Arun D. Reddy

    Published by: Arun Reddy on January 28, 2011 10:03

    Arun,

    I don't know that you should get the error on line

    headerID = getHeaders_VO1 () .next ().getAttribute("HeaderId").toString ();

    To do this, divide the likme statement
    Line = getHeaders_VO1 () .next ();
    if(Row!=null)
    {
    headerID = row.getAttribute ("HeaderId") m:System.NET.SocketAddress.ToString ();

    --
    -

    -
    }

    Thank you

    With respect,
    Kali.
    OSSI.

  • We get NULL Pointer Exception When you try to run the request of QUOTE-JDEV negotiations.

    Hi guys,.

    I'm struggling with a NULL pointer Exception when configuring request for QUOTE-JDEV negotiations. I m listing all the steps that I follow below. Please have a look in this area and gimme you suggestion to solve.

    1. I have coppied oracle.apps.ak, oracle.apps.pon and oracle.apps.fnd.server of the JAVA_TOP in the folder of my projects and my JDEV myClasses.

    2. Subsequently, I exported my ponDefineHdrPG of the page. XML using the below command

    Export/oracle/apps/pon/negotiation/creation/webui/ponDefineHdrPG username-apps password apps rootdir - D:\JDEV\jdevhome\jdev\myprojects\ - dbconnection ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=lclxebsddb2.lc) (PORT = 1524)) (CONNECT_DATA = (SID = EBSDEV))) ".

    3. I created the project and workspace OFA

    4. then I created my DB connection and used the DBC file for runtime option. And I tried to restore my project. Which was rebuilt successfully.

    6 then I ran my Page ponDefineHdrPG.xml my JDEV.

    7. I got the below error


    Details of the exception.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    # # 0 in detail
    java.lang.NullPointerException
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.getHeaderEO(NegotiationCreationAMImpl.java:3495)
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.isTemplate(NegotiationCreationAMImpl.java:3346)
    at oracle.apps.pon.negotiation.creation.webui.NegCreationHeaderPageCO.processRequest(NegCreationHeaderPageCO.java:929)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.getHeaderEO(NegotiationCreationAMImpl.java:3495)
    at oracle.apps.pon.negotiation.creation.server.NegotiationCreationAMImpl.isTemplate(NegotiationCreationAMImpl.java:3346)
    at oracle.apps.pon.negotiation.creation.webui.NegCreationHeaderPageCO.processRequest(NegCreationHeaderPageCO.java:929)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage (unknown Source)
    in OA. jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run (Thread.java:595



    I did not something outside the given procedure. I can tell everything is fresh on my JDEV as in $JAVA_TOP. But I'm, I was wondering why this page points to NULL Pointer Exception to NegotiationCreationAMImpl on JDEV however its fine on the side of the demand for labour. Its very strange. At the same time I also put my profile option "Sign-On: Notification ' on 'no '. I removed '-' DBC files too. But nothing could serve my purpose. Can you please help to solve this problem?

    Hoping for your reply.

    Thank you
    Sunil

    I'm assigned to a task where I need to change the query LOV to the field of legal entity on the request of QUOTE-negotiations page.

    There is no need to run the page locally. As there could be other files also that your page to be referred by any other top.

    What you need to do, is extend the controller or the VO and validate query LOV.

    Thank you
    AJ

  • NULL point Exception when obtaining the user name

    Hello

    I'm getting NULL pointer exception when trying to get the user name when the page load.

    My code is as follows:

    I had imported the oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean package

    In the controller under the proceesrequest, I wrote the following code

    String uname = pageContext.getUsername ();
    OAMessageStyledTextBean UN = (OAMessageStyledTextBean) webbean.findChildRecursive ("name");
    one. SetValue (pagecontext, uname);

    After doing that when I run the page I'm getting NULL pointer exception.

    Can someone correct me where I had gone wrong.

    Thank you.

    The error is on line 39 of your controller. First thing you should do to avoid this must include an audit non-zero.
    String uname = pageContext.getUsername ();
    OAMessageStyledTextBean UN = (OAMessageStyledTextBean) webbean.findChildRecursive ("name");
    if(un!=null)
    {
    one. SetValue (pagecontext, uname);
    }

  • ObjectChoiceField throw a Null pointer Exception error

    Could someone help me please.  I have an ObjectChoiceField object that throws a null pointer exception and I know there was another post but I don't yet understand why.  This is how I create the object and fill it with four points.  Thank you!

    lv_loc1 = "Arlington Heights";
    lv_loc2 = "Waterloo."
    lv_loc3 = 'Fort Madison';
    lv_loc4 = "Colorado Springs";
    String [] lv_locs = {'Loc1-' + lv_loc1, 'Loc2-' lv_loc2, 'Loc3-' + lv_loc3, '-Loc4' + lv_loc4};
    int lv_start_psn = 0;
    ObjectChoiceField lv_locChoice = new ObjectChoiceField ("", lv_locs, lv_start_psn, LabelField.FIELD_HCENTER)
    {
    public void layout (int width, int height)
    {
    Super.Layout (lv_btn_width, lv_btn_height);
    setExtent (lv_btn_width, lv_btn_height);
    }
    };

    Here's how I'm trying to get the selected item

    lv_str = (String) lv_locChoice.getChoice (lv_locChoice.getSelectedIndex ());

    I know that it should be a simple way to do it, here is what I finally realized. It returns the index value to the lv_choice_sel variable, which is a variable so now I can use it throughout the app.

    --------------------------

    String [] lv_locs = {lv_loc0, lv_loc1, lv_loc2, lv_loc3, lv_loc4, lv_loc5};
    int lv_start_psn = 0;
    lv_locChoice = new ObjectChoiceField ("", lv_locs, lv_start_psn)
    ObjectChoiceField.FIELD_HCENTER | ObjectChoiceField.USE_ALL_WIDTH)
    {
    protected void fieldChangeNotify (int context)
    {
    lv_choice_sel = Integer.toString (getSelectedIndex ());
    If (lv_choice_sel is nothing)
    {lv_choice_sel = '0' ;}
    }
    };

  • ADF: row.getAttribute (): Null pointer exception

    Hello

    When I click on a row in table on the page of the ADF - > I should see the contents of the selected line, to make me do row.getAttribute ("abc") for that particular line,.

    If I say row.get ("abc") attribute. = null, this statement to throw null pointer exception then, how can I check if this attribute is not null?

    Thanks in advance.

    To find if the value of the attribute 'abc' is null.

    {if(Row!=null)}

    {if (Row.getAttributeIndexOf ("ABC")! =-1)}

    int index = row.getAttributeIndexOf ("abc");

    Object [] values is row.getAttributeValues ();.

    {if(values[index]!=null)}

    }

    }

    }

Maybe you are looking for

  • iPhone 6s more Resulution of camera?

    A long-time member of Apple, first post time. I have an iPhone 6s more 16 gb Black, I have questions about the camera... First, I will say I know resulution databases and all that. I know that the camera can record 4 k Resulution I lit this setting a

  • Windows 7 update continues to ask from version 11 version 10.0.2

    I am running windows 7 64-bit and updated for firefox 11. Now, windows update appears and says I need to update constantlyMozilla Firefox (en-US) 10.0.2 32 bits. Obviously, this is not correct. But I used the update anyway, and now everytime I open F

  • Invalid signature?

    I am trying to download the updates, and I continue to receive messages from invalid Signature... they suggested I try to use TOOLS and clicking on DOWNLOAD ONLY, but it still does not work.  Can anyone help?

  • TRIM and Bootcamp

    I know the TRIM THAT is enabled by default on internal SSD Apple of my 2011 iMac, which houses an Apple partition (OS X 10.11.4 beta) and a Windows 7 Bootcamp partition. Issues related to the: 1 - is the Bootcamp Windows 7 also "pruned" default parti

  • Download StarWar 6 pack - I get "movie will play not display does not support HDCP" I have a MacBook Pro '11 '.

    How to play movie with HDCP?   What is it?  Why he won't play on MacBook Pro 2011?