Runtime error using jdk 1.4.1 in jdev

Hi,
I am using jdev 9032. My project uses jdk 1.3.1 the default that comes with jdeveloper. Now i have to make this application work on 1.4.1_05.
But when I run the app in jdev by changing the jdk to 1.4.1 or when I deploy in OC4J (standalone) 903 with JAVA_HOME=C:\JDK1.4.1, I get following error in both the case:
Auto-deploying file:/D:/temp/projects/Myproject/classes/ (No previous deployment found)... MyProjectServices_StatelessSessionBeanWrapper16.java:6: cannot access java.rmi.NoSuchObjectException
bad class file: D:\Utilities\java\jdk\j2sdk1.4.1_05\jre\lib\rt.jar(java/rmi/NoSuchObjectException.class)
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import java.rmi.NoSuchObjectException;
^
1 error
Error compiling D:\temp\projects\Myproject\classes: Syntax error in source
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
But when I compile my source using JDK 1.4.1 it is fine, and only gives me error while deploying.
Please let me know how to get this app deployed on OC4J with JDK 1.4.1
THANKS in advance
Narinder

Hi,
I figured out the solution.
Make the project use 1.4.1 and also replace the tools.jar file under %JDEV_INSTALL%\jdk\lib
In addition to this I have also changed the "SetJavaHome" environment variable in jdev.conf to use JDK 1.4.1
And everything is working fine and as I wanted.
FYI:
Replace tools.jar on OC4J Standalone(I used OC4J 903) with tools.jar of JDK 1.4.1 and then app can be deployed on OC4J as well.
Hope this helps someone.
Regards,
Narinder

