Error while execution ODI procedure : java.lang.NullPointerException

Hi,
I`m trying to execute a simple ODI procedure and I`m getting the following exception:
java.lang.NullPointerException
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.j(e.java)
     at com.sunopsis.dwg.cmd.g.F(g.java)
     at com.sunopsis.dwg.dbobj.SnpScen.a(SnpScen.java)
     at com.sunopsis.dwg.dbobj.SnpScen.localExecuteSync(SnpScen.java)
     at com.sunopsis.dwg.tools.StartScen.actionExecute(StartScen.java)
     at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenario.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.j(e.java)
     at com.sunopsis.dwg.cmd.g.z(g.java)
     at com.sunopsis.dwg.cmd.e.run(e.java)
     at java.lang.Thread.run(Thread.java:595)
The source of the procedure:
select
P_ID,
P_NAME,
to_char(START_TIME_KEY,'DD-MON-YYYY HH24:MI:SS') as START_TIME_KEY,
to_char(END_TIME_KEY,'DD-MON-YYYY HH24:MI:SS') as END_TIME_KEY,
P_IS_ACTIVE,
from persons
The target of the procedure:
DECLARE
v_START_TIME_KEY DATE;
v_END_TIME_KEY DATE;
v_NAME VARCHAR2(200);
v_ID NUMBER;
BEGIN
v_NAME := '#P_NAME';
commit;
END;
ODI version: 10.1.3.5.5
Source and target technology: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
Thanks!

Hello,
Is your aim to get the Name from the table into the variable. ?
And if there is only one row from the table you can use refresh variable to get the name:
if there are more rows and you want to do somehthing repeatedly using the name, then you need to use the method you have described.
Declare the variable in the pakcage and give some default value to the variable then call the procedure.
Regards
Reshma

