NPE in Oracle 9.2.0.1 setTimestamp

We recently encountered a situation where we got the following exception
java.lang.NullPointerException
at oracle.jdbc.dbaccess.DBData.clearItem(DBData.java:431)
at oracle.jdbc.dbaccess.DBDataSetImpl.clearItem(DBDataSetImpl.java:3528)
at oracle.jdbc.driver.OraclePreparedStatement.checkBindTypes(OraclePreparedStatement.java:3271)
at oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.java:1133)
at oracle.jdbc.driver.OraclePreparedStatement.setTimestamp(OraclePreparedStatement.java:2274)
I decompiled the code for DBData.clearItem and found something kinda funny (see inline comments below)...
public void clearItem(int i)
if(m_dynamic && m_vector != null && i < m_vector.size())
m_vector.removeElementAt(i);
// Shouldn't this be
// if (m_items == null || i >= m_items.length)
if(m_items == null && i >= m_items.length)
return;
} else
m_items[i] = null;
return;
Is there anyone I should contact in particular about this problem? Especially since we will need to distribute some fix to our customers.
Thanks

Well, heres my test (10g, for I dont have a 9.2.0.1.0, but I think it´d show the same result):
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select *
  2  from t1;
ENO ENAME
   1 KARTHIK
SQL> select *
  2  from t2;
DNAME
VENKATRAMAN
SQL> select *
  2  from t1
  3  where eno in (select eno from t2);
ENO ENAME
   1 KARTHIK
SQL> alter table t2 add (eno number);
Table altered.
SQL> select *
  2  from t1
  3  where eno in (select eno from t2);
no rows selected
SQL> alter table t2 drop (eno);
Table altered.
SQL> select *
  2  from t1
  3  where eno in (select t2. eno from t2);
where eno in (select t2. eno from t2)
ERROR at line 3:
ORA-00904: "T2"."ENO": invalid identifier
SQL>
But he is getting output of table T2 too se his last postI don´t think so, because he didn´t SELECT it. Would be nice to just copy & paste the output...
Regards,
Gerd

