SQLJ runtime exception in 9.2.0.4

Hi,
I work on a software using oracle, java and SQLJ technology. Since we pass from oracle 8.1.6 to Oracle 9.2.0.4 we have some sqlj runtime exception. These exceptions are randoms, amazing as the same request with SQL*plus is working, and occurrs randomly in time so it works all the same ...
examples (in bold the oracle exception text) :
1/ Unable to define propagation alert iterator (this exception is an SQL one and catched within the program) : Invalid column name
the sqlj command corresponding => #sql ppgAlertIter = { SELECT USER_LOGIN FROM ALERT WHERE SAFETY_EVENT_ID = :incId AND OCCURRENCE_ID = :occId AND USER_LOGIN IN ( SELECT USER_LOGIN FROM USERS WHERE ROLE_NAME <> :roleName) };
all the column names are rights !!!!
2/java.lang.NullPointerException at sqlj.runtime.ExecutionContext$OracleContext.oracleExecuteQuery(ExecutionContext.java:1585) at asmtdb.DBUser.getComponentUpdateTime(DBUser.java:882)
here is a runtime exception (not catched) (this exception correpsonds to the SQLJ commqnd in example 3/)
3/exception when getting component's update time : Unable to retrieve component's update time : expected 1 columns in select list but found 11
the SQLJ command corresponding => #sql { SELECT TO_CHAR(UPDATE_TIME, 'DD/MM/YYYY HH24:MI:SS') INTO :updateTime FROM COMPONENT WHERE COMPONENT_NAME = :componentName };
with SQL*plus no problems to have a result, more is that we have only 3 distinct columns, so why 11 ????
Is anyone had already these kinds of troubleshootings ???
Here is my environment :
- HP-UX B.11.00 U 9000/785 (64 bits)
- Oracle SQLJ Release 9.2.0.3.0 Production
Copyright © 1997, 2003, Oracle Corporation. All Rights Reserved.
Build version: 2.3.0.0 - Built on Feb 15, 2002
IDE interface version: 9.2.0.3.0/2.3.0.0
JDBC version: Oracle JDBC driver version 9.2 (9.2.0.3.0)
SQLJ runtime: Oracle 9.2.0 for JDBC 8.1.7 or later/JDK 1.2.x - Built on Jul 21, 2003
Java version: 1.4 (1.4.2.00)
Chris

Chris,
The error messages are misleading. I'm only guessing, but from what you have posted, it looks like the problem is in the values you are supplying for your bind variables. It could be that the SQL parser thinks that a bind variable is a column name -- and, of-course, there is no such column name, hence the "Invalid column name" error. Do you know about P6Spy ? It captures the SQL with the bind variable values, so you see the exact SQL that is getting sent to Oracle.
Good Luck,
Avi.

