Raising Custom Exceptions in RMI

hi all,
i have a problem. i have an RMI server that makes use of some classes. in those classes, i am raising exceptions.
problem is that the first time that those classes are called, the correct custom exception is raised.
all the following times, i receive a java.util.EmptyStackException, and looking at the log file that i write, it seems that the call never reaches the inteded class.
All the custom exceptions that i use extends the java.lang.Exception class
can anyone explain me why i got this weird behaviour??
thanx in advance and regards
marco

What was the resolution to this. I am getting an EmptyStackException running a application with 50 threads. I get this exception in one thread and recover OK. I get the exception in another thread and the whole process hangs! Any thoughts?

Similar Messages

  • Raising new Exception within RMI server

    hi all,
    i implemented an RMI server which, in one of his method, throws my custom exception.
    Since my RMI server is loading classes dynamically, i grabbed all those exceptions that comes when a class cannot be loaded in an MyClassNotLoadedException
    in my code i write the following lined
    try {
    MyClass example = (MyClass)class.forName("MyClass").newInstance();
    } catch(Exception e) {
    throws new MyClassNotLoadedException(e);
    when i am running my test client, i always got the following exception:
    java.rmi.activation.ActivateFailedException: failed to activate object; nested e
    xception is:
    java.rmi.activation.ActivationException: group creation failed after 2 t
    ries; nested exception is:
    java.rmi.UnmarshalException: Error unmarshaling return; nested exception
    is:
    java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedExcep
    tion
    java.rmi.activation.ActivationException: group creation failed after 2 tries; ne
    sted exception is:
    java.rmi.UnmarshalException: Error unmarshaling return; nested exception
    is:
    java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedExcep
    tion
    java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
    java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedExcep
    tion
    java.lang.ClassNotFoundException: com.nokia.jiacc.IACClassNotLoadedException
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
    RemoteCall.java:245)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
    220)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
    at sun.rmi.server.Activation$ActivatorImpl_Stub.activate(Unknown Source)
    at java.rmi.activation.ActivationID.activate(ActivationID.java:89)
    at sun.rmi.server.ActivatableRef.activate(ActivatableRef.java:250)
    at sun.rmi.server.ActivatableRef.invoke(ActivatableRef.java:110)
    at com.nokia.jiacc.IACCPlugInImpl_Stub.callMeRemotely(Unknown Source)
    at com.nokia.jiacc.examples.Client.main(Client.java:52)
    If instead, in the catch statement i don't raise any exception, everything works fine.
    can anyone help me?? is it so that every exception that i raise in my RMI server must
    extends RemoteException??
    hope that someone can help me
    thanx in advance and regards
    marco

    Don't need to extends RemoteException. But have you defined your
    Exception that is implements Serializable?
    public class YourException extends Exception
                                 implements Serializable
    {...}Regards,
    Geri

  • Raise custom exception

    Hi experts,
    I have synchronous scenario and in response inbound message I have Fault type ft_my_error_message.
    My question is: how I can raise my custom exception ft_my_error_message in mapping.
    I would like to send some information in my custom exception and catch it in ABAP proxy. With
    throw new StreamTransformationException("my message"); 
    I’m losing response message and in ABAP proxy I don’t know is my custom error occurred or something else.
    Thanks
      Vedran

    Hi Vedran
    Based on the discussion above, it looks like the JDBC call returns the error on the RESPONSE message and do not have a FAULT message type, is that right? Also, you mentioned ABAP proxy, so I'm guessing your scenario is synchronous Proxy to JDBC.
    If the JDBC call does not have a FAULT message, AFAIK I don't think you can map this back to the Proxy fault message.
    An alternative approach would be to map back the JDBC response to the Proxy response, and handle this in the ABAP proxy.
    In the proxy coding, you can check for the values in the response for an indicator of the error. If an error happens, you can raise an exception there. You can check out the link below on how to raise fault messages in the proxy.
    https://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm
    If you use the application log, or have access to error information from a BAPI return table, you can also use these directly to complete the fault message. In this case, you only need to call the methodCL_PROXY_FAULT=>RAISE of the proxy runtime to trigger the error:
    CALL METHOD cl_proxy_fault=>raise
      EXPORTING
       exception_class_name   = <Name of Exception Class>  
       application_log_handle = < Application Log: Handle of a Protocol>  
       bapireturn_tab         = < Table with BAPI Return Information>.
    The exception class name would be the proxy generated class based on the custom fault type that you declared for the proxy service interface.
    Once the exception is raised in the ABAP proxy, you will see this as an "Application Error" in SXMB_MONI of your ECC system.
    Rgds
    Eng Swee

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.

    Hi Expert,
    Forms Version : 11.1.2.1.0
    Client JRE : 1.6.0_45-b06 Java HotSpot(TM) Client VM
    Run webutil_demo form, http://host:9001/forms/frmservlet?form=webutil_demo.fmx&config=webutil
    it appears following error.
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    No error logged in java console client side.
    I've try to re-compile webutil_demo.fmb
    Unattaching and then re-attaching the plsql library webutil.pll to forms using a 11g Forms Builder (instead of earlier version) and then loading the form to the server and compiling form but error still exist.
    Will you please help to give any suggestion?
    Is there any trace can be enabled to find some more details?

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • "a custom control callback raised an exception"

    Hello all,
    yes, there are several posts about this error message, but they are all pretty old (<2009) and the solutions didn't seem to work, so I'm starting a new thread.
    I installed 2013sp1 last week and removed 8.5, 2010 and 2012 this morning. And now one of my projects won't compile. Other projects aren't impacted (I tested about 10 in two different workspaces).
    When I compile, I get a popup box with "a custom control callback raised an exception" and it comes back as soon as I click it. I have to kill CVI. It's a project that compiled cleanly with CVI2012 (no warnings). I can open and save the UIR files with CVI2013, no problem. I also deleted the cws file, no change.
    I generated a debug log (cleaned up a bit):
    [ERROR] [NationalInstruments_Restricted::LicenseCommon::getAddOnRegistryInfo] [..\licmgr\LicenseCommon.cpp:83] Error reading licensing information from registry key 'SOFTWARE\National Instruments\CVI\13.0\AddOns\Real-Time'
    [WARNING] [LWGetTreeItem] [..\james\ui_tree.c:1481] Err = -55
    [WARNING] [ChainPanelCallback] [..\james\toolbox.c:584] Err = -45
    [ERROR] [NationalInstruments_Restricted::LicenseCommon::getAddOnRegistryInfo] [..\licmgr\LicenseCommon.cpp:83] Error reading licensing information from registry key 'SOFTWARE\National Instruments\CVI\13.0\AddOns\Real-Time'
    [WARNING] [CheckForAutoRecover] [..\james\AutoSave.c:376] Err = -101
    [WARNING] [LWGetTreeItem] [..\james\ui_tree.c:1481] Err = -55
    [WARNING] [WorkspaceFileProc] [..\james\jn_work.c:657] Trying to load current workspace UFR.
    [ERROR] [NationalInstruments_Restricted::LicenseCommon::getAddOnRegistryInfo] [..\licmgr\LicenseCommon.cpp:83] Error reading licensing information from registry key 'SOFTWARE\National Instruments\CVI\13.0\AddOns\Real-Time'
    [BUILD] [RunJamfileBuild] [..\jon\srctxtcc.c:3331] Building s:\nedm\AcqEDM_Project\AcqEDMv4\cvibuild.AcqEDMv4\Debug
    [BUILD] [MonitorBuildProcess] [..\jon\srctxtcc.c:3644] ...found 248 target(s)...
    [FATAL] [AddFunctionToFakeFp] [..\jon\srcbrowse.c:12459] Assertion failed: typeName
    The last line gets duplicated every time I click the popup, so it's relevant.
    Solved!
    Go to Solution.

    Hello and thank you for looking into this.
    Indeed, I disabled the HTML generation and it compiled fine. I also tried XML and it works, although I don't know what to do with the resulting XML file.
    Here's a code sample showing how I use the triple slash comments, but this is not an example that crashes. I'm trying to pin it down but it's a big interdependant project, so I can't remove pieces easily:
    /// HIFN Write to USB. Use the USB_WRITE shortcut macro instead
    /// HIPAR Endpoint / USB endpoint
    /// ARRAY Data
    /// HIPAR Data / Array to write
    /// HIPAR Count / Number of bytes to write
    /// OUT ErrorMsg
    /// HIPAR ErrorMsg / Possible return error message
    /// HIPAR FunctionName / For debugging
    /// HIPAR Line / Line number for debugging
    static int UsbWrite(int Endpoint, char Data[], int Count, char *ErrorMsg, const char *FunctionName, const int Line) {

  • Raise customized JBO exception from AM to Client

    All
    I want to raise exception in am, vo or eo to client side when some kind of business rules hit. How can i raise the JBO exception with info to identify the failed root reason?
    If execute the binding operation I can call the getErrors() to check if the last execute succeed or not. How can i get this error message when call the operation via web service which exported from am,
    follow are the code part in DemoAMServiceImpl for example, the DemoAMServiceImpl is generated by default when export DemoAM to support web service:
    public EventsVOSDO updateEventsVO1(EventsVOSDO eventsVO1) throws ServiceException {
    return (EventsVOSDO)update(eventsVO1, "EventsVO1");
    when call this method to update event via web service to update event in AM, logic in eventEO checks the event property and raise custom event to client to indicate failure.
    any one have good ideals on this requirement?

    Try something like this in your method:
    throw new JboException("Don't do that.", "101", null );

  • Throwing MbeanException wrapping custom exception

    Iam throwing a mbean exception which wraps a custom exception from mbean.
    Iam invoking this mbean from wlst(python script) and Iam trying to catch this MBeanException
    When i try to use the getCause method i get the following exception .
    "java.rmi.UnmarshalException: Problem finding error class; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class oracle.webcenter.lifecycle.exception.LifecyclePortalGuidMisMatchException"
    Please note that the python script is aware of the custom exception (LifecyclePortalGuidMisMatchException).
    For testing purpose, to confirm this, i have also created an instance of LifecyclePortalGuidMisMatchException in python (before invoking the mbean)
    The complete exception stack
    java.rmi.UnmarshalException: Problem finding error class; nested exception is:
    java.lang.ClassNotFoundException: Failed to load class oracle.webcenter.lifecycle.exception.LifecyclePortalGuidMisMatchException
    javax.management.MBeanException
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at javax.management.remote.rmi.RMIConnectionImpl_1035_WLStub.invoke(Unknown Source)
    at weblogic.management.remote.common.RMIConnectionWrapper$16.run(ClientProviderBase.java:919)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.security.Security.runAs(Security.java:61)
    at weblogic.management.remote.common.RMIConnectionWrapper.invoke(ClientProviderBase.java:917)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
    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.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at ora_mbs$py.invoke$8(/ade/aimmanue_pt/oracle/oracle_common/common/wlst/lib/ora_mbs.py:56)
    at ora_mbs$py.call_function(/ade/aimmanue_pt/oracle/oracle_common/common/wlst/lib/ora_mbs.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at LifecycleHandler$py._doScopeImport$26(/ade/aimmanue_pt/oracle/as11gr1wc/common/script_handlers/LifecycleHandler.py:892)
    at LifecycleHandler$py.call_function(/ade/aimmanue_pt/oracle/as11gr1wc/common/script_handlers/LifecycleHandler.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at ExpImpHandler$py.importGroupSpaces$9(/ade/aimmanue_pt/oracle/as11gr1wc/common/script_handlers/ExpImpHandler.py:113)
    at ExpImpHandler$py.call_function(/ade/aimmanue_pt/oracle/as11gr1wc/common/script_handlers/ExpImpHandler.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    Could you let me who why iam not able to get the cuase of the exception when the client is aware of the exception
    Edited by: user510156 on Aug 20, 2012 6:43 AM
    Edited by: user510156 on Aug 20, 2012 6:49 AM

    Hi,
    There is no API to provide this functionality. The reason is the XI message processing is through pipeline as you know. And this is nothing but SAP specific services. So you can not alter them as they are. For the request that you are asking, you will have to edit the pipeline step that populates the SAP:ERROR node. For this, we need to identify which service does this and then if it is possible to write a user exit, etc...So in this case, I would suggest you go with raising an OSS note.
    However, can you please tell us why is this required? I can understand to send a message/mail if you get an error or something like that. But I am not able to figure out in what scenarios would you require this kind of error display.
    Thanks and Regards,
    Sarath.

  • FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403

    FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
    I am getting the above error when i am trying to change the Assignment Category field of
    an employee from Junior Staff to Senior Staff.
    Navigation People> Enter & Maintain> (B)Assignment.
    Kindly assist me to resolve this error.
    Plz note there is a promotion that is suppose to be given to some employees in our company as of
    01-APR-2010 so i had to open the closed payroll periods and do the changes. I managed to change for all
    the 9 employees but 1 employee's assignment is giving me an error as follows :
    FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
    The error displays after i try to save the changes made to the Assignment Category from Junior Staff to Senior Staff.
    NB: i have also tried to switch off the custom code...but its giving me same error.
    Also the element links have been defined for employment category on the links window.
    please help!!
    Edited by: 594647 on Jul 20, 2010 10:26 PM

    Release 12.1.1.
    OS is Red Hat Ent Ed 4
    i am trying to change the employee assignment category from Junior to Senior. so when i am updating the assignment details on the assignment screen (Navigation is People >Enter & Maintain> Assignment) and trying to save, the system gives error on the status bar of the application as follows:
    FRM-40735 POST- UPDATE trigger raised unhandled exception ORA- 01403
    NB: Error is appearing on the Assignment screen.
    Please help!!
    Edited by: 594647 on Jul 21, 2010 2:48 PM

  • FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-

    Hi,
    In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
    This error is not happening when we search for the SYSADMIN user....
    Any idea why this error happening...
    Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
    APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined Exception
    Thanks
    Joseph
    Edited by: 783717 on Sep 27, 2010 10:49 PM

    Hi,
    In R12 When trying to search existing users through Sysadmin or any other user ...we are getting the below errror...
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06510
    This error is not happening when we search for the SYSADMIN user....
    Any idea why this error happening...What changes have been done recently?
    Please run AutoConfig and make sure it completes successfully.
    Also another error which is faced by users other than SYSADMIN is the below one when changing the responsability...
    APP-FND-01926---The custom event WHEN-RESPONSIBILITY-CHANGED raised unhandled exception:User Defined ExceptionCan you find any errors in the database log file?
    Please compile CUSTOM.pll (and other files) as per these docs and try again (as you are on R12 use frmcmp_batch.sh instead of f60gen).
    APP-FND-01926, ORA-06508 [ID 797242.1]
    APP-FND-01926: The custom event WHEN-LOGON-CHANGED raised unhandled exception: ORA-06508: PL/SQL: [ID 831159.1]
    APP-FND-01926 when logon changed ORA-06508 [ID 334295.1]
    Thanks,
    Hussein

  • Post-form trigger raised unhandled exception

    I have enabled TRANSLATION and ATTACHMENTS menu on my oracle form(form customization).
    but if i click on attachment menu the window opens for attachments but when i am going to close a window it throws an exception as
    **FRM-40735: POST_FORM trigger raised unhandled exception ORA-06502**
    and it is not allowing to close an window i have to terminate application every time.
    what shall i do in this situation ????????

    Hello,
    There is a related known issue for the Qualifications form of Oracle Human Resources -
    PERWSQUA Cannot add Attachments to the Qualification Form - FRM-40735: POST-FORM trigger raised unhandled exception ORA-06502 (Doc ID 1470386.1)
    Reference the solution steps and search on your form name as opposed to the PERWSQUA.
    If still not resolved, please open an SR with the owning application of the form or for Forms Developer.
    Thank you,
    Deborah Bourgeois
    Oracle Customer Support

  • FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception

    Hello,
    I get the following error FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-06502 in an R12 customized form . I have no code in when-new-block-instance . In my when-new-form-instance there's only
    CLEAR_FORM(NO_VALIDATE);
         GO_BLOCK('blockname');
         EXECUTE_QUERY;
         SHOW_VIEW('CAN_STK1');
         go_item('version_no');
    Any help please ?

    twinklin_girl wrote:
    Hello,
    I get the following error FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-06502 in an R12 customized form . I have no code in when-new-block-instance . In my when-new-form-instance there's only
    CLEAR_FORM(NO_VALIDATE);
         GO_BLOCK('blockname');
         EXECUTE_QUERY;
         SHOW_VIEW('CAN_STK1');
         go_item('version_no');
    Any help please ?Please do the following to get more details about the error.
    - Obtain FRD files -- https://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    - Obtain debug log -- How to Obtain Debug Log in R12 [ID 787727.1]
    Thanks,
    Hussein

  • FRM-40735 WHEN BUTTON PRESSED trigger raised unhandled exception ORA-29282

    Hi All,
    while entering data in EAM forcaste workorder in maintenance workbench am getting this error
    FRM-40735 WHEN BUTTON PRESSED trigger raised unhandled exception ORA-29282
    check google and oracle forums and checked versions of pll and plx (as mentioned in one forum) for the form every thing is fine
    i hav also generated tkprof report but did'nt get enough info required
    my environment
    linux 5.6
    R12.1.3
    on 11.1.0.7
    please do let me know how to attach the print screen and tkprof report
    please help
    zavi

    Hi There,
    Srini:
    the form form name is different from one you mentioned in note
    ORA-29282 In POST-DELETE Trigger In EAMWOMDF Form [ID 1364328.1]
    any how i check the EAM diag option is set to yes,
    sorry i cant upload the screenshots and trace file we cant upload any from company
    here are few details from form-->help--> about
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3
    Form Application : Enterprise Asset Management
    Form Name : EAMPLNWB
    Form Path : /u02/uat/apps/apps_st/appl/eam/12.0.0/forms/US/EAMPLNWB.fmx
    Form Version : 12.0.78.12010000.28
    Form Last Modified : $Date: 2011/05/17 02:44 $
    Forms PL/SQL
    APPCORE : 12.0.29.12010000.22
    APPDAYPK : 12.0.2.12010000.6
    APPFLDR : 12.0.6.12010000.2
    APPTREE : 12.0.0
    CUSTOM : 12.0.0
    EAMMRMDF : 12.0.27.12010000.4
    EAMOPMDF : 12.0.13.12010000.1
    EAMRSMDF : 12.0.10.12010000.2
    EAMWOMDF : 12.0.77.12010000.25
    FNDAPLT : 12.0.1
    FNDSQF : 12.0.3.12010000.8
    GHR : 12.0.46.12010000.14
    GLOBE : 12.0.76.12010000.10
    GMS : 12.0.51.12010000.8
    IGILUTIL2 : 12.0.32
    IGILUTIL : 12.0.3
    OPM : 12.0.7.12010000.2
    PQH_GEN : 12.0.7
    PSA : 12.0.17
    PSAC : 12.0.5
    PSB : 12.0.2
    Hi Hussain:
    from the note
    Please see (Creating Work Orders with Activity gives PL/SQL: numeric or value error: ORA-06512: at "APPS.EAM_WORKORDER_PKG", line 1431 [ID 822365.1]).
    it says about
    to debug the issue, users has enabled profile EAM: Debug Profile Option needs to be set to Yes at site level.
    Every time when WO API is involved, the following files are generated: createwo.log , updatewo.log.
    where can i find those logs please specify the location
    what i did
    as said by hussain i have manually compiled form and libraries assocaited with that form
    still waiting for reply from user
    got tkprof report
    few lines from that tkprof:
    declare                         
         m_stmt     varchar2(512);               
    begin                         
         m_stmt:='delete     from     sdo_geor_ddl__table$$';          
         EXECUTE     IMMEDIATE     m_stmt;          
         EXCEPTION                    
         WHEN     OTHERS     THEN          
         NULL;                    
    end;                         
    some select statement
    SELECT     MAX(STOCK_LOCATOR_CONTROL_CODE),     MAX(DEFAULT_DEMAND_CLASS),               
         MAX(CALENDAR_CODE),     MAX(CALENDAR_EXCEPTION_SET_ID),               
         NVL(MAX(PROJECT_REFERENCE_ENABLED),2),     NVL(MAX(PROJECT_CONTROL_LEVEL),1),               
         NVL(MAX(PM_COST_COLLECTION_ENABLED),2),     MAX(PRIMARY_COST_METHOD)               
    FROM                         
         MTL_PARAMETERS     WHERE     ORGANIZATION_ID     =     :B1
    insert statement its performing
    insert     into     eam_forecasted_work_orders(     pm_forecast_id,     group_id,                                                       
         pm_schedule_id,     activity_association_id,     cycle_id,     seq_id,                                                       
         scheduled_start_date,     scheduled_completion_date,     action_type,                                                            
         wip_entity_id,     process_flag,     wo_status,     created_by,     creation_date,                                                  
         last_update_date,     last_updated_by,     pm_base_meter_reading     ,                                                       
         ORGANIZATION_ID     )                                                                 
    values                                                                           
    (     :1,     :2,     :3,     :4,     :5,     :6,     :7,     :8,     :9,     :10,     :11,     :12,     :13,     sysdate,     sysdate,
         :14,:15,:16     )                                                                 
    please add a line through your vission
    cheers
    Zavi

  • Form raise Java exception in multiselect T-list

    Hi,
    I have form 10g in which I added multiselect T-list(from Forms Demo) it works, but when T-list item block defined as a first block of Form, other wise when I called(at anyother block level) this custom property
    SET_CUSTOM_PROPERTY('block.item_name',1,'ENABLE_LIST_MULTISELECT','true');
    it raises Java exception, anyone plz help me how to handle this.
    Thanks in advance.
    Khawar
    Message was edited by:
    S. Khawar

    Hello Kranthi,
    This message is as,
    FRM-92101:There was a failure in the forms server during startup. This could
    happen due to invalid configuration.
    Please look into the web-sever log file for details.
    Details...
    Java Exception:
    oracle.forms.net.connectionException: Forms session<36> aborted:unable to
    communicate with runtime process.
    at oracle.forms.net.connectionException.createConnectionException(Unknown Source)
    at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
    at oracle.forms.net.HTTPNStream.doflush(Unknown Source)
    at oracle.forms.net.HTTPNStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    Regards, Khawar

  • Raising cx_rsrout_abort exception in Start Routine of Transformations

    Hello Abap OO Gurus:
    This is likely a very simple question but I'm brand new to Abap OO and despite reading and searching, I cannot convert some old abap code used in the start routine of business content in BW to be used in the Transformation start routine in SAP BI.
    My Start Routine inside a BI 7.0 transformation rule has a method declared like this:
    <b>METHODS
    start_routine
    IMPORTING
    request type rsrequest
    datapackid type rsdatapid
    EXPORTING
    monitor type rstr_ty_t_monitors
    CHANGING
    SOURCE_PACKAGE type tyt_SC_1
    RAISING
    cx_rsrout_abort.</b>
    The Exception "cx_rsrout_abort" has replaced what used to be a simple ABORT data field. The <u>old code I want to replace was just "abort = 1'.</u>
    But now it seems like I have to use TRY... ENDTRY statement to raise Exception "cx_rsrout_abort". I am inside the abap code of the Method "start routine"
    METHOD start_routine.
    *=== Segments ===
    Could some kind soul educate me as to how to raise the Exception "cx_rsrout_abort" inside the Method start routine?
    thanks in advance, David

    Tx HDev:
    we are almost there...  I have that PDF but never got thru to the rest of the Appendix B as my project is just too crazy...
    When try what Appenix B suggest..
    <u>"raise exception type CX_RSROUT_SKIP_RECORD."</u>
    I get the following Warning msg which makes sense...
    <b>"W:The exception CX_RSROUT_SKIP_RECORD is neither caught nor is it
    declared in the RAISING clause of "START_ROUTINE".</b>
    The METHOD statement in the start routine never declares another exception other than cx_rsrout_abort as seen below:
        METHODS
          start_routine
            IMPORTING
              request                  type rsrequest
              datapackid               type rsdatapid
            EXPORTING
              monitor                  type rstr_ty_t_monitors
            CHANGING
              SOURCE_PACKAGE              type tyt_SC_1
            RAISING
              cx_rsrout_abort.
    Maybe NW2004s has a bug here... I'm hoping that a SAP Developer reads this posting and can enlighten us all... otherwise I'll have to post a OSS msg
    So the mystery is still how to do
    "raise exception type CX_RSROUT_ABORT" and make this equal to ABORT = 1
    which makes the start routine skip a record
    tx again,  David

Maybe you are looking for

  • Ipod not recognized after installing itunes 7.3

    I've upgraded to itunes 7.3 on my Windows Vista desktop and now none of my IPODs are recognized and I'm getting the following message: "your IPOD needs to be reformatted for use with Windows" I've double checked and my IPOD shows that it is formatted

  • Fillable Forms to be saved as non fillable after filled

    I need to distribute a fillable form to committee members to fill out. They then need to save these as non-fillable or normal? pdfs for passing on to non committee members. I have created awesome forms that are reader extended but have no way to save

  • Procure to pay process

    Dear all, Can somebody provide me detailed information about 1.Procure to pay process 2.Types of purchase orders 3.Types of payments So please respond as soon as possible Thanks in advance Varma

  • Is the old HP-IB on a ribbon cable compatable with the now standard GPIB?

    I have found a HP61001A and associated 61016, 61014 etc test equipment. It uses a ribbon cable to interface. Would anyone know if this is compatable with the now standard GPIB? Could it be used with some form of "connection converter"? Many thanks fo

  • Every time i try to edit a pic Elements 11 wants me to install a trial version.

    I installed Elements 11 using a fresh version bought at West Chester Univ book store.  Now every time I run it it wants me to install a trial verison and then it locks up.