Similar Messages

  • Oracle.jbo.JboException: JBO-29115

    My code is
                    ViewObjectImpl customerMasterVo =  getCustomerMaster();
                    customerMasterVo.setApplyViewCriteriaName("CustomerMasterVC");
                    customerMasterVo.setNamedWhereClauseParam("bAccountNumber", accountNumber.toString());
                    customerMasterVo.executeQuery();
                    _logger.fine("Row Count :" + customerMasterVo.getEstimatedRowCount()); //this is giving 1
                    CustomerMasterVORowImpl customerMasterVoRow = (CustomerMasterVORowImpl) customerMasterVo.getCurrentRow();
                    _logger.fine("customerMasterVoRow.getSalesmanBranch() :" + customerMasterVoRow.getSalesmanBranch());  // getting a NPE  here (oracle.jbo.JboException: JBO-29115)Anyone please point out what is wrong here
    thnks

    Err!!!
    M supposed to use first() instead of getCurrentRow()

  • ORA-37999: Serious OLAP error - while running Maintain Cube...

    While running "Maintain cube..." I'm getting error
    "Action BUILDDATABASE failed on object TEST_DB.NPE"
    Below is the stack trace. It states its a "ORA-37999: Serious OLAP error". Am I missing something or should I contact Oracle support like the statement said?
    oracle.AWXML.AWException: Action BUILDDATABASE failed on object TEST_DB.NPE
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:530)
    at oracle.olap.awm.wizard.awbuild.BuildWizardHelper$1.construct(BuildWizardHelper.java:185)
    at oracle.olap.awm.ui.SwingWorker$2.run(SwingWorker.java:109)
    at java.lang.Thread.run(Unknown Source)
    Caused by: oracle.AWXML.AWException: oracle.express.ExpressServerException
    java.sql.SQLException: ORA-37999: Serious OLAP error: UPDATE. Please contact Oracle Technical Support.
    ORA-03238: unable to extend LOB segment HPMP_WH.SYS_LOB0000043088C00004$$ subpartition SYS_LOB_SUBP73 by 64 in tablespace USERS
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 70
    ORA-06512: at line 1
    at oracle.AWXML.AWConnection.executeCommand(AWConnection.java:279)
    at oracle.AWAction.BuildDatabase.Execute(BuildDatabase.java:513)
    ... 3 more
    Caused by: oracle.express.ExpressServerException
    java.sql.SQLException: ORA-37999: Serious OLAP error: UPDATE. Please contact Oracle Technical Support.
    ORA-03238: unable to extend LOB segment HPMP_WH.SYS_LOB0000043088C00004$$ subpartition SYS_LOB_SUBP73 by 64 in tablespace USERS
    ORA-06512: at "SYS.GENCONNECTIONINTERFACE", line 70
    ORA-06512: at line 1
    at oracle.express.spl.SPLExecutor.executeCommand(SPLExecutor.java:155)
    at oracle.AWXML.AWConnection.executeCommand(AWConnection.java:268)
    ... 4 more

    Well... it was indeed a tablespace error...no need to contact Oracle.
    Worked fine after the DBA's added more tablespace!

  • Accessing the Session in Toplink Essentials

    I try access session by this way:
    http://ontoplink.blogspot.com/2007/01/accessing-session-in-toplink-essentials.html
    and get exception:
    (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: Could not find the session with the name [my_name] in the session.xml file []
    Is session.xml needed for this ? I hope not, because it requires project.xml and it maybe require some another... All what I need is:
    session.getEventManager().addListener(myEventListener);
    to force toplink switch database schema in listener preLogin method. In Hibernate, it can be done by one line in config file.
    Lumir

    OK, I tried obtain session BEFORE creating EntityManagerFactory and EntityManager.
    Now when obtaining it AFTER creating EMF and EM, it works.
    But this not solve problem with change db schema, because AFTER create EMF and EM, session is logged in and EventListener preLogin isn't called.
    Can anyone point me, how to change db schema ? I know it for connection defined using toplink.jdbc.* properties, but not for JNDI:
    public class ToplinkSessionCustomizer implements SessionCustomizer
    public void customize(Session session) throws Exception
              if(jdbcUrl == null)
                   // JDBC URL is not set, assume JNDI lookup
                   JNDIConnector connector = (JNDIConnector) session.getLogin().getConnector();
                   connector.setLookupType(JNDIConnector.STRING_LOOKUP);
                   // 1. Not works, cause NPE
                   // at oracle.toplink.essentials.descriptors.ClassDescriptor.verifyTableQualifiers(ClassDescriptor.java:3518)
                   session.getDatasourcePlatform().setTableQualifier(schema);
                   SessionEventAdapter preLoginEventListener = new SessionEventAdapter()
                   // Listen for preLogin events
                        public void preLogin(SessionEvent event)
                        event.getSession().getLogin().setTableQualifier("myschema");
                   // 2. Not works, eventManager is null, cause NPE !
                   session.getEventManager().addListener(preLoginEventListener);
              else
    // This works OK
                   DatabaseLogin login = session.getLogin();
                   login.useOracleThinJDBCDriver();
                   login.setDatabaseURL(jdbcUrl);
                   login.setUserName(userName);
                   login.setPassword(password);
                   login.setTableQualifier(schema);
         }

  • 11.0.0.4 Update still promting for update at clock even when disabled via GPO customization wizard

    I have custiomized the Adobe Reader 11.0.0.4 msi to disable any updating feature available . This is the same as the previous versions which have worked faultlessly. This time when i have deployed 11.0.0.4 it does install on the windows machine but still prompts beside the clock with an icon and message saying would you like to install the update? if i click it it then fails as its already installed. i do not want any user to see this message especaily when that version is already running on the machine! Please see below for further informaiton, Appriciate any help resolving this issue.
    Server software:
    Operating system: Windows server 2008 R2
    Client software:
    Operating system: windows 7 64 x pro
    Service Packs: SP1
    Adobe product: Adobe reader 11.0.0.4
    Are the system requirements met? yes
    Problem details:
    Type of problem: update icon and message still showing at clock even when disabled by customized GPO.
    Error message (if any): no erro just popping up!
    Logged on as administrator or user? both but deployed via GPO deployment
    Can you reproduce the problem when you test the problem on the server? yes i can repude on several PC's
    Deployment details
    If you are having deployment problems, also record the following:
    Base version   11.0.0.0
    Any patching/chaining? 11.0.0.1, 11.0.0.2, 11.0.0.3, gpo deployed each version now on 11.0.0.4
    Using MSI or EXE? MSI with MST file (MSI from 11.0.0.0 andmerged with Patch 11.0.0.4)
    Using the Customization Wizard? YES
    Deployment method (AIP, GPO, SCCM, ARD?) GPO
    Installing over other products? YES previous versions of adobe reader
    Did you attempt to install any third-party scripts or application  programming interfaces (APIs) with Acrobat during deployment? If so,  does the problem reside with these elements? (To find out, create a test  package containing only Acrobat.) no
    How did you create the package? customisation wizard Adobe 11.
    Does the problem occur when you install the application from a DVD?  If so, does the problem occur when you copy the contents of the DVD to a  local or network drive? n/a

    fyi
    Some feedback in SR 3-6322025251 ...
    After some on-going discussions with Product Managers, they don't believe this is expected behavior in the 3 questions (q4), (q5) and (q6).
    I have so created 3 new bugs for Development evaluation as no answer or known issue found.
    I have created a spin-off SR for each question/bug as per our policy we handle only one issue/bug per SR.
    You can follow each question/bug progress in the following SRs :
    - (q4) Is it intended behavior to have updated version columns on rows that have not really been updated (as observed in step (sc2-g) and (sc3-g))?
    SR 3-6838483321: Entity attribute with change Indicator and version history gets updated even if row unmodified in UI
    Bug 16381918 - OBJECT VERSION ATTRIBUTE INCREMENTED EVEN IF ROW UNMODIFIED IN UI
    - (q5) How can the NullPointerException (in step (sc2-h)) be explained/avoided?
    SR 3-6838483348: NPE in oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded
    Bug 16382070 - NPE IN ORACLE.ADF.MODEL.BINDING.DCITERATORBINDING.EXECUTEQUERYIFNEEDED
    - (q6) Why does the message in step (sc3-h) mention 'primary key oracle.jbo.Key[10 ]' while the row that really changed has Deptno 20?
    SR 3-6838483413: Incorrect primary key value from oracle.jbo.RowInconsistentException
    Bug 16382246 - INCORRECT PRIMARY KEY VALUE FROM ORACLE.JBO.ROWINCONSISTENTEXCEPTION
    Each bug has been published in MOS and are pending Development triage and evaluation.
    On My Oracle Support, I have been able to find bug 16381918, bug 16382070 and bug 16382246.
    regards
    Jan

  • Error extending Controlller

    Hi,
    In iExpense there are 2 pages (OIEMAINPAGE and ConfirmationPG) which have the same page level controller (oracle.apps.ap.oie.entry.summary.webui.ConfirmationPageCO) .
    I am trying to extend this controller.
    This works fine with OIEMAINPAGE, but with ConfirmationPG it gives me a NPE error:
    =================================================================
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.ap.oie.webui.ConfirmationCO.processRequest(ConfirmationCO.java:119)
         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.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351)
         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:1133)
         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:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         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)
         at oa_html._OA._jspService(_OA.java:98)
         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:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.ap.oie.server.ExpensesAMImpl.getInvoiceNum(ExpensesAMImpl.java:2867)
         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.ap.oie.webui.ConfirmationCO.processRequest(ConfirmationCO.java:119)
         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.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351)
         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:1133)
         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:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         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)
         at oa_html._OA._jspService(_OA.java:98)
         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:534)
    java.lang.NullPointerException
         at oracle.apps.ap.oie.server.ExpensesAMImpl.getInvoiceNum(ExpensesAMImpl.java:2867)
         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.ap.oie.webui.ConfirmationCO.processRequest(ConfirmationCO.java:119)
         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.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351)
         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:1133)
         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:2318)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:88)
         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)
         at oa_html._OA._jspService(_OA.java:98)
         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:534)
    =================================================================
    Any idea why it would work fine for one page and give this error for the other? Where should I start looking from?
    oracle.apps.ap.oie.webui.ConfirmationCO is associated to both the pages at the flowLayout level, and its PR is :
    ===============================================================
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    if(oapagecontext.isLoggingEnabled(2))
    oapagecontext.writeDiagnostics(this, "start processRequest", 2);
    super.processRequest(oapagecontext, oawebbean);
    String s = NavigationUtility.getCurrentPage(oapagecontext);
    oapagecontext.putTransactionValue("ReturnFromROTo", s);
    OAApplicationModule oaapplicationmodule = oapagecontext.getRootApplicationModule();
    OAApplicationModule oaapplicationmodule1 = oapagecontext.getApplicationModule(oawebbean);
    boolean flag = oapagecontext.getTransactionValue("IsCCPages").equals("Y");
    boolean flag1 = NavigationUtility.isFromWF(oapagecontext);
    boolean flag2 = NavigationUtility.isFromReporting(oapagecontext);
    boolean flag3 = NavigationUtility.isFromDBI(oapagecontext);
    boolean flag4 = !flag1 && !flag2 && !flag3;
    if(oapagecontext.getParameter("NtfId") != null)
    oapagecontext.putTransactionValue("NtfId", oapagecontext.getParameter("NtfId"));
    if(class$java$lang$Boolean == null)
    class$java$lang$Boolean = _mthclass$("java.lang.Boolean");
    boolean flag5 = "OIEMAINPAGE".equals(s);
    if(flag5)
    if("ALLOW_WARNINGS".equals(oapagecontext.getTransactionValue("SubmitWithViolations")))
    Serializable aserializable[] = {
    Boolean.TRUE
    Class aclass[] = {
    java.lang.Boolean.class
    oaapplicationmodule.invokeMethod("initTempPolicyViolationsVO", aserializable, aclass);
    oaapplicationmodule.invokeMethod("updateExpenseDates");
    oaapplicationmodule1.invokeMethod("setSummaryVOs");
    if(flag)
    oaapplicationmodule.invokeMethod("buildCreditCardVOsForReviewVO");
    oaapplicationmodule1.invokeMethod("calculateSummaryTotals");
    String s1 = (String)oaapplicationmodule.invokeMethod("getInvoiceNum");
    oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean oapagelayoutbean = oapagecontext.getPageLayoutBean();
    MessageToken amessagetoken[] = {
    new MessageToken("INVOICENUM", s1)
    String s2 = oapagecontext.getMessage("SQLAP", "OIE_CONFIRMATION_TITLE", amessagetoken);
    oapagelayoutbean.setTitle(s2);
    Serializable aserializable1[] = {
    Boolean.TRUE
    Class aclass1[] = {
    java.lang.Boolean.class
    boolean flag6 = false;
    if(flag4)
    oawebbean.findChildRecursive("submissionInstructionsHeader").setRendered(true);
    String s3 = oapagecontext.getMessage("SQLAP", "OIE_EXP_SUB_INSTRUCTIONS", null);
    OARawTextBean oarawtextbean = (OARawTextBean)oawebbean.findChildRecursive("InstructionsRawText");
    oarawtextbean.setText(s3);
    if("ALLOW_WARNINGS".equals(oapagecontext.getTransactionValue("SubmitWithViolations")))
    if(flag)
    flag6 = ((Boolean)oaapplicationmodule.invokeMethod("anyReceiptViolation", aserializable1, aclass1)).booleanValue();
    if(!flag6)
    Serializable aserializable2[] = {
    Boolean.FALSE
    flag6 = ((Boolean)oaapplicationmodule.invokeMethod("anyReceiptViolation", aserializable2, aclass1)).booleanValue();
    if(!flag5)
    OAException oaexception = null;
    if(oaapplicationmodule.invokeMethod("getOverrideApproverName") != null)
    if(!flag6)
    MessageToken amessagetoken1[] = {
    new MessageToken("INVOICENUM", s1), new MessageToken("REPORTTOTAL", (String)oaapplicationmodule1.invokeMethod("getExpenseReportTotal")), new MessageToken("APPROVER", (String)oaapplicationmodule.invokeMethod("getOverrideApproverName"))
    oaexception = new OAException("SQLAP", "OIE_EXP_REPORT_SUBMISSION", amessagetoken1, (byte)3, null);
    } else
    MessageToken amessagetoken2[] = {
    new MessageToken("INVOICENUM", s1), new MessageToken("APPROVER", (String)oaapplicationmodule.invokeMethod("getOverrideApproverName"))
    oaexception = new OAException("SQLAP", "OIE_POL_VIOLATION_CONF_WRN", amessagetoken2, (byte)3, null);
    } else
    if(!flag6)
    String s4 = null;
    try
    s4 = oapagecontext.getTransactionValue("SupervisorName").toString();
    catch(Exception _ex) { }
    MessageToken amessagetoken5[] = {
    new MessageToken("INVOICENUM", s1), new MessageToken("REPORTTOTAL", (String)oaapplicationmodule1.invokeMethod("getExpenseReportTotal")), new MessageToken("APPROVER", s4)
    if(s4 == null)
    oaexception = new OAException("SQLAP", "OIE_EXP_REPORT_SUBMISSION2", amessagetoken5, (byte)3, null);
    else
    oaexception = new OAException("SQLAP", "OIE_EXP_REPORT_SUBMISSION", amessagetoken5, (byte)3, null);
    } else
    MessageToken amessagetoken3[] = {
    new MessageToken("INVOICENUM", s1)
    oaexception = new OAException("SQLAP", "OIE_POL_VIOLATION_CONF_WRN2", amessagetoken3, (byte)3, null);
    oaexception.setApplicationModule(oaapplicationmodule1);
    oapagecontext.putDialogMessage(oaexception);
    setupAuditString(oapagecontext, oawebbean, oaapplicationmodule);
    } else
    if(flag4)
    OAException oaexception1 = null;
    MessageToken amessagetoken4[] = {
    new MessageToken("INVOICENUM", s1)
    String s5 = oapagecontext.getMessage("SQLAP", "OIE_HIST_CONFIRM_HEADER3", amessagetoken4);
    MessageToken amessagetoken6[] = {
    new MessageToken("MESSAGE", s5)
    oaexception1 = new OAException("SQLAP", "OIE_HIST_CONFIRM_HEADER", amessagetoken6, (byte)3, null);
    oaexception1.setApplicationModule(oaapplicationmodule1);
    oapagecontext.putDialogMessage(oaexception1);
    setupAuditString(oapagecontext, oawebbean, oaapplicationmodule);
    setupShortPayAndAdjustTips(oapagecontext, oawebbean, oaapplicationmodule);
    if(oapagecontext.getParameter("IcxPrintablePageButton") != null)
    oawebbean.findChildRecursive("printablePageBackButtonHint").setRendered(true);
    oapagecontext.removeParameter("IcxPrintablePageButton");
    StringBuffer stringbuffer = (StringBuffer)oaapplicationmodule.invokeMethod("getCustomizedExpRepSummary");
    if(stringbuffer != null)
    OARawTextBean oarawtextbean1 = (OARawTextBean)oawebbean.findChildRecursive("CustomizedExpReportSummary");
    oarawtextbean1.setRendered(true);
    oarawtextbean1.setText(stringbuffer.toString());
    oawebbean.findChildRecursive("OIEREVGENERALINFO").setRendered(true);
    oawebbean.findChildRecursive("ConfirmSubTabsRN").setRendered(true);
    oapagecontext.putTransactionValue("TransactionComplete", "Y");
    oapagecontext.putTransactionValue("ValidateComplete", "N");
    if(oapagecontext.isLoggingEnabled(2))
    oapagecontext.writeDiagnostics(this, "end processRequest", 2);
    ===============================================================
    I haven't been able to run this page on my local Jdev (Error running seeded iExpense Page so I can't run it in debug mode.
    Any suggestions?

    This error is on deployed code. I am unable to run the page on my local Jdev install. Hence I am forced to run it on the instance itself.
    Below is the PR for the extension:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println(" xxfnConfirmationPageCO -> In PR");
    if (pageContext.isLoggingEnabled(2))
    pageContext.writeDiagnostics(this," Starting xxfnConfirmationPageCO.ProcessRequest",2);
    OAApplicationModule oam = (OAApplicationModule)pageContext.getRootApplicationModule();
    System.out.println(" Root AM "+oam);
    OADBTransaction trxn = (OADBTransaction)oam.getOADBTransaction();
    System.out.println(" OADBTransaction "+trxn);
    String msg = "PR-> ";
    // get the Expense Report Number
    String expenseReportNum = (String)oam.invokeMethod("getInvoiceNum");
    if (expenseReportNum == null) expenseReportNum = "EXP98283";
    System.out.println(" Invoice Number "+expenseReportNum);
    /* Get the Report Header Id. This is used to name the image file */
    String reportHeaderId = pageContext.getDecryptedParameter("ReportHeaderId");
    if (reportHeaderId == null) reportHeaderId = "98283";
    msg = msg+" *"+expenseReportNum+"*"+reportHeaderId+"* ";
    //OAApplicationModule summaryAM = (OAApplicationModule)oam.findApplicationModule("SummaryAM");
    //System.out.println(" Summary AM "+summaryAM);
    * Find the Receipt Required Status for the expense report.
    * Bar Code will be generated ONLY if the receipt status is REQUIRED
    OAViewObject vo = (OAViewObject)oam.findViewObject("ExpenseReportHeadersVO");
    //System.out.println(" Table VO Query "+vo.getQuery());
    Row row = vo.getCurrentRow();//.getAttribute("ReportLineId");
    String receiptStatus = null;
    String faxId = null;
    String oaHtmlpath = pageContext.getPath();
    String oaMediaPath = oaHtmlpath+"../java/oracle/apps/media/xxfn/oie/";
    String imageFileName = reportHeaderId+".gif";
    pageContext.writeDiagnostics(this," OA_MEDIA Path "+oaMediaPath,2);
    if (row != null)
    //System.out.println(" Row Data ");//+(String)row.getAttribute("ReportLineId"));
    System.out.println(" Receipt Status "+(String)row.getAttribute("ReceiptsStatus"));
    receiptStatus = (String)row.getAttribute("ReceiptsStatus");
    // FaxId is stored in Attribute3 of AP_EXPENSE_REPORT_HEADERS_ALL
    faxId = (String)row.getAttribute("Attribute3");
    else
    System.out.println(" Row Data NOT found");
    //System.out.println(" Img loc "+ pageContext.getOaMediaValue());
    // Check if Printable Page Button has been pressed
    if (pageContext.getParameter("IcxPrintablePageButton") != null)
    * If the Printable page button has been pressed AND receipt status is
    * REQUIRED, make a call to the Barcode WS, else do nothing.
    System.out.println(" Printable Page Button pressed");
    if ("REQUIRED".equals(receiptStatus))
    // Get the parameters required for call to WS
    xxfnVendorId = trxn.getProfile("XXFN_NIE_VENDOR");
    xxfnDocumentTypeId = trxn.getProfile("XXFN_NIE_DOCUMENT_TYPE");
    xxfnCabinetId = trxn.getProfile("XXFN_NIE_CABINET");
    System.out.println(" **** VendorId "+xxfnVendorId+
    " Doc Id "+xxfnDocumentTypeId+
    " Cabinet Id "+xxfnCabinetId+
    " Report Name "+expenseReportNum);
    * Convert faxId, VendorId, DocumentTypeId and CabinetId from String to
    * Number
    //Integer intVendorId = Integer.getInteger(xxfnVendorId);
    int intVendId = Integer.parseInt(xxfnVendorId);
    Integer intVendorId = new Integer(intVendId);
    int intCabId = Integer.parseInt(xxfnCabinetId);
    Integer intCabinetId = new Integer(intCabId);
    int intDocId = Integer.parseInt(xxfnDocumentTypeId);
    Integer intDocumentTypeId = new Integer(intDocId);
    //Integer intFaxId = null;
    //System.out.println(" FaxId "+faxId);
    // Integer intFaxId = Integer.getInteger(faxId);
    //Integer intFaxId = new Integer(Integer.parseInt(faxId));
    //Integer intDocumentTypeId = new Integer(Integer.parseInt(xxfnDocumentTypeId));
    //Integer intCabinetId = new Integer(Integer.parseInt(xxfnCabinetId));
    // Verify if a barcode has already been generated for this invoice.
    if (faxId != null)
    // Barcode already generated for this Expense Report
    System.out.println(" Barcode previously generated ");
    pageContext.writeDiagnostics(this," Barcode Previously Generated ",2);
    Integer intFaxId = new Integer(Integer.parseInt(faxId));
    try
    BarcodeStub stub = new BarcodeStub();
    FaxInfo1 faxInfo2 = (FaxInfo1)stub.FaxBarcodeExisting(intVendorId,intFaxId);
    System.out.println(" Exist Fax Id : "+faxInfo2.getFaxID());
    System.out.println(" ***** "+faxInfo2.getDocumentImage().getSize());
    System.out.println(" ***** "+faxInfo2.getDocumentImage().getDocumentName());
    byte[] bytes1 = new byte[faxInfo2.getDocumentImage().getSize().intValue()];
    for (int i = 0; i < faxInfo2.getDocumentImage().getSize().intValue(); i++)
    bytes1[i] = faxInfo2.getDocumentImage().getBytes().byteValue();
    FileOutputStream out1;
    PrintStream p1;
    try
    out1 = new FileOutputStream(oaMediaPath+imageFileName);
    p1 = new PrintStream( out1 );
    p1.write(bytes1);
    p1.close();
    }catch (Exception ex1)
    ex1.printStackTrace();
    System.out.println(" Re-Displaying Image .. ");
    OAImageBean img = (OAImageBean)webBean.findIndexedChildRecursive("BarCodeImage");
    if (img != null)
    System.out.println(" Image Bean Found ");
    //img.setSource(oaMediaPath+imageFileName);
    img.setSource("/OA_MEDIA/xxfn/oie/"+imageFileName);
    img.setRendered(true);
    }catch (Exception Ex)
    //System.out.println(" Exception in FaxBarCodeExisting "+Ex.printStackTrace());
    Ex.printStackTrace();
    else // FaxId NOT NULL
    //BarCode Does NOT exist for this Expense report
    System.out.println(" Barcode NOT generated previously");
    pageContext.writeDiagnostics(this," Barcode NOT generated previously ",2);
    try {
    BarcodeStub stub1 = new BarcodeStub();
    System.out.println(" VendorId "+intVendorId+
    " Doc Id "+intDocumentTypeId+
    " Cabinet Id "+intCabinetId+
    " Report Name "+expenseReportNum);
    FaxInfo1 faxInfo = (FaxInfo1)stub1.FaxBarcode(new Integer(613),
    new Integer(4131),
    new Integer(913),
    "Test");
    FaxInfo1 faxInfo = (FaxInfo1)stub1.FaxBarcode(intVendorId,
    intDocumentTypeId,
    intCabinetId,
    expenseReportNum);
    System.out.println(" New FaxId: " + faxInfo.getFaxID());
    faxId = faxInfo.getFaxID().toString();
    //System.out.println(" DocumentImage DocumentName: " + faxInfo.getDocumentImage().getDocumentName());
    System.out.println(" Writing Image to File ");
    byte[] bytes = new byte[faxInfo.getDocumentImage().getSize().intValue()];
    for (int i = 0; i < faxInfo.getDocumentImage().getSize().intValue(); i++)
    bytes[i] = faxInfo.getDocumentImage().getBytes()[i].byteValue();
    FileOutputStream out;
    PrintStream p;
    System.out.println(" Saving FaxId to attribute3 ");
    vo.setWhereClause("REPORT_HEADER_ID = :1");;
    vo.setWhereClauseParam(0,reportHeaderId);
    vo.executeQuery();
    //System.out.println(" Query Executed "+vo.getQuery());
    Row nRow = vo.first();
    //Row nRow = vo.getCurrentRow();
    if (nRow != null)
    System.out.println(" Rows Found !!! ");
    nRow.setAttribute("Attribute3",faxId);
    //trxn.commit();
    System.out.println(" Committed ... ");
    else
    System.out.println(" No Rows Found !!! ");
    // System.out.println(" 8888 "+ nRow.getAttribute("ReportHeaderId"));
    //nRow.setAttribute("Attribute3",faxId);
    //trxn.commit();
    try
    //out = new FileOutputStream(filePath+"..\\OA_MEDIA\\"+faxInfo.getDocumentImage().getDocumentName());
    //out = new FileOutputStream(oaMediaPath+reportHeaderId+".gif");
    out = new FileOutputStream(oaMediaPath+imageFileName);
    p = new PrintStream( out );
    p.write(bytes);
    p.close();
    msg = msg+" ckpt3.4 ";
    } catch (Exception fEx)
    System.out.println(" Error writing File "+fEx);
    System.out.println(" Displaying Image .. ");
    OAImageBean img = (OAImageBean)webBean.findIndexedChildRecursive("BarCodeImage");
    if (img != null)
    System.out.println(" Image Bean Found ");
    //img.setSource("/OA_MEDIA/"+reportHeaderId+".gif");
    // img.setSource(oaMediaPath+imageFileName);
    img.setSource("/OA_MEDIA/xxfn/oie/"+imageFileName);
    img.setRendered(true);
    }catch (Exception faxEx)
    System.out.println(" Error in FaxBarcode "+faxEx);
    faxEx.printStackTrace();
    trxn.commit();
    The above code works absolutely fine from OIEMAINPAGE, but errors for ConfirmationPG.

  • Dynamically changing image of personalized item

    Hi,
    I personalized a StackLayout region in a seeded page and added an image item in it. But I want to programatically change the image.
    In the PFR of the controller, I am trying to do the following:
    OAImageBean img = (OAImageBean)webBean.findChildRecursive("BarCodeImage");
    System.out.println(" Image "+img.getSource());
    But I get a NPE error:
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2662)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.ap.oie.webui.xxfnPPCO.processFormRequest(xxfnPPCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:804)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean.processFormRequest(OAPageButtonBarBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1015)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1156)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2658)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at oracle.apps.ap.oie.webui.xxfnPPCO.processFormRequest(xxfnPPCO.java:55)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:804)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean.processFormRequest(OAPageButtonBarBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1015)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1156)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:821)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2658)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1665)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Is it not the correct way of getting a handle of the image bean?
    The Personalization structure is :
    Page Layout > Flow Layout: Confirmation Page >
    Stack Layout: (OIEConfirmPage.ConfirmationPgStackLayout)
    BarCodeImage (image item).

    Hi,
    I extended the page level controller in my custom controller, and substituted the page level controller with my custom controller.
    But i see that the same event is called twice, the first time I get a handle of all the beans I need, but not the second time.
    For example, the controller code is:
    public class xxfnPPCO extends oracle.apps.ap.oie.entry.summary.webui.ConfirmationPageCO
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    System.out.println("xxfnPPCO -> In PR");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    System.out.println("xxfnPPCO -> In PFR");
    if (pageContext.getParameter("xxfnPrintablePageButton") != null)
    System.out.println("xxfnPrintablePageButton is NOT NULL");
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
    System.out.println(" AM -> "+am);
    System.out.println(" RepoerHeaderId "+
    pageContext.getDecryptedParameter("ReportHeaderId") );
    OAFlowLayoutBean flw = (OAFlowLayoutBean)webBean.findChildRecursive("OIEConfirmPage");
    System.out.println(" Flw Lay "+flw);
    OAStackLayoutBean stk = (OAStackLayoutBean)webBean.findChildRecursive("ConfirmationPgStackLayout");
    System.out.println(" Stck Lay "+stk);
    OAImageBean img = (OAImageBean)webBean.findIndexedChildRecursive("Image1");
    if (img != null)
    System.out.println(" Bean Found "+img+" Source = "+img.getSource());
    else
    System.out.println(" Bean NOT Found");
    //System.out.println(" Image "+img);
    else
    System.out.println("xxfnPrintablePageButton is NULL");
    The log messages are:
    xxfnPPCO -> In PFR
    xxfnPrintablePageButton is NOT NULL
    AM -> oracle.apps.ap.oie.server.WebExpensesAMImpl@b173c3
    RepoerHeaderId 12725
    Flw Lay OAFlowLayoutBean, localName='flowLayout'
    Stck Lay OAStackLayoutBean, localName='stackLayout'
    Bean FoundOAImageBean, localName='image'
    >> In processFormRequest null
    xxfnPPCO -> In PFR
    xxfnPrintablePageButton is NOT NULL
    AM -> oracle.apps.ap.oie.server.WebExpensesAMImpl@e1ed5b
    RepoerHeaderId 12725
    Flw Lay null
    Stck Lay null
    Bean NOT Found
    Not sure why the PFR is firing for the second time.
    Any Idea how to debug this?

  • Input Combobox LOV as a Navigation List?

    Hi OTN,
    when I drag a datasource on a page and drop it as "Navigation - Navigation List" a selectOneChoice is created.
    Is there an opportunity to use Input Combobox List of Value as a navigation list? I would really like to use its search and MRU ability.
    I tried to drop an attribute as an Input Combobox LOV and change ListOperMode to "navigation" in Bindings - but I get NPE in oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator
    (BEA-000000).
    Thanks.
    JDev 11.1.1.3

    Hi all
    we are also interested for that feature. It is very usefull when the number of the elements are too many for a selectonechoice
    Tilemahos

  • Error using setTimestamp and ojdbc14 against Oracle 7.3.4

    I am having a problem setting a timestamp value against Oracle 7.3.4 and Oracle 8.0.6 databases.
    Here's the code:
    public Tester
    (String passedUsername, String passedPassword, String passedHostName, String passedPort, String passedSID)
    throws SQLException {
    // Establish a database connection
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    } catch (ClassNotFoundException e) { throw new SQLException("Can't find class oracle.jdbc.driver.OracleDriver"); }
    StringBuffer myStringBuffer = new StringBuffer(50);
    myStringBuffer.append("jdbc:oracle:thin:@");
    myStringBuffer.append(passedHostName);
    myStringBuffer.append(":");
    myStringBuffer.append(passedPort);
    myStringBuffer.append(":");
    myStringBuffer.append(passedSID);
    Connection myConnection = DriverManager.getConnection(myStringBuffer.toString(), passedUsername, passedPassword);
    myConnection.setAutoCommit(false);
    // Insert the test record
    PreparedStatement myPreparedStatement = null;
    try {
    myPreparedStatement = myConnection.prepareStatement("insert into test_table(date_field) values (?)");
    myPreparedStatement.setTimestamp(1, new Timestamp(System.currentTimeMillis()));
    myPreparedStatement.execute();
    } finally {
    if (myPreparedStatement != null) myPreparedStatement.close();
    Here's the error that occurs under Oracle 7.3.4:
    java.sql.SQLException: ORA-01024: invalid datatype in OCI call
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
         at Tester.<init>(Tester.java:46)
         at Tester.main(Tester.java:62)
    Here's the error that occurs under Oracle 8.0.6:
    java.sql.SQLException: ORA-03115: unsupported network datatype or representation
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:589)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:656)
         at Tester.<init>(Tester.java:46)
         at Tester.main(Tester.java:62)
    Note that the table in the insert statement does not have to exist. You can even replace the statement with a garbage statement.
    The error is produced regardless.
    The code is being compiled under JDK 1.4
    I am using the latest version of the JDBC drivers (i.e. ojdbc14.jar)
    The code works fine under Oracle 8.1.7 and 9.0.1
    My code needs to access all four of these database version, sometimes concurrently, so I can only use a single driver class (i.e. I can't swap out ojdbc14.jar for classes12.zip).
    Any feedback would be appreciated!

    Hi,
    Only to say that we have the same problem like you:
    - Error ORA-01024 when connection to Oracle 8.0.1 on Sun Solaris
    - Error ORA-03115 when connection to Oracle 8.1.5 on Windows
    We are thinking about upgrading Oracle. Is it the only solution?
    Thank you

  • SetTimestamp in Tomcat + Oracle 9i ignores milliseconds

    Hi all,
    I have a problem when using setTimestamp in Tomcat + Oracle 9i becouse it ignores milliseconds in the database.
    It�s a J2EE app that runs on Tomcat and OC4J as a server and Postgres and Oracle 9i as a DDBB. It works OK with OC4J + Oracle but it ignores the milliseconds when I use Tomcat.
    I�m using setTimestamp(java.sql.Timestamp)
    Driver used is classes12.jar, jdk 1.4.1, ...
    Any Idea?
    Thanks

    1- try ojdb14.jar instead of classes12.jar
    2- add this to the context of your web app:
              <parameter>
                   <name>connectionProperties</name>
                   <value>oracle.jdbc.V8Compatible=true</value>
              </parameter>3- i don't think this is a tomcat problem:
    See http://www.databasejournal.com/features/oracle/article.php/2234501

  • SetTimestamp in Oracle 9i

    I have been having a few problems with 9i and their new timestamp data type. The latest has to do with java.sql.setTimestamp(int,String) - basically I can't get it to work. If I write a prepared statement like:
    sql.append("insert into test_timestamp values('" + timestamp + "',null)");
    where my NLS is set up OK and timestamp is:
    java.sql.Timestamp timestamp = new java.sql.Timestamp(System.currentTimeMillis());
    it will work OK. If I switch to:
    sql.append("insert into test_timestamp values(?,null)");     
    ps.setTimestamp(1, timestamp);
    I lose my fractional seconds.
    Any thoughts? Is this Oracle's driver doing this? Do I have to use a simpledateformat with setTimestamp?
    -Lou

    Oracle only supports a timestamp to seconds - millis are ignored.

  • NPE while running Oracle Loader for Hadoop

    Hi everyone,
    I am trying to export a hive table named 'test' into Oracle RDBMS table 'TEST' which is partitioned.
    I created the table using :
    create table TEST (FOO number(10),FOO2 varchar2(100))
    PARTITION BY RANGE(FOO)
    PARTITION test_p1 VALUES LESS THAN(500),
    PARTITION test_p2 VALUES LESS THAN(1000),
    PARTITION test_p3 VALUES LESS THAN(MAXVALUE)
    My hive's table name is 'test' in 'default' database.
    I am getting following error:
    $ bin/hadoop jar oraloader.jar oracle.hadoop.loader.OraLoader -conf test_oraloader_conf.xml -fs hdfs://hadoop-namenode:9000 -jt hadoop-namenode:9001
    Oracle Loader for Hadoop Release 1.1.0.0.1 - Production
    Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    12/02/29 15:44:48 INFO loader.OraLoader: Oracle Loader for Hadoop Release 1.1.0.0.1 - Production
    Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
    Exception in thread "main" java.lang.NullPointerException
    at java.nio.ByteBuffer.wrap(ByteBuffer.java:373)
    at oracle.hadoop.loader.DBPartition$VarLenDecoderIterator.<init>(DBPartition.java:809)
    at oracle.hadoop.loader.DBPartition.decodeVariableLengthEncodedList(DBPartition.java:791)
    at oracle.hadoop.loader.DBKey.parseHiboundVal(DBKey.java:114)
    at oracle.hadoop.loader.DBStaticRangePartition.<init>(DBStaticRangePartition.java:88)
    at oracle.hadoop.loader.DBPartition.getStrategy(DBPartition.java:381)
    at oracle.hadoop.loader.DBPartition.<init>(DBPartition.java:242)
    at oracle.hadoop.loader.OraLoader.checkRuntime(OraLoader.java:190)
    at oracle.hadoop.loader.OraLoader.run(OraLoader.java:375)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at oracle.hadoop.loader.OraLoader.main(OraLoader.java:734)
    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:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
    Please help on this. Thanks in advance.
    Regards,
    Rakesh Kumar Rakshit

    Rakesh,
    What version of the database are you running? Do you have the required patch installed for your version?
    http://docs.oracle.com/cd/E27101_01/doc.10/e27365/start.htm#CHDIJGJD
    A target database system running one of the following:
    Oracle Database 10g Release 2 (10.2.0.5) with required patch
    Oracle Database 11g Release 2 (11.2.0.2) with required patch
    Oracle Database 11g Release 2 (11.2.0.3)
    Note:
    To use Oracle Loader for Hadoop with Oracle Database 10g Release 2 (10.2.0.5) or Oracle Database 11g Release 2 (11.2.0.2), you must first apply a one-off patch that addresses bug number 11897896. To access this patch, go to http://support.oracle.com and search for the bug number.

  • Get date from Oracle when local time zone is different from Oracle time zon

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send e.g. 28.06.2002, but in Oracle date is save as 27.06.2002 01:00 (hour=01 , I suppose that is because java.sql.Date hasn't time the Oracle set it time = time zone=+1) And when I get date from Oracle I get incorrect date. In SQL I don't use date masks. Maybe solution is to use java.sql.Timestamp object (when save date to Oracle) instead of java.sql.Date?
    But if I save date at e.g. 01:00 clock and send e.g. 28:06.2002 in Oracle, date is save as 28.06.2002 01:00 and when I read from Oracle I get correct date.
    Thank you.

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send
    e.g. 28.06.2002, but in Oracle date is save as
    27.06.2002 01:00 (hour=01 , I suppose that is because
    java.sql.Date hasn't time the Oracle set it time =
    time zone=+1) Presumably you are using setTimestamp() to store the value. If you are explicitly using a varchar (string) then you will have to correct the timezone your self.
    And when I get date from Oracle I get
    incorrect date. In SQL I don't use date masks. Maybe
    solution is to use java.sql.Timestamp object (when
    save date to Oracle) instead of java.sql.Date?The method setDate/getDate store a 'date' which is not the same as a 'date and time' for which setTimestamp/getTimestamp are used.
    But if I save date at e.g. 01:00 clock and send e.g.
    28:06.2002 in Oracle, date is save as 28.06.2002
    01:00 and when I read from Oracle I get correct date.
    Thank you.

  • NPE 10.1.3.1 - Can you solve it?

    I get an NPE in OC4J 10.1.3.1 that I did not get in OC4J 9.0.4.
    The easisest way to explain it that it seems that a ResultSet that is populated in a bean, via JSP javascript invocation, is "lost" once that same JSP attempts to access it for display.
    You will see by my debug statements that ResultSet is populated (in SQLDataSource.java) with 1902 rows. I have commented out debug statements that I previoulsy executed to access the ResultSetMetaData and that is all in tact. Further, I even debugged the getString in the that same code and found it to be in tact.
    First I'll give you the trace and then I'll provide the JSPs java file where the error is on line 66 as:
    out.print( detail.getString("ACCT") );
    All of this is followed by links to view all pertinent code:
    TRACE
    =====
    07/04/27 10:42:57 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    07/04/27 10:43:10 [DEBUG]: Using old session!
    07/04/27 10:43:12 [DEBUG]: User is not Inactive.
    07/04/27 10:43:12 [DEBUG]: defaultTemplate in ServletAdapter is /myinetmrp/my.jsp
    07/04/27 10:43:17 [DEBUG]: ReportWriter.service()
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[null]: SQLDataSource(AcctList_Count)
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList_Count]: End FileDataSource. Setting this.queryFile
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[null]: SQLDataSource(AcctList)
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: End FileDataSource. Setting this.queryFile
    07/04/27 10:43:17 [DEBUG]: The method is defaultMethod
    07/04/27 10:43:17 [DEBUG]: ReportWriter.defaultMethod
    07/04/27 10:43:17 [DEBUG]: refresh(req, res)
    07/04/27 10:43:17 [DEBUG]: Setting first = 1, last = 20 and ServeletEventFetchSize = 20
    07/04/27 10:43:17 [DEBUG]: defaultTemplate in ServletAdapter is /apps/AcctList.jsp
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: execute()
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: Loading query from FileDataSource file C:\OC4J_10131\j2ee\home\applications\intemrp\intemrp\apps\AcctList.sql
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: command:
    select ACCT
    ,VDESC
    ,TYPE
    ,MISC_TAX_CODE
    from GL
    where ACCT <> ' '
    and 1=1
    order by ACCT
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: total Rows in resultSet = 1902
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: execute() in finally.
    07/04/27 10:43:17 com.sage.servlet.FileDataSource[AcctList]: getString string(ACCT)
    07/04/27 10:43:17 java.lang.NullPointerException
    07/04/27 10:43:17 at oracle.jdbc.driver.ScrollableResultSet.findColumn(ScrollableResultSet.java:1308)
    07/04/27 10:43:17 at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1572)
    07/04/27 10:43:17 at com.sage.servlet.SQLDataSource.getString(SQLDataSource.java:432)
    07/04/27 10:43:17 at apps.AcctList._jspService(_AcctList.java:66)
    07/04/27 10:43:17 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    07/04/27 10:43:17 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    07/04/27 10:43:17 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    07/04/27 10:43:17 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    07/04/27 10:43:17 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher.unprivileged_include(ServletRequestDispatcher.java:160)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher.access$000(ServletRequestDispatcher.java:50)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher$1.oc4jRun(ServletRequestDispatcher.java:97)
    07/04/27 10:43:17 at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:102)
    07/04/27 10:43:17 at com.sage.servlet.ServletAdaptor.includeJSP(ServletAdaptor.java:124)
    07/04/27 10:43:17 at com.sage.servlet.ServletAdaptor.includeDefaultJSP(ServletAdaptor.java:96)
    07/04/27 10:43:17 at com.sage.servlet.ReportWriter.service(ReportWriter.java:79)
    07/04/27 10:43:17 at inetmrp.servlet.HttpsReportWriter.service(HttpsReportWriter.java:91)
    07/04/27 10:43:17 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/04/27 10:43:17 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/04/27 10:43:17 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    07/04/27 10:43:17 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    07/04/27 10:43:17 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    07/04/27 10:43:17 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/04/27 10:43:17 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/04/27 10:43:17 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/04/27 10:43:17 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/04/27 10:43:17 at java.lang.Thread.run(Thread.java:595)
    Here is the _AcctList.java
    ===================
    package _apps;
    import oracle.jsp.runtime.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public class _AcctList extends com.orionserver.http.OrionHttpJspPage {
    // ** Begin Declarations
    // ** End Declarations
    public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
    response.setContentType( "text/html;charset=iso-8859-1");
    /* set up the intrinsic variables using the pageContext goober:
    ** session = HttpSession
    ** application = ServletContext
    ** out = JspWriter
    ** page = this
    ** config = ServletConfig
    ** all session/app beans declared in globals.jsa
    PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, "/JspError.jsp", true, JspWriter.DEFAULT_BUFFER, true);
    // Note: this is not emitted if the session directive == false
    HttpSession session = pageContext.getSession();
    int __jsp_tag_starteval;
    ServletContext application = pageContext.getServletContext();
    JspWriter out = pageContext.getOut();
    _AcctList page = this;
    ServletConfig config = pageContext.getServletConfig();
    com.evermind.server.http.JspCommonExtraWriter __ojsp_s_out = (com.evermind.server.http.JspCommonExtraWriter) out;
    try {
    __ojsp_s_out.write(__oracle_jsp_text[0]);
    __ojsp_s_out.write(__oracle_jsp_text[1]);
    com.inetmrp.beans.WebUserSession webUserSession;
    synchronized (session) {
    if ((webUserSession = (com.inetmrp.beans.WebUserSession) pageContext.getAttribute( "webUserSession", PageContext.SESSION_SCOPE)) == null) {
    webUserSession = (com.inetmrp.beans.WebUserSession) new com.inetmrp.beans.WebUserSession();
    pageContext.setAttribute( "webUserSession", webUserSession, PageContext.SESSION_SCOPE);
    __ojsp_s_out.write(__oracle_jsp_text[2]);
    com.sage.servlet.SQLDataSource detail = ((com.sage.servlet.SQLDataSource)request.getAttribute( "AcctList" ));
    // Utility variables:
    int firstRow = Integer.parseInt( (String)request.getAttribute( "firstRow" ) );
    int lastRow = Integer.parseInt( (String)request.getAttribute( "lastRow" ) );
    int fetchSize = Integer.parseInt( (String)request.getAttribute( "ServletEventFetchSize" ) );
    int fetchRow = 0;
    boolean isFirstPage = (firstRow==1?true:false);
    boolean isLastPage = false;
    __ojsp_s_out.write(__oracle_jsp_text[3]);
    while ( !(isLastPage = !detail.next()) && (detail.getRow() <= lastRow) ) {
    fetchRow = detail.getRow();
    __ojsp_s_out.write(__oracle_jsp_text[4]);
    out.print( detail.getString("ACCT") );
    __ojsp_s_out.write(__oracle_jsp_text[5]);
    out.print( detail.getString("ACCT"));
    __ojsp_s_out.write(__oracle_jsp_text[6]);
    out.print( detail.getString("ACCT") );
    __ojsp_s_out.write(__oracle_jsp_text[7]);
    out.print( detail.getString("ACCT"));
    __ojsp_s_out.write(__oracle_jsp_text[8]);
    out.print( detail.getString("VDESC") );
    __ojsp_s_out.write(__oracle_jsp_text[9]);
    __ojsp_s_out.write(__oracle_jsp_text[10]);
    out.print( request.getParameter( "SELECT1" ) );
    __ojsp_s_out.write(__oracle_jsp_text[11]);
    out.print( request.getParameter("COMPARE1") );
    __ojsp_s_out.write(__oracle_jsp_text[12]);
    out.print( request.getParameter("TEXT1") );
    __ojsp_s_out.write(__oracle_jsp_text[13]);
    out.print( request.getParameter( "SELECT2" ) );
    __ojsp_s_out.write(__oracle_jsp_text[14]);
    out.print( request.getParameter("COMPARE2") );
    __ojsp_s_out.write(__oracle_jsp_text[15]);
    out.print( request.getParameter("TEXT2") );
    __ojsp_s_out.write(__oracle_jsp_text[16]);
    out.print( fetchSize );
    __ojsp_s_out.write(__oracle_jsp_text[17]);
    out.print( fetchRow );
    __ojsp_s_out.write(__oracle_jsp_text[18]);
    if ( !isFirstPage ) {
    __ojsp_s_out.write(__oracle_jsp_text[19]);
    __ojsp_s_out.write(__oracle_jsp_text[20]);
    if ( !isLastPage ) {
    __ojsp_s_out.write(__oracle_jsp_text[21]);
    __ojsp_s_out.write(__oracle_jsp_text[22]);
    catch (Throwable e) {
    if (!(e instanceof javax.servlet.jsp.SkipPageException)){
    try {
    if (out != null) out.clear();
    catch (Exception clearException) {
    pageContext.handlePageException(e);
    finally {
    OracleJspRuntime.extraHandlePCFinally(pageContext, true);
    JspFactory.getDefaultFactory().releasePageContext(pageContext);
    private static final byte __oracle_jsp_text[][]=new byte[23][];
    static {
    try {
    __oracle_jsp_text[0] =
    "\r\n".getBytes("ISO8859_1");
    __oracle_jsp_text[1] =
    "\r\n".getBytes("ISO8859_1");
    __oracle_jsp_text[2] =
    "\r\n".getBytes("ISO8859_1");
    __oracle_jsp_text[3] = (etc....)
    catch (Throwable th) {
    System.err.println(th);
    And now the links to view all pertinent code:
    http://www.sagesoftwaresystems.com/inetmrp/AppsMenu.jsp
    http://www.sagesoftwaresystems.com/inetmrp/AcctSearch.jsp
    http://www.sagesoftwaresystems.com/inetmrp/AcctList.java
    http://www.sagesoftwaresystems.com/inetmrp/AcctList.jsp
    http://www.sagesoftwaresystems.com/inetmrp/AcctList.sql
    http://www.sagesoftwaresystems.com/inetmrp/AcctList_Count.sql
    http://www.sagesoftwaresystems.com/inetmrp/FileDataSource.java
    http://www.sagesoftwaresystems.com/inetmrp/SQLDataSource.java
    http://www.sagesoftwaresystems.com/inetmrp/ReportWriter.java
    http://www.sagesoftwaresystems.com/inetmrp/HttpsReportWriter.java
    http://www.sagesoftwaresystems.com/inetmrp/HttpsServletAdapter.java
    http://www.sagesoftwaresystems.com/inetmrp/ServletAdapter_inetmrp.java
    http://www.sagesoftwaresystems.com/inetmrp/ServletAdapter_sage.java
    TIA for the answer to this seemingly unsolvable probelm,
    Ed.

    Sorry, mis-spelled the following file names.
    http://www.sagesoftwaresystems.com/inetmrp/HttpsServletAdaptor.java
    http://www.sagesoftwaresystems.com/inetmrp/ServletAdaptor_inetmrp.java
    http://www.sagesoftwaresystems.com/inetmrp/ServletAdaptor_sage.java

  • Oracle 8.1.5 - jdbc driver problem

    I am using Oracle8.1.5 (personal oracle) for database. I am trying to retrieve the data from JAVA(JDK 1.3). I use the following driver and its manager in the Java program:-
    DriverManager.registerDriver(new Oracle.jdbc.driver.OracleDriver());
    Class.forName("Oracle.jdbc.driver.OracleDriver");
    However Java is not getting compiled with the following error message:-
    Cannot resolve symbol:
    package: driver
    class: DriverManager
    I would request your goodselves to help me out. Thank you in anticipation.
    Regards,
    Sivaswamy

    Thanks for the reply.
    Have you tried manually taking the current time and
    converting it to the way Oracle is expecting it? If I embed a TO_DATE and format it, it works fine, but I want to stay database independent. Is that want you mean?
    Or how about using new java.util.Date() to get the
    current date?Not sure I follow you:
    --- insertStmt.setTimestamp(5, new java.sql.Date(System.currentTimeMillis()));
    Gives an error since setTimestamp expects a java.sql.Timestamp and
    --- insertStmt.setDate(5, new java.sql.Date(System.currentTimeMillis()));
    Only stores the date without the time.
    Thanks again,
    Todd

Maybe you are looking for

  • No BOM explosion in assembly order

    Dear Experts, I am running a assembly order, type PP04 which is directly created from a sales order.  During the creation, the BOM is exploded. My question is that how can I disable the BOM explosion as I want to enter all the components according to

  • Problem With Cyan Updates!

    My lumia 920 did the cyan update last night and after the update everything is faulty. It doesnt detect my sim like before, it is set to flight mode and i cant set it back now. the time and date is always off. Cant turn it on for long and i cant upda

  • Webloc files from drag and drop

    Ok, before I start, let me say, I know this probably isn't the best place to post this, but I really don't know where else to ask. For YEARS I have dragged images out of (generally) firefox (but also safari) windows/tabs and dropped them into my maps

  • Removing gridpaper lines on scans with live trace?

    Hi everyone In my continuing struggle to get the 'perfect' scanned images vectorized I would like to solicit the advice of the forum again i wish to remove/ignore in live trace the grid lines that are printed on certain notepad paper, but whilst reta

  • Macbook pro 2010 battery status dropped?

    I to all, my macbook pro battery has dropped in a week. i need to change or there is system to restore?