Similar Messages

  • SQLJ connection exception in oracle 8i and jdk 1.5

    This is the code through which i am trying to extract current date from oracle database and print Helloworld
    // import required packages
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld {
    public static void main(String [] args) {
    java.sql.Date current_date;
    try {
    // connect to the database
    Oracle.connect(
    "jdbc:oracle:thin:@localhost:1521:orcl",
    "student",
    "student"
    // get the current date from the database
    #sql { SELECT sysdate INTO :current_date FROM dual };
    // display message
    System.out.println("Hello World! The current date is " +
    current_date);
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } finally {
    try {
    // disconnect from the database
    Oracle.close();
    } catch ( SQLException e ) {
    System.err.println("SQLException " + e);
    } // end of main()
    this is the error
    unexpected error occurred...
    java.lang.ExceptionInInitializerError
         at sqlj.translator.Translator.addUnit(Translator.java:117)
         at sqlj.translator.Main.translate(Main.java:112)
         at sqlj.translator.Main.runTranslation(Main.java:92)
         at sqlj.translator.Main.runTranslation(Main.java:85)
         at sqlj.tools.Sqlj.statusMain(Sqlj.java:280)
         at sqlj.tools.Sqlj.main(Sqlj.java:125)
    Caused by: java.lang.NullPointerException
         at sqlj.framework.ClassFileReader.attribute_info(ClassFileReader.java:326)
         at sqlj.framework.ClassFileReader.readClass(ClassFileReader.java:224)
         at sqlj.framework.ClassFileReader.describeClass(ClassFileReader.java:62)
         at sqlj.framework.ClassFileReader.getDeclaringClass(ClassFileReader.java:146)
         at sqlj.framework.JSClass$ClassWrapper.getDeclaringClass(JSClass.java:1649)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1496)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
         at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1545)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1552)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1507)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1494)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1533)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1495)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1518)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1494)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1534)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1539)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1508)
         at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
         at sqlj.framework.JSClass.resolveIfNonNull(JSClass.java:1513)
         at sqlj.framework.JSClass.resolveClassReferences(JSClass.java:1493)
         at sqlj.framework.JSClass.reflectSystemClass(JSClass.java:1340)
         at sqlj.framework.JSClass.<clinit>(JSClass.java:49)
         ... 6 more
    HelloWorld.sqlj: Error: Exception caught:
    Total 1 error.

    SQLJ 8i with jdk1.5?
    Please try SQLJ 10.2 with jdk1.4.

  • Sqlj runtime error with oracle 10G in Websphere6 or 5.1

    We are trying to migrate from oracle 9i to 10G and we are compiled all our sqlj code with codegen = -oracle option.(previously we used to use codegen=-jdbc which for some reason doesnot work).it compiles fine with out any erros.. But when we try to run then get this exception.
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
    at sqlj.runtime.ref.ConnectionContextImpl.getOracleConnection(ConnectionContextImpl.java:167)
    at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(ExecutionContext.java:1397)
    We are using ojdbc14.jar that came with oracle 10G.
    Hope any one can give any pointers.

    I'm having same issue - but I'm having it when I try to invoke a method that contains a database Object type from a Tibco Business Works Process called a Java Method.
    How exactly do you do the codegen=iso configuration?
    I've tried:
    1. Project Properties / Compiler SQLJ and then select from Code Generation drop down iso.
    2. From Connections / Database / Navigate to package / right-click / Generate Java / Browse to my custom jpub.properties file where I have tried multiple entries such as (by themselves and in some combination.:
    - jpub.codegen=jdbc
    - jpub.codegen=iso
    - jpub.compatible=9i
    - jpub.compatible=8i
    - compatible=both8i
    - jpub.usertypes=oracle
    - jpub.compatible=customdatum
    - jpub.compatible=sqlj
    I've also played with changing from the default some of the Mapping Options in Connections / Database / Navigate to package / right-click / Generate Java / Mapping Options.
    This doc here, says that code should change (section 6 JPublisher Input Files - based on configuration of Input files)
    Oracle® Database
    JPublisher User's Guide
    10g Release 2 (10.2)
    B14188-01
    No matter what I do, the code that gets generate is the same.
    Also, the documentation talks about running things from the command line but how exactly do you do that? Do I need to be in specific directory? I tried the c:\ C:\jdev\system and c\jdev\ and c:jdev\bin and always get error message: 'jpub' is not recognized as an internal or external command, operable program or batch file.
    I've built a java client in JDeveloper to successfully call the same method and I don't see the error.
    Edited by: disaak on Mar 9, 2010 11:51 AM

  • SQLJ error: "Exception in thread main java.lang.NoClassDefFoundError: sqlj/

    Hi,
    I am new to SQLJ. Now, in my PC (with Win98), I have JDK 1.2 and Oracle 8i (personal edition). I have used Java and Oracle in my PC without any problem. Now, I am going to learn SQLJ in order to create a java program to access Oracle database. What I have done is to set up several classpaths in DOS:
    SET classpath=C:\ora_program\sqlj\lib\translator.zip;
    SET classpath=C:\ora_program\sqlj\lib\runtime.zip;
    SET classpath=C:\ora_program\sqlj\lib\runtime12.zip;
    SET classpath=C:\ora_program\jdbc\lib\classes12.zip;
    The code of my program is:
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    import java.util.Date;
    public class Hello{
         public static void main(String[] args){
              java.sql.Date current_date;
              try{
                   // connect to the db
                   Oracle.connect(
                        "C:\ora_program\bin",
                        "system",
                        "manager");
                   // get the current date from the database
                   #sql{SELECT sysdate INTO :current_date FROM dual};
                   // display message
                   System.out.println("Hello, the current date is: "+ current_date);
              catch(SQLException e){
                   System.err.println("sqlException: "+e);
              finally{
                   try{
                        Oracle.close();
                   catch(SQLException e){
                        System.err.println("sqlException: "+e);
    And then I compile my program in DOS with the typing: sqlj Hello.sqlj
    The program cannot be compiled and the error message is:
    "Exception in thread main java.lang.NoClassDefFoundError: sqlj/tools/Sqlj"
    It indicates that the SQLJ translator class files cannot be found.
    I have set up the classpath in DOS (see above). How does the error come? Please help. Thanks.
    PC

    >
    SET classpath=C:\ora_program\sqlj\lib\translator.zip;
    SET classpath=C:\ora_program\sqlj\lib\runtime.zip;
    SET classpath=C:\ora_program\sqlj\lib\runtime12.zip;
    SET classpath=C:\ora_program\jdbc\lib\classes12.zip;
    The above only sets the classpath to the last value. You need to use the following.
    SET classpath=%classpath%;C:\ora_program\sqlj\lib\runtime.zip;

  • NoSuchMethodError: sqlj.runtime.ExecutionContext.getOracleContext()

    Hello,
    so i have some of this code in my project
    <code>
    OrdHttpUploadFormData formData = new OrdHttpUploadFormData(request);
    formData.parseFormData();
    OrdHttpUploadFile image = formData.getFileParameter("image");
    OrdHttpUploadFile audio = formData.getFileParameter("audio");
    OrdImage ord_image_zdjeciealbumu =
    (OrdImage) rset.getORAData(1, OrdImage.getORADataFactory());
    OrdAudio ord_audio_utwor =
    (OrdAudio) rset.getORAData(2, OrdAudio.getORADataFactory());
    try {
    image.loadImage(ord_image_zdjeciealbumu);
    audio.loadAudio(ord_audio_utwor);
    } catch (Exception e) {
    </code>
    Generally my problem is such exception :
    <code>
    java.lang.NoSuchMethodError: sqlj.runtime.ExecutionContext.getOracleContext()Lsqlj/runtime/ExecutionContext$OracleContext;
         oracle.ord.im.OrdImageBase._deleteContent(OrdImageBase.java:322)
         oracle.ord.im.OrdImage.deleteContent(OrdImage.java:846)
         oracle.ord.im.OrdImage.loadDataFromInputStream(OrdImage.java:749)
         oracle.ord.im.OrdHttpUploadFile.loadImage(OrdHttpUploadFile.java:544)
         PhotoAlbumRequest.dodajElementDoBazy(Index.java:584)
         Index.doPost(Index.java:91)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
    </code>
    I would like to say that i imported such libraries in my Netbeans project like classes12.jar, runtime12.jar and translator.jar and it still not working. Much appreciated for help.

    Here's the relevant JavaDoc on NoSuchMethodError:
    Thrown if an application tries to call a specified method of a class (either static or instance), and that class no longer has a definition of that method.
    Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
    Sounds like you have an incompatibility amongst your Oracle JAR files.

  • SQLJ runtime error

    Hi:
    I am getting the following Exception when I call sqlj based java class from a jsp page. The Exception indicates that the SQLJ runtime tries to grab the sql statement from the cache, but it is going out of the Arrary bounds. I am really wondering if clearing SQLJ cache will resolve the issue. If it does, how can I clear the SQLJ runtine cache on Solaris 7.
    Your help is very much appreciated, as I wasted long time trying to debug it.
    java.lang.ArrayIndexOutOfBoundsException: 63     
    at sqlj.runtime.profile.ref.StatementCacheProfile.getStatement(StatementCacheProfile.java:82)
         at sqlj.runtime.profile.ref.ProfileWrapper.getStatement(ProfileWrapper.java:96)
         at sqlj.runtime.ExecutionContext$StatementStack.setStatement(ExecutionContext.java:995)
         at sqlj.runtime.ExecutionContext.registerStatement(ExecutionContext.java:523)
         at com.nortelnetworks.productsupportability.sqlj.generated.passport.dpngate.getDefaultT1(dpngate.java:2405)
         at netrx.charts._passport._dpngate._jspService(_dpngate.java:239)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
         at oracle.jsp.JspServlet.internalService(JspServlet.java)
         at oracle.jsp.JspServlet.service(JspServlet.java)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
         at org.apache.jserv.JServConnection.run(JServConnection.java:188)
         at java.lang.Thread.run(Thread.java:536)
    Regards

    Any one of the three following things should help:
    (1) Add the generated .ser file(s) to be loaded by loadjava.
    (2) Use the -ser2class option when translating your SQLJ source and add the additional .class files to be loaded by loadjava.
    (3) Use loadjava to load SQLJ source rather than .class (and .ser) files.

  • Crystal Runtime exception: Missing parameter values

    Our company did a PeopleTools upgrade at one of our clients recently. We upgraded them to PeopleTools 8.50.08. We had to convert all the Crystal Reports to the 2008 format using the RPT converter which is included in the Client install of PeopleTools.
    The only problem now is that a lot of the Crystal processes in PeopleSoft are failing with the following error:
    Crystal Runtime exception: Missing parameter values.
    I've checked the parameters which are being passed to the report and I see both parameters are filled:
    E:\HR881\BIN\CLIENT\WINX86\PSCRRUN.EXE -CTORACLE -CDHRMKPDEV -COPSDUT -CPOPRPSWD -I218609 -RP"PUP202K" -OT6 -OP"G:\PS\PSPRCS\log_output\HRMKPDEV\CRW_PUP202K_218609" -LGDUT -OF2 -ORIENTL "2000-10-01" "2002-06-30"
    Database type is Oracle. HRMS version is 8.8. I can run the Query which gets the data in just fine and I can also run the report from Crystal fine. This only happens with Crystal reports which have a date field as a parameter/prompt in the report.
    There's currently an SR open at Oracle, but I was hoping that someone here can help me nail this issue. I'm not too happy with the quallity of Oracle support, but that's a whole different story.

    <s>Just to be sure, did you put a space after each parameter name or is it a typo over here ?
    E:\HR881\BIN\CLIENT\WINX86\PSCRRUN.EXE -CT ORACLE -CD HRMKPDEV -CO PSDUT -CP OPRPSWD -I 218609 -RP "PUP202K" -OT 6 -OP "G:\PS\PSPRCS\log_output\HRMKPDEV\CRW_PUP202K_218609" -LG DUT -OF 2 -OR IENTL "2000-10-01" "2002-06-30"</s>
    Nicolas.
    sorry, it was wrong assumption.
    Edited by: N Gasparotto on Jun 2, 2010 5:11 PM

  • SOAP Framework error: SOAP Runtime Exception: CSoa

    I got the error 'SOAP Framework error: SOAP Runtime Exception: CSoa' when I activate my Adobe Form. The form can be activated before but the error happens when I add the fourth main body page.
    Philip

    Hi  
    1. Check if your ADS is working. Use program FP_TEST_00 / FP_TEST_01 to test your ADS if it is working. 
    2. Test using super user, it might caused by authorization too.
    Thanks, Xiang Li

  • Error:Adobe document services error: SOAP Runtime Exception: CSoapException

    Dear All,
    While executing an adobe form I am facing the following error:
    Adobe document services error: SOAP Runtime Exception: CSoapExceptionTransport :
    Can you please suggest how the error can be rectified?
    Thanks and regards,
    Atanu
    Edited by: Atanu Dey on Feb 18, 2008 5:31 PM

    Hi, For solving this do one thing:
    The problem is In ECC the service AdobeDocumentServicesSec was set up in SM59 but nothing was configured for SSL. So you have to change this to:
    AdobeDocumentServicesSec.
    Thanks
    please reward points

  • Reg:- Runtime Exception on preview of Portal Activity Report Editor iView

    Hi All,
    I am trying to preview the iView, "Portal Activity Report Editor" located under Portal Content -> Content Provided by SAP -> Admin Interfaces -> Admin iView Templates -> Portal Editors under Content Administration role.
    But, when I previee the iView, I get a RunTime Exception as follows:
    #1.5 #0014C263546200A5000008B900000CEC000450DE5CE9A528#1214815878685#com.sap.portal.applicationFramework.tools.wizardframework#sap.com/irj#com.sap.portal.applicationFramework.tools.wizardframework#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Fatal#1#/System/Server#Java###wizard session No: 429: could not instantiate pane instance of type com.sapportals.admin.wizardframework.core.ClassNameAndConstructorArgs@1663bd## #1.5 #0014C263546200A5000008BA00000CEC000450DE5CE9A6F1#1214815878685#System.err#sap.com/irj#System.err#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Error##Plain###Jun 30, 2008 4:51:18 AM                     com.sap.portal.portal [SAPEngine_Application_Thread[impl:3]_56] Error: Exception ID:04:51_30/06/08_15351_4495550
    #1.5 #0014C263546200A5000008BC00000CEC000450DE5CE9B605#1214815878685#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#<User_ID>#152806##n/a##b3602110468111dd9e8e0014c2635462#SAPEngine_Application_Thread[impl:3]_56##0#0#Error#1#/System/Server#Java###Exception ID:04:51_30/06/08_15351_4495550
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.activityReportEditor
    Component class : com.sap.portal.webreport.editor.ActivityReportEditor
    User : <User_ID>
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:547)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         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:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.RuntimeException: an Exception occured when instantating class com.sap.portal.admin.editor.pane.EditorPaneWrapper
         at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:54)
         at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:225)
         at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
         at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
         at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 29 more
    This happens for all Editor iViews.
    Kindly let me know what could be the problem.
    Thanks and Regards,
    Pavithra

    Hi Sandeep,
    Thank you for your inputs.
    I had raised an OSS Message with SAP some days ago on this issue. SAP has replied back saying that only users with Content Administration role can have access to configure portal acyivity report. All other users can only view the results.
    Regards,
    Pavithra

  • Runtime Exception in Message mapping

    Hi Experts,
    I have a scenario of  IDoc to  <third party adapter> cXML.
    The message caught the below error
    RuntimeException in Message-Mapping transformation : Runtime exception during processing target field mapping ......./ShipTo[2]/Address/PostalAddress/DeliverTo (suppressed field). The message is: Exception:[java.lang.ArrayIndexOutOfBoundsException: 7] in class com.sap.xi.tf._M_IDOC_to_cXML_ method getShipToContact$[, , com.sap.aii.mappingtool.tf3.rt.Q2QFunctionWrapper@253fdd8a]
    Please suggest on what went wrong, as everything is working fine before.
    Thanks in advance.
    MK

    Mk:
    Please check if the source fields which are mapped to the target are all generated by the SAP Script and make sure that they have data so that when they are mapped to the target. If they are mapped and source fields don't have data then it may error out. Sometimes SAP Script might not generate a node if there is not data for it, make sure you handle that condition also.
    RuntimeException in Message-Mapping transformation is
    due to the missing TEXT_LINE element in the segment Z1VOBTH for the TEXT_ID 'INVOICE_TO_LOCATION'
    I am not able to understand this. is Text_ID subelement of Text_Line?? Could you please post the complete error message as it is.

  • RuntimeException in Message-Mapping transformation: Runtime exception durin

    Hi Friends,
    Iam going test Message Mapping, i got the error like
      RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:LeapIndent_R3_MT/Recordset/RowData/QTY_TNS. The message is: Exception:[java.lang.NumberFormatException: empty String] in class com.sap.aii.mappingtool.flib3.Arithm method formatNumber[, com.sap.aii.mappingtool.tf3.rt.Context@27f972cf]
    Pls help me ..
    Thanks & Regards,
    Nvr

    Hi Ravi,
      Thanks for ur reply, the problem is solved, the Date field is Mandaratory, they are not mention the data field, so that way the problem is coming.
    Thanks & Regards,
    NVR

  • Runtime exception for Date format

    Hi,
    Scenario : RFC to IDOC
    found the error in my payload :
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    Here i has used DateTransformation from the Date Function.
    How can i give the format for Target side here.
    Regards,
    yeswanth.

    Hello Yeshwanth,
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZORDERS06/IDOC/E1EDK03/DATUM. The message is: Unparseable date: "2008-05-19" at com.sap.aii.mappingtool.tf3.AMappingProgram.start
    Here i has used DateTransformation from the Date Function.
    In Date Trans Properties:
    In Format Source date u select : yyyy-mm-dd
    In Target Format u select: yyyy/mm/dd
    Thanks,
    Satya

  • Runtime exception occurred during execution of application mapping program

    Hi all
    while testing intergase mapping i am getting this error----->
    com/sap/xi/tf/_XI_FI_BAPI_CC_DOCUMENT_POST_REQ_MM:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException;RuntimeException in Message-Mapping transgormation:Runtime exception during processing target field mapping
    /ns1:BAPI_ACC_DOCUMENT_POST/DOCUMENTHEADER/HEADER_TXT. THE message is:Exception:[java.lang.NullPointerException] in class com.sap.aii.mappingtool.flib3.TextFunction s method substring [null,com.sap.aii.mappingtool.tf3.rt.Context@2388897239]
    I had used  in the message mapping two user defined function scan you please look into the user defined functions, getPriviousMounthLastDate and  FileName in the mapping for the target DocDate field
    ihave used even this getPriviousMounthLastDate user defined function before using FileName
    this is  the code of  userdefined function  getPriviousMounthLastDate
    Calendar cal = Calendar.getInstance();
    SimpleDateFormat output = new SimpleDateFormat("yyyyMMdd");
    cal.add(Calendar.MONTH,1);
    cal.set(Calendar.DAY_OF_MONTH,1);
    cal.add(Calendar.MONTH,-1);
    cal.add(Calendar.DATE,-1);
    StringBuffer dateBuffer = new StringBuffer();
    output.format(cal.getTime(),dateBuffer,new FieldPosition(0));
    return dateBuffer;
    this is the code of  userdefined function FileName
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File",
    "FileName");
    String valueOld = conf.get(key);
    return valueOld;
    thanks sandep
    Edited by: sandeep pendyala on Feb 6, 2008 6:52 AM

    Hi Sandeep,
                     please check the trace file in SXMB_MONI,
                     which is avialble in response node.
                      if you analyze the trace, u can find-out....
                     error happend because of ehich field.
                    first copy the inbound xml from MONI and test it at message mapping.
                     then also, u can find-out the error.
    regards
    mahesh.

  • Error in Runtime Exception

    Hi all,
    Iam trying out a scenario for IDOC to RNIF,
    While Iam testing my Interface i am getting Exception in Runtime Exception...
    ''Global Usage code does not match with -- Production''
    can you plese help me on this.
    Regards
    Srinivas

    Hi all,
    Iam trying out a scenario for IDOC to RNIF,
    While Iam testing my Interface i am getting Exception in Runtime Exception...
    ''Global Usage code does not match with -- Production''
    can you plese help me on this.
    Regards
    Srinivas

Maybe you are looking for

  • File adapter custom module problem

    Dear All, Currently my file adapter is picking up a flat file and I have writeen a module which will remove junk characters from the start of the file...I have also used FCC to convert the flat file to xml. now my question is what is the sequence...

  • How do I remove a gradient section in CS6?

    In both Photoshop and Illustrator, I am able to delete the selected part of a gradient simply by hitting the delete key. This seems to not work here, can someone tell me how to remove the aqua section from my gradient?

  • KVM mysteries

    I have a new 23" Cinema Display that I would like to use with my standard KVM 4 port switch. I would like to be able to switch between my powerbook, a G4, G5 and a PC. I've been looking for a female DVI to male 15 pin cable to plug the Cinema Display

  • Issue with Project specific stylesheets

    Hi all, I was watching the thread Project specific stylesheets, and i think i follow all the steps but I can see any change on my WD app. I did the following: 1.- Create a custom portal display, this generates a new entry inside usr\sap\J2E\JC00\j2ee

  • Over 1 Gb of "Other"? What the...?!?

    I have a new 2nd gen, and I just loaded it with about 3 Gb of music. I also have about 125 Mb of apps loaded, and about 7 Mb of pics. When looking at the "summary" section of iTunes, it shows 1.34 Gb of "other." I have no idea what that is. I cleared