Similar Messages

  • Error occurred while sending query result: 'java.lang.NullPointerException'

    I am doing end to end scenario from SQL server to File
    JDBC --XI -- File
    I am getting the following Error while monitoring the sender CC in RWB
    "Error occurred while sending query result: 'java.lang.NullPointerException'
    Please Help !!

    Hi,
    To see the Adapter Error log, try:
    http://<XiServerHostName>:<J2EE-Port>/MessagingSystem
    Try viewing the Audit Log for each message (Newspaper Icon)
    Regards,
    Amitabha

  • Error in executing servlet JSPRunner: java.lang.NullPointerException

    I have some problems with my jsp files.
    I am using iAS6sp4 and iWS 6 on W2K.
    I created a EJB jar file and an empty WAR file (No JSP, Servlet, just web.xml & ias-web.xml) and pack them into a ear file for deployment. It was successful.
    Then I copy some jsp files to <iasinstall>/ias6/ias/APPS/<app name>/<war name>
    and restart the ias and iws server.
    When I try the URL: "http://myserver/NASApp/<app name>/myjsp.jsp", I got this error message from kjs.
    JSPRunner: init
    Exception: SERVLET-execution_failed: Error in executing servlet JSPRunner: java.lang.NullPointerException
    My jsp didn't include any java code, just pure htm code. I want to give it a test. But even though I tried with a proper jsp i still got this message. pls advise.
    Alan

    Hi,
    I got this working. Here are the steps that I followed and the output...
    Steps
    1. Deployed the helloworld application
    2. Invoked the application to see if it works fine
    3. Copied the myjsp.jsp to the C:\iPlanet\ias6\ias\APPS\helloworld\helloworld directory
    4. Shutdown the iAS and iWS and started again
    5. Invoked the .jsp file by typing http://sundts2.india.sun.com:81/NASApp/helloworld/myjsp.jsp in the browser.
    Output of KJS
    [16/Mar/2002 14:46:06:5] info: ENGINE-ready: ready: 10819
    **********Registered ebnls interceptor ...!
    [16/Mar/2002 14:46:22:4] info: --------------------------------------
    [16/Mar/2002 14:46:22:4] info: JSPRunner: init
    [16/Mar/2002 14:46:22:4] info: --------------------------------------
    [16/Mar/2002 14:46:26:4] info: --------------------------------------
    [16/Mar/2002 14:46:26:4] info: jsp.APPS.helloworld.myjsp: init
    [16/Mar/2002 14:46:26:4] info: --------------------------------------
    The myjsp.jsp coding is...
    <HTML>
    <BODY>
    <H1>This is a .jsp file for testing</H1>
    </BODY>
    </HTML>
    I believe the problem in your case must be that the .jsp file has been placed in a directory where iAS is not able to recognise. I'm sure this will help. Please feel free to raise questions on this.
    Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Frequent error Failed to execute runnable (java.lang.NullPointerException)

    Would anyone know what module this stack-dump is related to? I get it quite often in OSB during the publish event.:
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(SWT.java:3563)
    at org.eclipse.swt.SWT.error(SWT.java:3481)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

    I went and deleted my metadata folder it FB4 stared ok _

  • Serious system error while executing the query: java.lang.OutOfMemoryError

    From ALSB, we are trying to insert records in a table, by calling the ALDSP webservice. It is working fine when the xml (ie., given as input to the ALDSP webservice) is small. But facing the following error when the input xml size is large.
    <ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
    {ld:ABC/Test}createTest:1
    java.lang.OutOfMemoryError: Java heap space
    We do not want to increase the heap size. Is there any other way we can solve this problem?

    In logical dataservice of ALDSP we have created a procedure called createTest, which is used to insert mulitple rows in the table. We have created a webservice for that logical DataService.
    Using the ALSB, we are calling the webservice -> createTest Operation and we are passing xml as input to that createTest function.
    Input xml:
    <ns1:createTest>
    <ns1:createTemps>
    <ns0:createTemp>
         <ns0:field1>1</ns0:field1>
              <ns0:field10>test1</ns0:field10>
    </ns0:createTemp>                
    <ns0:createTemp>
         <ns0:field1>2</ns0:field1>
              <ns0:field10>test2</ns0:field10>
    </ns0:createTemp>
         </ns1:createTemps>     
    </ns1:createTest>
    each ns0:createTemp represent a row that need to be inserted in the table.
    When the number of ns0:createTemp is less ( when the number of rows that need to be inserted is less) then no problem occurs, it is getting inserted properly. But when there are more number of ns0:createTemp then we are getting the following error
    <ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
    {ld:ABC/Test}createTest:1
    java.lang.OutOfMemoryError: Java heap space

  • Error while updating Targets-Server : java.lang.reflect.InvocationTargetException

    Hi,
    I got this error below when i try to deploy my ejb.It's happen when i select the
    targets-server in weblogic console. Can anyone help me please?
    Thank you in advance.
    Sukanya
    java.lang.reflect.InvocationTargetException: javax.management.RuntimeOperationsException:
    RuntimeException thrown by the invoke method of the Dynamic MBean
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy10.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy76.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Targets-Server on Proxy for mydomain:Application=Wallet,Name=wallet-ejb,Type=EJBComponent
    - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [javax.management.RuntimeOperationsException: RuntimeException thrown by the invoke
    method of the Dynamic MBean]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    Hi Sukanya,
    Could you please tell me how u solved this error?
    I am also getting the same error!!!
    Sherry.

  • Error while installing Oracle9i client: java.lang.NoSuchMethodError

    Hi,
    I tried to install Oracle 9i client on a Win2k machine. The installation process stops working while copying regsvr32.exe. In orainstall.err there is the following exception:
    java.lang.NoSuchMethodError: oracle.gss.util.JNLS: method getCommonCharsets([Ljava/lang/String;Ljava/lang/String;)[[Ljava/lang/String; not found
         at GetOSNlsLang.performQuery(GetOSNlsLang.java:26)
         at oracle.sysman.oii.oiis.OiisCompContext.doQuery(Compiled Code)
         at Components.oracle.rsf.nlsrtl_rsf.v9_0_1_1_1.CompInstallPhase1.doCodeP1Block2(CompInstallPhase1.java:914)
         at Components.oracle.rsf.nlsrtl_rsf.v9_0_1_1_1.CompInstallPhase1.stateChangeActions(CompInstallPhase1.java:78)
         at Components.oracle.rsf.nlsrtl_rsf.v9_0_1_1_1.CompActions.stateChangeActions(CompActions.java:33)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(OiicInstallActionsPhase.java:464)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(Compiled Code)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPhase.java:1400)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.java:2039)
         at java.lang.Thread.run(Thread.java:466)
    The last entries in installActions*.log are:
    Key = HKEY_LOCAL_MACHINE
    SubKey = Software\ORACLE\HOME1
    Value = NLS_LANG
    Abfrage zur|ckgegeben: NA
    Festlegen des Wertes f|r b_setNLSLANG zu true
    Aufruf von Abfrage LangQueries1.3.6  GetOSNlsLang
    nlsLanguage = de
    nlsTerritory = DE
    nlsVariant =
    Any idea?
    Thanks!
    CU, Chris
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    I've had the same problem installing 9i server on W2K.
    Remove references to JDK from environment variables (it might be enough just remove from CLASSPATH).
    It should fix the problem.

  • ODI -OBIEE Lineage:Error while running ODI Procedure

    Hi ,
    I am using prebuilt mapping provided by oracle to achive dtata lineage between odi and obiee.
    I am getting error when i run scenario at Create "Same Column dummy Exp" procedure step.
    Error Info :
    ODI-1228: Task Create the "Same Column" dummy Expression (Procedure) fails on the target ORACLE connection ORACLE_XPONE.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00984: column not allowed here
    Procedure info:
    insert into <%=odiRef.getObjectName("LINEAGE_EXPRESSION")%>
    (I_LINEAGE_EXPRESSION, PROJECT_NAME, FOLDER_NAME, JOB_NAME, EXPRESSION, EXPRESSION_ORIGIN)
    values
    (<%=odiRef.getObjectName("BI_OBJ_ID.NEXTVAL")%>, 'Dummy', 'Dummy', 'Dummy', '(Same Column)', 'Dummy')
    Please let me know how to overcome this problem if anybody have achived lineaged by using oracle provided mappings.
    Thanks in Advance

    Hi,
    If you are on ODI 11g remove the odiRef.getObjectName("BI_OBJ_ID.NEXTVAL") function call and just give the sequence BI_OBJ_ID.NEXTVAL where ever its being used.
    Regards,
    Rajesh

  • DAC ERROR EXCEPTION CLASS::: java.lang.NullPointerException

    hello guru,
    when i creating a execution plan in my local envt for testing
    I have assemble the subject area
    but while building the execution plan i am getting below error:
    SHTEST-TEST
    EXCEPTION CLASS::: java.lang.NullPointerException
    com.siebel.analytics.etl.execution.ExecutionParameterHelper.substituteNodeTables(ExecutionParameterHelper.java:174)
    com.siebel.analytics.etl.execution.ExecutionParameterHelper.parameterizeTask(ExecutionParameterHelper.java:141)
    com.siebel.analytics.etl.execution.ExecutionPlanDesigner.getExecutionPlanTasks(ExecutionPlanDesigner.java:738)
    com.siebel.analytics.etl.execution.ExecutionPlanDesigner.design(ExecutionPlanDesigner.java:1267)
    com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:169)
    com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:119)
    com.siebel.analytics.etl.client.view.table.EtlDefnTable.doOperation(EtlDefnTable.java:169)
    com.siebel.etl.gui.view.dialogs.WaitDialog.doOperation(WaitDialog.java:53)
    com.siebel.etl.gui.view.dialogs.WaitDialog$WorkerThread.run(WaitDialog.java:85)
    can anyone help on this.
    thanks

    Hello Shiva,
    I have tried to generate the paramenter index in going into execute tab.
    Acutally I have two database one is SH(for sales fact table) as source and other is SHTST (for target w_sales_F).
    when i go into that it try to click on generate button it shows only for SHTST not for SH
    more over in SHTST the value is coming as Informatica folder Sales where i created all mapping.
    SH and SHTST both are in same database oracle 10g.
    please help

  • Exception in thread "main" java.lang.NullPointerException error JDeveloper 12c

    Hello,
    I am trying to call a java stored procedure in java application. I am using ORACLE database and JDeveloper.
    I am getting error "Exception in thread "main" java.lang.NullPointerException. I have no idea what have I been doing wrong.
    I have a table "Beer" and I want to select all the data out with a stored procedure which I call out of Java app.
    I have a java.class file Store_A.java which I have loaded into the ORACLE database with LOADJAVA :
        import java.sql.*;
        import java.io.*;
        public class Store_a {
          public static void apskatit ()
            throws SQLException
            { String sql =
              "SELECT * FROM Beer";
            try { Connection conn = DriverManager.getConnection("jdbc:default:connection:");
              PreparedStatement pstmt = conn.prepareStatement(sql);
              ResultSet rset = pstmt.executeQuery();
              rset.close();
              pstmt.close();
            catch (SQLException e) {System.err.println(e.getMessage());
    Then I have created a procedure which I plan to call out in java:
        CREATE OR REPLACE PACKAGE Store_a AS
        PROCEDURE apskatit;
        END Store_a;
        CREATE OR REPLACE PACKAGE BODY Store_a AS
        PROCEDURE apskatit AS LANGUAGE JAVA
        NAME 'Store_a.apskatit()';
        END Store_a;
    And I have a java file that I have created with JDeveloper 12c:
        import java.sql.Connection;
        import java.sql.DriverManager;
        import java.sql.ResultSet;
        import java.sql.SQLException;
        public class Class1 {
             * @param args
            public static void main(String[] args) throws SQLException {
                Connection conn = null;
                try {
                    Class.forName("oracle.jdbc.driver.OracleDriver");
                    //Izveidojam savienojumu
                    conn = DriverManager.getConnection("jdbc.oracle.thin:@localhost:1521", "SYSTEM", "asdasd");
                    // Izveidojam callable statement
                    CallableStatement stmt = conn.prepareCall("CALL Store_a.apskatit()");
                    ResultSet resul = stmt.executeQuery();
                    while (resul.next()) {
                        System.out.println(resul.getInt(1) + "\t" + resul.getString(2));
                } catch (ClassNotFoundException e) {
                    e.printStackTrace();
                } finally {
                    try {
                        conn.close();
                    } catch (SQLException e) {
                        e.printStackTrace();
    When I try to run the java file, I get this error "Exception in thread "main" java.lang.NullPointerException at client.Class1.main(Class1.java:29).
    So the line I get error in is "conn.close();"
    How to fix this?
    Thank you very much in advance.

    I am trying to call a java stored procedure in java application. I am using ORACLE database and JDeveloper.
    I am getting error "Exception in thread "main" java.lang.NullPointerException. I have no idea what have I been doing wrong.
    Maybe you haven't read it yet but I told you in your other thread what you were doing wrong and, step by step, how to address the problem.
    https://forums.oracle.com/thread/2611124
    I'm not going to repeat everything again just this one main piece of advice:
    Until you get you code working outside the database don't even bother trying to load it into the DB and create a Java stored procedure.
    You are trying to deal with too many different issues at the same time. Unless you solve your primary Java problem by fixing the code outside the DB you will have nothing but problems loading it into the DB.
    And just get rid of this line of code - you don't need it anymore and it hasn't been done like that for many years now:
    Class.forName("oracle.jdbc.driver.OracleDriver");

  • Webdynpro error:  java.lang.NullPointerException in Runtime

    Hello Everyone.
    I developed a webdynpro application with some RFC´S o i got the next exception in runtime, does anybody know the cause of this error?.
    Thanks for your help.
    500   Internal Server Error
              Web Dynpro Container/SAP J2EE Engine/6.40
    Failed to process request. Please contact your system administrator.
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.comcel.consultas.components.ConsultaDispPospagoStartView.onActiongo(ConsultaDispPospagoStartView.java:238)
        at com.comcel.consultas.components.wdp.InternalConsultaDispPospagoStartView.wdInvokeEventHandler(InternalConsultaDispPospagoStartView.java:320)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
        at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
        at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
        ... 26 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type     HTML Client
    User agent     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
    Version     null
    DOM version     null
    Client Type     ns7
    Client Type Profile     nn7
    ActiveX     disabled
    Cookies     enabled
    Frames     enabled
    Java Applets     enabled
    JavaScript     enabled
    Tables     enabled
    VB Script     enabled
    Server
    Web Dynpro Runtime     Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-05:15:08:24[UTC], changelist=413534, host=pwdfm101), build date: Sun Oct 15 01:29:51 GMT-05:00 2006
    J2EE Engine     7.00 patchlevel
    Java VM     Java HotSpot(TM) 64-Bit Server VM, version:1.4.2_12-b03, vendor: Sun Microsystems Inc.
    Operating system     Windows 2003, version: 5.2, architecture: amd64
    Session & Other
    Session Locale     en_US
    Time of Failure     Thu Mar 01 10:59:49 GMT-05:00 2007 (Java Time: 1172764789979)
    Web Dynpro Code Generation Infos
    local/Consultas
    SapDictionaryGenerationCore     7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates     (unknown)
    SapGenerationFrameworkCore     7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer     7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon     7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore     7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary     7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro     7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates     7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    SapWebDynproGenerationCore     7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates     7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    sap.com/tcwddispwda
    No information available     null
    sap.com/tcwdcorecomp
    No information available     null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.comcel.consultas.components.ConsultaDispPospagoStartView.onActiongo(ConsultaDispPospagoStartView.java:238)
         at com.comcel.consultas.components.wdp.InternalConsultaDispPospagoStartView.wdInvokeEventHandler(InternalConsultaDispPospagoStartView.java:320)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

    Hi.
    Firstable thanks for your help, i do not think is a problem in the code because if i try again with the same data the application brings result data, we changed the jco configuration and it seems that resolved the problem, we are testing,
    The initial configuation was:
    Maximum Pool Size:     20
    Maximum Connections: 40     
    Connection Timout (sec.): 20     
    Maximum Waiting Time (sec.):40
    the new configuration is:
    Maximum Pool Size:     30
    Maximum Connections: 100     
    Connection Timout (sec.): 0     
    Maximum Waiting Time (sec.):10000

  • Java.lang.NullPointerException while invoking Weblogic10 Webservice JAX-RPC

    hello,
    I'm facing this Eception while invoking the Webservice
    10/03/2009 01:39:19 Ú gosi.business.batch.financialaccounting.gosiSambaRets.controller.SambaClient callUploadPayment
    SEVERE: null
    java.lang.NullPointerException
    at com.bea.staxb.buildtime.internal.bts.XmlTypeName.findTypeIn(XmlTypeName.java:555)
    at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:73)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1088)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:519)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:266)
    at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:166)
    at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
    at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:709)
    at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:409)
    at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
    at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:154)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:122)
    at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
    at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
    please can some one help me??

    user564706 wrote:
    Hi support,
    I installed cluster
    I installed Oracle ASM home
    using netca from ASM hom i cretaed listener
    Then while invoking dbca from ASM home to cretae asm instance i got the error:
    exceptio in thread "main" java.lang.NullPointerException
    at
    oracle.sysman.assistants....
    so using netca from asm home i deleted the listener and invokded dbca from asm home and it looks for the listener and since it is not there it automatically cretaes (after i confirm ok)and the asm instance cretaed.
    so is it the normal behaviour.What is the version?
    Why you are using DBCA from ASM_HOME ?
    you can use ASMCA from ASM_HOME if 11g.
    DBCA to create database from RDBMS_HOME/ORACLE_HOME
    You have very bad stats of your profile.
    user564706      
         Newbie
    Handle:      user564706
    Status Level:      Newbie
    Registered:      Mar 19, 2007
    Total Posts:      258
    Total Questions:      202 (200 unresolved)
    Out of 202 questions only 2 resolved, please check may be those also unresolved ;-)
    Keep the forum clean, close all your threads as answered. Read Etiquette. https://forums.oracle.com/forums/ann.jspa?annID=718
    Edited by: CKPT on Feb 22, 2012 6:56 AM

  • Error: java.lang.NullPointerException

    Hi,
    In my File - RFC - File scenario (PI 7.1), i am facing the error in the communication channel
    File processing failed with java.lang.NullPointerException
    But in SXMB_MONI it the status shows Processed Successfully.
    From File to RFc it displays all the details like Sender Namespace, Sender Interface, Receiver component etc.
             RFC to File it doesn't display any details other than Message ID.
    The following steps are executed in RFc to File message:
        Inbound Message ( CENTRAL )
       XML Validation Inbound Channel Response
       Request Message Mapping
       XML Validation Outbound Channel Response
    these steps also contain the output file format in xml structure:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_LOTUSNOTES_UNIFORM_FILE_RESP xmlns:ns1="http://lotusnotes.uniform.com">
    - <ITAB_OUT>
    - <item>
      <STR>20000000|3022|-10.25|09.11.2009|Testing 1111|</STR>
      </item>
    - <item>
      <STR>20000000|3022|800.99|10.11.2009|Testing 22222|</STR>
      </item>
    - <item>
      <STR>20000015|3022|200|09.11.2009|Testing 333333|</STR>
      </item>
      </ITAB_OUT>
      </ns1:MT_LOTUSNOTES_UNIFORM_FILE_RESP>
    pls let me know how to solve this error

    Hi,
    Please see the audit log
    Audit Log for Message: 3c5fbcee-4b17-4afe-0ea5-a6064f47d377
    Time Stamp Type Description
    2009-12-08 07:18:21 Information Channel CC_LOTUSNOTES_UNIFORM_SND_FILE: Converted complete file content to XML format.
    2009-12-08 07:18:21 Information Send text file  "/home/ftp/home/ftpusr/test/in/20091109PYI_UNIFOR.txt", size 402, encoding ISO8859-1with QoS BE.
    2009-12-08 07:18:21 Information MP: entering1
    2009-12-08 07:18:21 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
    2009-12-08 07:18:21 Information RRB: entering RequestResponseBean
    2009-12-08 07:18:21 Information RRB: passing through ...
    2009-12-08 07:18:21 Information RRB: leaving RequestResponseBean
    2009-12-08 07:18:21 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-08 07:18:21 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-08 07:18:21 Information Trying to put the message into the call queue.
       Page 1 / 4 *
    Audit Log for Message: 3c5fbcee-4b17-4afe-0ea5-a6064f47d377
    Time Stamp Type Description
    2009-12-08 07:18:21 Information Message successfully put into the queue.
    2009-12-08 07:18:21 Information The message was successfully retrieved from the call queue.
    2009-12-08 07:18:21 Information The message status was set to DLNG.
    2009-12-08 07:18:22 Information The message was successfully received by the messaging system. Protocol: XI URL: http://sdnpi1.sap.spoolzgroupit:50800/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    2009-12-08 07:18:22 Information Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    2009-12-08 07:18:22 Information Message successfully put into the queue.
    2009-12-08 07:18:22 Information The message was successfully retrieved from the request queue.
    2009-12-08 07:18:22 Information The message status was set to DLNG.
    2009-12-08 07:18:22 Information Delivering to channel: CC_LOTUSNOTES_UNIFORM_RCV_RFC
    2009-12-08 07:18:22 Information MP: entering1
       Page 2 / 4 *
    Audit Log for Message: 3c5fbcee-4b17-4afe-0ea5-a6064f47d377
    Time Stamp Type Description
    2009-12-08 07:18:22 Information MP: processing local module localejbs/RfcAFBean
    2009-12-08 07:18:22 Information RfcAdapter received a synchronous message. Trying to send sRFC for Z_PI_LOTUSNOTES_UNIFORM.
    2009-12-08 07:18:22 Information RfcAdapter received a synchronous message. Trying to send sRFC for J2EE_GUEST.
    2009-12-08 07:18:22 Information MP: leaving
    2009-12-08 07:18:22 Information The message was successfully delivered to the application using connection RFC_http://sap.com/xi/XI/System.
    2009-12-08 07:18:22 Information The message status was set to DLVD.
    2009-12-08 07:18:22 Information The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2009-12-08 07:18:22 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2009-12-08 07:18:22 Information The message was successfully transmitted to endpoint http://sdnpi1.sap.spoolzgroupit:50800/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    2009-12-08 07:18:22 Information The message status was set to DLVD.
       Page 3 / 4 *
    Audit Log for Message: 3c5fbcee-4b17-4afe-0ea5-a6064f47d377
    Time Stamp Type Description
    2009-12-08 07:18:22 Information MP: leaving
    *2009-12-08 07:18:22 Error File processing failed with java.lang.NullPointerException:  *
       Page 4 / 4
    Edited by: jjma1706 on Dec 8, 2009 9:05 AM

  • Runtime error.Java.lang.nullPointerException: null at com.sap.guid.GUID.par

    Hi experts.
    My scenario is File --> PI --> File.
    During the message mapping there are a few RFC lockups.
    I have configured an communication component for the RFC destination, and a Receiver communication channel to the RFC system.
    When I am trying to check the message mapping and the operation mapping from the integration builder every thing works just fine.
    In the interface determination i have configured the rfc parameter for the mapping.
    When I am trying to run the hole process i receive an error saying:"Runtime exception from: java.lang.nullPointerException:
    null at com.sap.guid.GUID.parsHEXguid(guid.java:1015)
    reguars Max

    Did you test your operation mapping??
    Did you provide your RFC communication channel name and import parameters value in paramter tab of Operation mappi
    Yes I did.
    I have tested the operation mapping and it runs just fine.
    Also all the parameters are specified.
    And the communication channel is configured.
    Just to make sure the communication channel is configured well.
    Should it be configured as RFC adepter and connected to the system on which the RFCs are located?
    If this is all of the configuration needed i have already done them.
    Any suggestions?
    Regards Max.

  • EPM 11.1.2.3.500  - financial reporting book error : ; nested exception is: java.lang.NullPointerException

    hello all,
    we have done up gradation from 11.1.1.3  to EPM 11.1.2.3.500.
    we have financial reporting book for HFM.
    when we right click on this books and select "complete book in PDF", we get following error as
    "nested exception is: java.lang.NullPointerException"
    any idea ?
    regards,
    -Dattatray Mate

    also following is the log from E:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\FinancialReporting0\logs\FRLogging.log
    [2015-01-29T11:14:05.377-05:00] [FinancialReporting0] [NOTIFICATION] [] [oracle.EPMFR.performance] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 00iR6CF85cpFw00Fzzw0w00000sk0005Nc,0:1] [APP: FINANCIALREPORTING#11.1.2.0] [URI: /hr/modules/com/hyperion/reporting/web/bookViewer/HRBookPdf.jsp] [SRC_CLASS: com.hyperion.reporting.util.HRLogTimer] [SRC_METHOD: logTimeEnd] PERF: 0000003005 WebDynamicBook                           getStatus() returned false
    [2015-01-29T11:14:05.377-05:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.jsp] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 00iR6CF85cpFw00Fzzw0w00000sk0005Nc,0:1] [APP: FINANCIALREPORTING#11.1.2.0] [URI: /hr/modules/com/hyperion/reporting/web/bookViewer/HRBookPdf.jsp] [SRC_CLASS: jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrrunjob] [SRC_METHOD: _jspService] [[
    com.hyperion.reporting.util.HyperionReportException: ; nested exception is:
    java.lang.NullPointerException
    at com.hyperion.reporting.reportserver.FetchInstanceThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at com.hyperion.reporting.haradm.HRAdmUtils.getMemberNameFromMemberSelection(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.processChapterMemberSelections(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.executeChapterReport(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.executeChapter(Unknown Source)
    at com.hyperion.reporting.results.ExecBook.executeBook(Unknown Source)
    at com.hyperion.reporting.reportserver.FetchInstanceThread.runBook(Unknown Source)
    ... 1 more

Maybe you are looking for

  • Boot Camp drivers won't install correctly.

    Greetings. Recently I formatted the XP partition on my Mac, in order to do a clean installation of windows. I did everything as explained in the guide, using the Boot Camp assistant and so forth. After the installation completed, I inserted my Leopar

  • I need to create an image gallery

    I'm looking for a tutorial which explains me how to create a simple AS3 image gallery driven by an XML file. The gallery I need is really simple: - an horizontal bar placed on the bottom containing the thumbnails which scrolls left and right accordin

  • Wifi says No-Wi-Fi ??

    it doesn't say on or off next to it, it says "No Wi-Fi" i've reset it, restored it, and i still get it. it isn't unlocked or anything. advice?

  • Installing JAF

    Im trying to install the JavaBeans Activation Framework. On the download site it says all you have to do is include the 'activation.jar' file, which comes with the download, in the system Path variable. Ive tried this, and I just cant get it to work.

  • Problem in creating part time work schedules

    Hello All, I have to create some part time work schedules rules for part time employees Work: Tuesdays to Fridays a)Tues-Thurs 6.5 hours per day   i.e. 9.30 to 5   9:30 u2013 14:30 work   14:30 u2013 15:30 - 1hr lunch break    3:30 u2013 17:00 b) Fri