Similar Messages

  • RUNTIME Error using OWB 1.2.5.0.0

    I recieve the following error:
    MICROSOFT VISUAL C++ RUNTIME LIBRARY
    RUNTIME ERROR!
    PROGRAM C:\JDK1.1.8\BIN\JAVA.EXE
    ABNORMAL PROGRAM TERMINATION
    This occurs when I'm using the capture wizard and specifing which MSACCESS I want.
    I used OWB this morning to sucessfully load oracle tables from a MS ACCESS database.
    I was trying to move on to the next database to convert.
    What do I need to check?
    Thanks!

    Hi,
    I figured out the solution.
    Make the project use 1.4.1 and also replace the tools.jar file under %JDEV_INSTALL%\jdk\lib
    In addition to this I have also changed the "SetJavaHome" environment variable in jdev.conf to use JDK 1.4.1
    And everything is working fine and as I wanted.
    FYI:
    Replace tools.jar on OC4J Standalone(I used OC4J 903) with tools.jar of JDK 1.4.1 and then app can be deployed on OC4J as well.
    Hope this helps someone.
    Regards,
    Narinder

  • Runtime error using range table in select query

    I have to select tcodes from table tstc, based on the entries in ust12,
    the entries in ust12-von and ust12-bis, these contains wild charcters also,  and i have to selct all the tcodes  from von to bis.
    so ia m preparing a range table for the entries in ust12, and querying table tstc, then i am getting a runtime error with following description.
    'If the problem occurred because an excessively large table was used
    in an IN itab construct, you can use FOR ALL ENTRIES instead.'
    but how can i use FOR ALL ENTRIES here, because if von = A* and bis = AB*,then i ahve to read all the entries from AAAA till ABZZ (may be something like this),
    is there any way to write this query, with out runtime error.
    there are total 15000 entries in ust12, i am preparing range table for 3000 entries each and querying tstc.
    Thanks in advance
    Best Regards
    Amarender Reddy B

    Hi,
    first write a select on ust12 based on ust12-von and ust12-bis.
    eg: select von bis from ust12 into table gt_ust12
                               where von LIKE 'A%'
                                   and bis LIKE 'AB%'.
    now write another select for tstc for all entries in gt_ust12...
    Hope it helps
    Regards,
    Pavan

  • Runtime Error Using BAPI SALESORDER CHANGE

    Hi,
    I was trying to use the BAPI_SALESORDER_CHANGE to change 'Material Group 1' field. When executing the program, it kept on failing with this runtime error 'CALL_FUNCTION_CONFLICT_LENG'. Below is my codes and also the error analysis found in ST22.
    Kindly please let me know my program errors.
    Thanks much.
    CODES :-
    DATA: l_vbeln TYPE bapivbeln-vbeln,
    l_hx LIKE bapisdhead1x,
    l_r TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
    l_i TYPE STANDARD TABLE OF bapisditem WITH HEADER LINE,
    l_ix TYPE STANDARD TABLE OF bapisditemx WITH HEADER LINE,
    l_success(1) TYPE c VALUE 'Y'.
    l_vbeln = '0000707671'.
    l_hx-updateflag = 'U'.
    l_i-itm_number = '000010'.
    l_i-prc_group1 = 'Y'.
    APPEND l_i.
    l_ix-itm_number = '000010'.
    l_ix-updateflag = 'U'.
    l_ix-prc_group1 = 'X'.
    APPEND l_ix.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = l_vbeln
    ORDER_HEADER_IN =
    order_header_inx = l_hx
    SIMULATION =
    BEHAVE_WHEN_ERROR = ' '
    INT_NUMBER_ASSIGNMENT = ' '
    LOGIC_SWITCH =
    NO_STATUS_BUF_INIT = ' '
    TABLES
    return = l_r
    order_item_in = l_i
    order_item_inx = l_ix
    PARTNERS =
    PARTNERCHANGES =
    PARTNERADDRESSES =
    ORDER_CFGS_REF =
    ORDER_CFGS_INST =
    ORDER_CFGS_PART_OF =
    ORDER_CFGS_VALUE =
    ORDER_CFGS_BLOB =
    ORDER_CFGS_VK =
    ORDER_CFGS_REFINST =
    SCHEDULE_LINES =
    SCHEDULE_LINESX =
    ORDER_TEXT =
    ORDER_KEYS =
    CONDITIONS_IN =
    CONDITIONS_INX =
    EXTENSIONIN =
    NFMETALLITMS =
    LOOP AT l_r.
    IF l_r-type <> 'S'.
    l_success = 'N'.
    EXIT.
    ENDIF.
    CLEAR l_r.
    ENDLOOP.
    IF l_success = 'Y'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    WRITE: / 'Update successful'.
    ELSE.
    WRITE: / 'Update fail'.
    ENDIF.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
    not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:
    In the function module interface, you can specify only
    fields of a specific type and length under "ORDER_HEADER_INX".
    Although the currently specified field
    "L_HX" is the correct type, its length is incorrect.

    Thanks ALL. Here is the amended program that works fine :-
    DATA: l_vbeln TYPE bapivbeln-vbeln,
          l_hx TYPE bapisdh1x,
          l_r TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE,
          l_i TYPE STANDARD TABLE OF bapisditm WITH HEADER LINE,
          l_ix TYPE STANDARD TABLE OF bapisditmx WITH HEADER LINE,
          l_success(1) TYPE c VALUE 'Y'.
    l_vbeln = '0000707671'.
    l_hx-updateflag = 'U'.
    l_i-itm_number = '000010'.
    l_i-prc_group1 = 'Y'.
    APPEND l_i.
    l_ix-itm_number = '000010'.
    l_ix-updateflag = 'U'.
    l_ix-prc_group1 = 'X'.
    APPEND l_ix.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = l_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = l_hx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
      TABLES
        return                      = l_r
        order_item_in               = l_i
        order_item_inx              = l_ix
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
      NFMETALLITMS                =
    LOOP AT l_r.
      IF l_r-type <> 'S'.
        l_success = 'N'.
        EXIT.
      ENDIF.
      CLEAR l_r.
    ENDLOOP.
    IF l_success = 'Y'.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT          =
      IMPORTING
        RETURN        =
      WRITE: / 'Update successful'.
    ELSE.
      WRITE: / 'Update fail'.
    ENDIF.

  • ALV list -Runtime error using the Spreadsheet button(CTRL+SHIFT+F7)

    Hi,
    We are on ECC6.0.When ever I try to use the button 'Spreadsheet' (CTRLSHIFTF7) it gives me the following runtime error.It works fine if I use the export button.Also it works for ALV grid.Issue is only with ALV list.
    Can you pelase advise waht could be the issue.
    Thanks
    Venkat
    Runtime Errors         GETWA_NOT_ASSIGNED
    Date and Time          08.06.2009 16:02:22
    Short text
    Field symbol has not yet been assigned.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_SALV_BS_TT_RESULT_TABLE====CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    You attempted to access an unassigned field symbol
    (data segment 32781).
    This error may occur if
    - You address a typed field symbol before it has been set with
    ASSIGN
    - You address a field symbol that pointed to the line of an
    internal table that was deleted
    - You address a field symbol that was previously reset using
    UNASSIGN or that pointed to a local field that no
    longer exists
    - You address a global function interface, although the
    respective function module is not active - that is, is
    not in the list of active calls. The list of active calls
    can be taken from this short dump.
    Trigger Location of Runtime Error
    Program                                 CL_SALV_BS_TT_RESULT_TABLE====CP
    Include                                 CL_SALV_BS_TT_RESULT_TABLE====CM00L
    Row                                     165
    Module type                             (METHOD)
    Module Name                             GET_CELL_VALUE
    Source Code Extract
    Line
    SourceCde
    135
    call method cl_alv_xslt_transform=>get_days_since_1900
    136
    exporting
    137
    i_date = l_date
    138
    receiving
    139
    e_num  = attribute01.
    140
    141
    elseif ls_attribute-s_dfies-inttype eq cl_abap_typedescr=>typekind_time. "Time
    142
    data:
    143
    l_time type t.
    144
    145
    l_time = <l_data>.
    146
    147
    call method cl_alv_xslt_transform=>get_isotime_from_inttime
    148
    exporting
    149
    i_value = l_time
    150
    receiving
    151
    e_value = value.
    152
    153
    *... fill attribute01 with percent value of actual day
    154
    call method cl_alv_xslt_transform=>get_percent_of_act_day
    155
    exporting
    156
    i_time = l_time
    157
    receiving
    158
    e_num  = attribute01.
    159
    160
    elseif ls_attribute-s_dfies-inttype ca if_salv_bs_log_exp_operand=>c_numeric and
    161
    ls_attribute-s_dfies-convexit is initial.
    162
    case ls_attribute-s_dfies-reference_field_type.
    163
    when if_salv_bs_c_data=>reffieldtype_curr.
    164
    *... get iso value for currency value
    >>>>>
    call method cl_alv_xslt_transform=>get_isonum_from_intnum
    166
    exporting
    167
    i_value    = <l_data>
    168
    i_currency = <l_reference>
    169
    i_decimals = ls_attribute-s_dfies-decimals
    170
    importing
    171
    e_value    = l_isovalue.
    172
    173
    when if_salv_bs_c_data=>reffieldtype_quan.
    174
    *... get iso value for quantity value
    175
    call method cl_alv_xslt_transform=>get_isonum_from_intnum
    176
    exporting
    177
    i_value    = <l_data>
    178
    i_unit     = <l_reference>
    179
    i_decimals = ls_attribute-s_dfies-decimals
    180
    importing
    181
    e_value    = l_isovalue.
    182
    183
    when others.
    184
    *... get iso value for value

    Hi Pinaki,
    Thanks for your reply.
    below is my code.
    data: t_fieldcat type slis_t_fieldcat_alv,
            w_fieldcat like line of t_fieldcat,
            w_layout   type slis_layout_alv,
            t_sort     type slis_t_sortinfo_alv,
            w_sort     like line of t_sort,
            t_events   type slis_t_event,
            w_events   like line of t_events.
      call function 'REUSE_ALV_FIELDCATALOG_MERGE'
           exporting
                i_structure_name   = 'ZSD_ORDERS'
                i_bypassing_buffer = 'X'
           changing
                ct_fieldcat        = t_fieldcat.
      data: l_lines_fieldcat type i.
      describe table t_fieldcat lines l_lines_fieldcat.
      clear: w_fieldcat.:
      w_fieldcat-col_pos = l_lines_fieldcat + 1.
      w_fieldcat-datatype = 'QUAN'.
      w_fieldcat-just = ' '.
      w_fieldcat-do_sum = ' '.
      w_fieldcat-fieldname = 'ZZSCLQTY'.
      w_fieldcat-tabname = 'T_DATA'.
      w_fieldcat-qfieldname = 'VRKME'.
      w_fieldcat-seltext_s = text-a01.
      w_fieldcat-seltext_m = text-a01.
      w_fieldcat-seltext_l = text-a01.
      append w_fieldcat to t_fieldcat.
    Modify column headings
      loop at t_fieldcat into w_fieldcat.
        case w_fieldcat-fieldname.
          when 'MATNR'.
            w_fieldcat-no_zero = 'X'.
          when 'ZZPRICECHECK'.
            w_fieldcat-reptext_ddic = text-l01.
          when 'KZWI5'.
            w_fieldcat-reptext_ddic = text-l02.
          when 'VBELN'.
            w_fieldcat-hotspot = 'X'.
          when 'BMENG'.
            w_fieldcat-do_sum = 'X'.
          when 'COUNTER'.
            w_fieldcat-do_sum = 'X'.
            w_fieldcat-reptext_ddic = text-l03.
          when 'OBJDE'.
            w_fieldcat-reptext_ddic = 'Obj ID'.
              endcase.
        modify t_fieldcat from w_fieldcat.
      endloop.
    Format output options
      clear w_layout.
      w_layout-colwidth_optimize    = 'X'.
      w_layout-zebra                = 'X'.
      w_layout-get_selinfos         = 'X'.
      w_layout-detail_initial_lines = 'X'.
      w_layout-group_change_edit    = 'X'.
    Specify list processing events
      w_events-name = 'TOP_OF_PAGE'.
      w_events-form = 'TOP_OF_PAGE'.
      append w_events to t_events.
    Fit Add List Variant from Selection Screen               "003
      clear: w_variant.
      w_variant-report  = sy-repid.
      w_variant-variant = sp_vari.
    end Fit02
      call function 'REUSE_ALV_LIST_DISPLAY'
           exporting
                i_callback_program      = w_repid
                is_layout               = w_layout
                it_sort                 = t_sort
                i_callback_user_command = 'USER_COMMAND'
                is_variant              = w_variant
                i_save                  = 'A'
                it_fieldcat             = t_fieldcat[]
                it_events               = t_events[]
           tables
                t_outtab                = t_data.
    endform.

  • Runtime Error using JDBC Driver in NetBeans IDE 6.9.1

    Hello,
    I receive a compiler error which reads as follows;
    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
    java.sql.SQLSyntaxErrorException: Schema 'DEMO' does not exist
    Heres the main body of code i am trying to execute.
    public class Main {
    @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    try{
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
    }catch(ClassNotFoundException e){
    System.out.println(e);
    try{
    Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/SimpleDBDemo", "demo", "demo");
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM DEMO.Table1");
    while (rs.next()) {
    String s = rs.getString("Name");
    float n = rs.getFloat("Age");
    System.out.println(s " " n);
    }catch(SQLException e){
    System.err.println(e);
    I am using NetBeans IDE and have created a database under: Services->Databases-> Java DB->SimpleDBDemo.
    I have a database connection in which theres a simple table (called "TABLE1") created which contains the names and ages of two people. I am trying to access the data of these two people.
    From what i can figure out i am getting a runtime error. I have downloaded a folder called "Microsoft SQL Driver 2005 JDBC Driver" which contains the "sqljdbc.jar" executable file. I copied the jar file to the library in "Program files->Sun->javadb" and then added the file to the project libraries section i.e. "Project->properties->add JAR/Folder->sqljdbc.jar" in netbeans.
    I am still getting the same runtime error. Have i the sqljdbc.jar file added in the wrong place?
    Any help would be greatly appreciated.

    Microsoft SQL Driver 2005 JDBC Driver is not the Derby driver.
    You need the correct JDBC driver for the database you are using, you can't simply grab the first one you find.

  • C++ Runtime error using LiveCycle Designer

    I have been using Adobe Pro 9 for some time, my system is running XP Professional and Service Pack 3. Each time I edit a form which I am adding tables to the form crashes with the runtime error.  We had a system upgrade for some unrelated software on the weekend and everything worked fine up to that point.
    I continue to save each time I add a section in the table, I have edited the form 5 times now with the same result. The file ends up being corrupt with 0bytes.
    Can anyone offer advice on this.
    Christine..

    Hi Christine,
    This is a typical problem in LiveCycle Designer ES (8.2). I have faced this issue several times. Though I do not know the actual reason for this. There are many things responsible for this behaviour.
    - Is the form opened for several hours in LiveCycle Designer?
    - Have you made repeated copy paste operation of the fields as well as of the Javascript?
    - Have you saved the form repeatedly for small changes without doing the "Save As" operation?
    - Have you long lines of JavaScript?
    Few Suggestions might Help...
    - Do not open the LiveCycle Designer for longer duration like more than 4 hours. Save changes. Close it and reopen it.
    - Instead of doing the "save" operation do the "Save As" operation. It will also help in reducing the size of the form.
    - Avoid Copy pasting of the fields or JavaScript always. While you do it, if you see the XMl Source you will some designer id would be added exponentially.
    - Use events intelligently.
    Thanks,
    Bibhu.

  • Runtime error using Migration Workbench 1.2.4.3.0 for MS-Access

    Hi
    I am having problems migrating an Access 2 database across to Oracle 8i release 8.1.5 on Windows NT SP5 using OMWB 1.2.4.3.0.
    During the generation of the source model, the Migration routine halts with the following message :
    Microsoft Visual C++ Runtime Library
    Runtime Error
    Program C:\Program Files\Oracle\jre\1.1.7\bin\jrew.exe
    Abnormal Program Termination
    Can anyone help with this one ? Is it related to DAO, and if so, how do I resolve it ?

    Access 2000 databases are not supported. Only 2.0, 95 and 97 are supported. You can downgrade the 2000 database to Access 97 if you are not using any 2000 specific features and then use the Workbench. Note that you must have DAO 3.5 installed on the machine where the Workbench is running.

  • Runtime error using utl_file package

    Hi Friends,
    This is the procedure for reading sample data from flat file , but it won't work.
    create or replace procedure test_utl_file
    is
    ftype utl_file.file_type;
    ch varchar2(200);
    begin
    ftype := utl_file.FOPEN('C:\oracle\temp','data.txt,R');
    utl_file.get_line(ftype,ch);
    dbms_output.put_line(ch);
    end;
    This code is compiled succesfully , but at runtime it shows an error msg
    ORA-29280: invalid directory path
    ORA-06512: at "SYS.UTL_FILE", line 33
    ORA-06512: at "SYS.UTL_FILE", line 436
    ORA-06512: at "SCOTT.TEST_UTL_FILE", line 7
    ORA-06512: at line 1
    I had entered the directory entry in int.ora file
    utl_file_dir=C:\oracle\temp
    & i used another way also,
    by using alter set utl_file_dir=C:\oracle\temp scope=spfile;
    Can anyone help me to resolve this problem.
    Rgrds,
    Anand

    What database version are you using?
    The UTL_FILE_DIR parameter has been deprecated by oracle in favour of direcory objects because of it's security problems.
    The correct thing to do is to create a directory object e.g.:
    CREATE OR REPLACE DIRECTORY mydir AS 'c:\myfiles';
    Note: This does not create the directory on the file system. You have to do that yourself and ensure that oracle has permission to read/write to that file system directory.
    Then, grant permission to the users who require access e.g....
    GRANT READ,WRITE ON DIRECTORY mydir TO myuser;
    Then use that directory object inside your FOPEN statement e.g.
    fh := UTL_FILE.FOPEN('MYDIR', 'myfile.txt', 'r');
    Note: You MUST specify the directory object name in quotes and in UPPER case for this to work as it is a string that is referring to a database object name which will have been stored in uppercase by default.

  • JDBC runtime error using data source (Oracle 9i server & Oracle 8i client)

    Hi,
    Wud someone help me with this? Why am I getting this run-time error?
    D:\shilpa\javaprogs>java -classpath %classpath%;.; CreateMovieTables
    javax.naming.NoInitialContextException: Need to specify class name in environmen
    t or system property, or as an applet parameter, or in an application resource f
    ile: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    40)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
    a:280)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at CreateMovieTables.initialize(CreateMovieTables.java:18)
    at CreateMovieTables.main(CreateMovieTables.java:101)
    This is how I have created the data source:
    public void initialize() throws SQLException, NamingException
              Context initialContext = new InitialContext();
              DataSource dataSource = null;
              dataSource = (DataSource) initialContext.lookup("jdbc/Oracle");
              connection = dataSource.getConnection();
    I have set the classpath to: C:\j2sdk1.4.2_08\jre\lib where the jndi.properties file exists.
    Here's the jndi file:
    datasource.name=jdbc_1
    datasource.url=jdbc:oracle:thin:@10.119.5.98:1521:sea77db0
    datasource.classname=oracle.jdbc.driver.OracleDriver
    datasource.username=tr1
    datasource.password=tr1
    What am I doing wrong? Cud someone help me with this? It's working fine when I don't use the data source. Maybe I am doing something wrong.
    Regards,
    Shipf1

    After reading your posts, I noticed that my eyes were bleeding...
    Wud someone help me with this?
    Cud someone help me with this?
    Thanks. It worked. BUt, IF i wanna ...
    I don't[b] wanna...
    what shud i do then?
    Thought I should return the favor encapsulating the essence of this writing style:
    So, IF i cud, I wud, but If i don't wanna shud i anyway?
    Just funnin around... Good luck on your problem though.
    Darn it, my eyes are bleeding again!

  • Runtime error using net_rim_api.jar

    Hi. I was trying to use net_rim_api.jar in a web mobile application to use RadioInfo class. However whe I run the application to obtain MNC, MCC and LAC, I see the following error:
    javax.faces.el.EvaluationException: java.lang.UnsatisfiedLinkError: net.rim.device.api.system.RadioInfo.getCurrentNetworkIndex()I
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1535)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:787)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1252)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:965)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:346)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.UnsatisfiedLinkError: net.rim.device.api.system.RadioInfo.getCurrentNetworkIndex()I
         at net.rim.device.api.system.RadioInfo.getCurrentNetworkIndex(Native Method)
         at ct.view.BlackBerry.<init>(BlackBerry.java:44)
         at ct.view.UpdateOrder.addRowLogDetail(UpdateOrder.java:203)
         at ct.view.UpdateOrder.changeDetailStatus(UpdateOrder.java:65)
         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 com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 44 more
    I am running Jdeveloper 11.1.2.0.0
    What's is wrong in my application?
    Edited by: Jairo Cortes on Jul 16, 2011 5:41 PM

    Thanks Vinod,
    Really, I never tried this application with previous versions of JDeveloper. I've reading that release 11.1.1.4 has the adf mobile client doing more easy obtain deep integration with the capabilities of the mobile device. I believe this is my issue.
    However, with the new release (11.1.2), I see an integration of adf mobile client has been integrated into a new product called Oracle ADF Mobile. For this reason, I did proofs with JDeveloper new release.
    What's release you suggest me?
    Any help will be grateful.
    Jairo

  • Gc_analyze.pl errors using JDK 1.4.1_01

    There seem to be 2 versions of the perl script gc_analyze.pl;
    http://wireless.java.sun.com/midp/articles/garbage/gc_analyze.pl
    http://wireless.java.sun.com/midp/articles/garbagecollection2/gc_analyze.pl
    I have tried both and had no success, one has incorrect formatting, the other I get a integer division by zero. Are there any 'official' scripts for analyzing the GC output?

    I had the same problem,Illegal division by zero at gc_analyze.pl line 1167, <GC> line 834.
    I have JVM SUN JDK 1.4.2., with this options:
    -verobse:gc -Xloggc:xxx.log -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:PrintHeapAtGC
    But when i've reviewed the code i have seen the problem is the automatic way to detect the pattern in the detect_pattern() method. When I fix, in this method, $pattern = 1, for use the pattern 4, the script run perfectly.

  • Runtime error using -KPIC

    The following code segment will execute properly unless it is compiled with the -KPIC option in which case it will segfault.
    // compiled with
    // CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-07 2001/12/13
    #include <string>
    class A {
    public:
    A(const std::string& name) : _name(name) {}
    const std::string& name() const { return _name; }
    private:
    A(const A&);
    const A& operator=(const A& rhs);
    std::string _name;
    class B {
    public:
    static const A& get();
    const A& B::get()
    static A a(std::string("Test String"));
    return a;
    std::string str1 = B::get().name();
    std::string str2 = B::get().name();
    int main() {
    std::cout << str1 << std::endl;
    std::cout << str2 << std::endl;
    ==========================
    Here's the stack
    ==========================
    =>[1] __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >::__unSafeRemoveReference(this = 0x29f40), line 255 in "string_ref"
    [2] __rwstd::__string_ref<char,std::char_traits<char>,std::allocator<char> >::__removeReference(this = 0x29f40), line 246 in "string_ref"
    [3] std::basic_string<char,std::char_traits<char>,std::allocator<char> >::__unLink(this = 0xefffe9b0), line 863 in "string"
    [4] std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string(this = 0xefffe9b0), line 283 in "string"
    [5] B::get(), line 22 in "CC_bug2.c"
    [6] __SLIP.INIT_B(0xffffffff, 0x64c00, 0x0, 0x64c28, 0xef723138, 0x490f8), at 0x29508
    [7] __STATIC_CONSTRUCTOR(), line 26 in "CC_bug2.c"
    [8] 0x4b440(0x0, 0x4a8cc, 0xef7255a0, 0xef723138, 0x0, 0x0), at 0x4b43f
    Kevin

    The stacktrace shows the program died when trying to destruct string "Test String" before returning from B::get().
    Please try to use patch 109508-06 and see if the crash still occurs.
    - Rose

  • Runtime error in activation BADI (CX_HRPA_INVALID_PARAMETER)

    In activation BADI i get a runtime error using 'HR_INFOTYPE_OPERATION'
    An exception occurred that is explained in detail below.                       
    The exception, which is assigned to class 'CX_HRPA_INVALID_PARAMETER', was not 
      caught in                                                                     
    procedure "RESOLVE_EXCEPTION" "(FORM)", nor was it propagated by a RAISING     
      clause.                                                                       
    Since the caller of the procedure could not have anticipated that the          
    exception would occur, the current program is terminated.                      
    The reason for the exception is:                                               
    Ongeldige parameter EXCEPTION waarde                                                                               
    The occurrence of the exception is closely related to the occurrence of        
    a previous exception "CX_HRPA_VIOLATED_PRECONDITION", which was raised in the  
      program "CL_HRPA_MASTERDATA_FACTORY====CP",                                   
    specifically in line 6 of the (include) program                                
      "CL_HRPA_MASTERDATA_FACTORY====CM004".                                        
    The cause of the exception was:                                                                               
    Niet aan voorwaarde voldaan                                                    
      DATA: personaldatakey   TYPE bapipakey.
      DATA: return            TYPE bapireturn1.
      DATA: l_p0025           TYPE p0025.
      DATA: l_citem           TYPE t71adm09-citem.
      DATA: l_resultaat(2)    TYPE n.
    l_p0025-pernr = p0759-pernr.
    Begindatum is begindatum binnengekomen IT0759 record - 1 jaar
        CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
          EXPORTING
            date      = p0759-begda
            days      = 0
            months    = 0
            signum    = '-'
            years     = 1
          IMPORTING
            calc_date = l_p0025-begda.
    Einddatum is 31 december van het jaar binnegkomen IT0759
        CONCATENATE: p0759-endda(04) '1231'  INTO l_p0025-endda.
        l_p0025-infty = '0025'.
        IF p0759-cpamt >= 100.
    *GENERATE ERROR
        ELSE.
          l_resultaat = p0759-cpamt.
         IF l_resultaat < 10.
           CONCATENATE '0' l_resultaat INTO l_p0025-krt01.
         ELSE.
         l_p0025-krt01 = l_resultaat.
         ENDIF.
    write data
          CLEAR: return, personaldatakey.
          CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty         = '0025'
              number        = l_p0025-pernr
              validityend   = l_p0025-endda
              validitybegin = l_p0025-begda
              record        = l_p0025
              operation     = 'INS'
              nocommit      = ''
              tclas         = 'A'
            IMPORTING
              return        = return
              key           = personaldatakey
            EXCEPTIONS
              OTHERS        = 0.
          IF NOT return-number IS INITIAL.
    GENERATE ERROR
          ELSE.
            is_ok = 'X'.
            process_standard = 'X'.
          ENDIF.

    Hello Richard
    The exception is raised in method SET_FRAMEWORK of class CL_HRPA_MASTERDATA_FACTORY. Perhaps the SAP note mentioned in the coding (on ECC 6.0) may be useful:
    METHOD set_framework.
      IF a_is_initialized = true.
    *   This indicates some complex problem which often can be easily
    *   fixed. For details see NOTE 493984 (2003).
        RAISE EXCEPTION TYPE cx_hrpa_violated_precondition.  " line 6
      ELSE.
        CALL METHOD delayed_constructor
          EXPORTING
            read_infotype     = read_infotype
            masterdata_buffer = masterdata_buffer
            additional_buffer = additional_buffer
            legacy_mode       = legacy_mode.
      ENDIF.
    ENDMETHOD.
    Regards
      Uwe

  • Permanent solution to Runtime Error

    I have a "Microsoft Visual C++ Runtime Error" using Photoshop Elements 11 and have cleared it by renaming the MediaDatabase.db3 file as suggested. The only problem is, it occurs every time I start Photoshop and it's getting a bit tiresome having to go through the same process before I can open the software.  Is there a more permanent solution?

    Hi,
    first of all please read the forum rules:
    << Do not post the same question across a number of forums >>
    And second: I already moved your first thread about this problem to the correct forum. It is not necessary to open a second one again in the wrong forum. It is like doing the same fault twice.
    Anja (Moderator)

Maybe you are looking for