When-custom-item-event

Hello!
I have problem with webutil.pll in runtime.
When i run my form i get the next exception:
"when-custom-item-event trigger raised unhandled exception ORA-06508".
When i moved webutil_core and delimstr to program units the forms run fine.
What can be a problem?
Thanks.

Webutil was compiled in my database schema.
I see that if i move my forms in same directory with webutil.pll and then re-attache the pll - no exception in runtime.
When i can remove pll from this directory and my form contunue to work fine.
Do you have any explanation?
Message was edited by:
Aver

Similar Messages

  • 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

  • WebUtil gives FRM-40735 When-Custom-Item-Event ORA-06508 when starting form

    I have downloaded and installed/configured webutil on RH Linux AS2.1 per the manual and readme file.
    ( jacob.jar and webutil.jar signed on NT machine per instruction then loaded on LINUX server webutil/lib )
    I have incorporated webutil with an existing form as follows:
    1. linked webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all
    4. compiled module
    Form was deployed on 9iAS.
    When the applet loads the following is displayed in the java console:
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/webutil.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/jacob.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Forms Applet version is : 90270
    When the form containing webutil is called, the following is displayed in the java console and the error mentioned in this topic's subject is given:
    2003-Jul-10 16:53:32.607 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.707 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.738 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.758 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.798 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.998 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.38 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.58 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    Why can't webutil find the bean method/function?

    Per a previous suggestion, I have created a simple form module with one block containing a single push_button.
    The when-button-pressed trigger contains a simple call to client_get_file_name.
    I then:
    1. Attached the webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all plsql
    4. created then deployed fmx
    The same errors are generated when this simple form loads without any calls to webtuil.
    I added the following debug code to the when-custom-item-event triggers of each bean area item in the webutil block:
    declare
    dataType pls_integer;
    dataPayload varchar2(32000 char);
    begin
    WEBUTIL_CORE.CustomEventHandler(:SYSTEM.CUSTOM_ITEM_EVENT,:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
    exception
         when others then
         get_parameter_attr(:system.custom_item_event_parameters,'WUC_DATA',dataType, dataPayload);
         pfsutil.dbug(get_application_property(current_form_name)||'-WebUtil: '||'Item: '||:system.trigger_item||' Event: '||:system.custom_item_event||' :'
         ||'Data: '||dataPayload||' Error: '||sqlerrm);
    end;
    The following information is captured in the log:
    17:07:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_CLIENTINFO_FUNCTIONS Event: WUC_REGISTER :Data: WUI|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:55 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILE_FUNCTIONS Event: WUC_REGISTER :Data: WUF|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:58 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_HOST_FUNCTIONS Event: WUC_REGISTER :Data: WUH|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_SESSION_FUNCTIONS Event: WUC_REGISTER :Data: WUS|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:00 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILETRANSFER_FUNCTIONS Event: WUC_REGISTER :Data: WUT|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:01 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_OLE_FUNCTIONS Event: WUC_REGISTER :Data: WUO|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:03 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_C_API_FUNCTIONS Event: WUC_REGISTER :Data: WUL|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:04 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_BROWSER_FUNCTIONS Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    This may be initiated by Webutil_core.initWebUtil and the result of Webutil_core.registerBean?
    This following error information is captured when the push button is pressed:
    17:09:08 WEBUTILTEST-WebUtil: Item: MAIN_BLK.TEST_BUT Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    Hope this helps.
    Thank you for the quick responses.

  • FRM-40735- when-custom-item-event trigger raised.

    hi all
    while logging in i am getting the following error.
    FRM-40735- when-custom-item-event trigger raised unhandled exception ORA-06508.
    and when i press the button then getting the following error.
    FRM-40735-when-button-pressed trigger raised unhandled exception ORA-06508.
    plz help me out.thanks in advance.
    sarah

    SarahSarahSarah wrote:
    Yes i am keeping the path but i checked without path too.I want to regenerate webutil.plx.i tried by using ctrl+t ,shift+ctrl+k and ctrl+k but it did not generat plx.what should i do to regenerat plx?is it giving any error when you try to generate it using ctrl + t .?
    Also try closing the builder
    set FORMS_PATH with your working directory (do also keep webutil.pll and webutil.olb) in that.
    Open the builder again and try generating

  • Frm-40735 when-custom-item-event trigger raised unhandled exceptionora06508

    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.
    While logging in, I am getting the above message,
    If I click on ok i am able to proceed and do the task.
    My problem here is to remove this error.
    Any one plz help out?

    Welcome to OTN
    Before posting on this forum please read
    931068 wrote:
    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.So
    ORA-06508:     PL/SQL: could not find program unit being called
    Cause:     An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action:     Check that all referenced programs, including their package bodies, exist and are compatible. Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • 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

  • WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help

    Hi Grant,
    WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help..
    I need a help from you.
    1) I have developed an form to browse the client machine and upload the file on server / table
    2) Registered the form in Oracle Apps 11.5.10.
    3) Currently i am able to open the File_Dialog and browse throught the clients machine
    But when ever user selects any file and says Open, i am not able to retrieve the file name. wHEN-CUSTOM-ITEM-EVENT is not
    firing. I am sure how we can invoke this CUSTOM-ITEM-EVENT.
    To devlop the form i have referred PERWSIMG.fmb - of Oracle (Apps) HRMS which uploads the employee photo in the Database.
    Hence i have used the same java code / Implementaion Class.
    Please help...
    Regards
    Sameer

    Hi Francois,
    You were right. I re-loaded the zip file and the original version works. Odd, as I don't remember ever modifying those files.
    But my original issue still remains.
    The only code I've added is this:
    Color mycolor = this.getBackground() ;
    setBackground(mycolor);to the CalendarFrame constructor. How could this be causing the trigger to not fire?
    Could it be the way I created the bean? I copied all the java files to my project, attached the libraries, created a deployment profile. Everything compiles without errors or warnings, and the jar is created without issues. The java console doesn't give any errors either.
    Thanks for all your help,
    A
    Edited by: Abigail Parmar on Mar 26, 2009 1:01 PM

  • (FRM-40735) WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception

    Greetings
    The rest of the subject is ORA-06508.
    I am using Oracle Forms 10g
    I have three instances of the same app: DEV, TEST, and PROD. I can access both DEV and TEST with no problems. This includes being able to connect to any of the underlying databases i.e. DEV can connect to DEV, TEST, and PROD databases as can TEST.
    However, when I try to connect PROD to any of the aformentioned databases, I receive the error message in the subject.
    Regards,
    Bill Chadbourne

    when I try to connect PROD to any of the aformentioned databases, ...Since DEV is usually ahead in development to TEST, which is ahead of PROD it's to be expected that you cannot always use PROD forms on DEV or TEST databases.

  • ***How to call BSP App when custom button event fired from toolbar group***

    Dear PCUI Experts,
       I have created one custom button for the transaction CRMD_BUS2000116.
    And my urgnet requirement is , I need to call BSP application which is used to   take data from custom fields and stores into BP table.
    How to call the BSP App. when i clicks on the button.
    Please help me..
    I will reward with great points.
    Regards,
    Stella.

    Hi Purushothaman,
                                 I have created a button in CRRM_ACCOUNT application.
    Now i want to call  a custom bsp application by clicking on that button.I have followed step given in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But the event is not triggered.Do I have to create an iview for my bsp application?
    How to do that?Plz help.
    Regards,
    Ruby.

  • Getting the correct userid in a afterproperties in a item event receiver

    HI,
     am writing  a   custom item event receiver and i am trying to read from a user/group column. and when i am  using afterproperties to get the  getitembyid() for a user, am getting different values on different times.
     yesterday when i accessed the same, i am getting the correct  user id i mean if its  "in\john.mith " am getting the  values  john.smith.
     but today when i debugged, i am not getting the john.smith value instead it pulled the fully qualified value - i eman  - along with authentication  - i:#w0/.....kind of.
    its strange that sometiems its working fine and sometimes the same code behaves in a different way.
    can ansyone please provide any hint what exactly going on and how can i get a correct id when i use afterproperties.
    help  is appreciated!

    Hi,
    According to your description, the value of the User field in the AfterProperties not always the same.
    As you said, the value got changed today when you debug your event receiver, is there any change in your environment recently?
    A possible reason might be that the authentication method has been changed.
    There is a test in Naim’s blog about the different value of User filed in an Event Receiver when in different authentication mode:
    http://naimmurati.wordpress.com/2014/07/25/user-field-in-event-receivers-when-using-claims-based-authentication-and-classic-mode-authentication/
    How to determine the Authentication mode of a web application:
    http://blogs.msdn.com/b/psssql/archive/2011/02/22/sharepoint-adventures-how-to-identify-if-you-are-using-claims-authentication.aspx
    Thus, a possible workaround to get the user name from a User field is that you can use
    properties.ListItem["UserField"] which will return same result whatever the authentication mode would be.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Can I change the event WHEN-VALIDATE-ITEM in Custom.pll??

    Hi I have a requirement where to change the Format to 'EXCEL' which is by default 'PDF' for a particular Concurrent Program.
    I am making the chanages in CUSTOM.pll Package Body...
    Here's my approach:
    In the Procedure Event:
    var1 varchar2(255);
    var2 varchar2(50);
    if (event_name='WHEN-VALIDATE-ITEM' ) then
    if (form_name='FNDRSRN' and block_name='WORK_ORDER') then
    var1 := name_in('WORK_ORDER.USER_CONCURRENT_PROGRAM_NAME');
    if var1='ACCOUNT PAYABLE REPORT' then
    var2 := 'EXCEL';
    copy(var2,'TEMPLATES.FORMAT');
    else
    var2 := 'PDF';
    copy(var2,'TEMPLATES.FORMAT');
    end if;
    end if;
    end if;
    Please need anyones concerete help to justify my approach
    Regards
    Saugata

    Did you ever get this done ? I need to do the same thing and don't want to change the form

  • When to use Custom Adapter, Event Beans and Spring beans

    Hi,
    I have basic question on when or on what basis/scenario the Custom Adapter, Event Beans or Spring beans should be used.
    All three has same implementation methods.
    Please help me in understanding when to use Custom Adapters, Event Beans or Spring beans.
    Thanks,
    Sri
    Edited by: 897694 on Mar 7, 2012 8:12 AM

    custom adapters:
    you have to use a custom adapter when you don't find any adapter in ocep which will serve your purpose.
    Most of the times you use an adapter to connect the application with external things like http server, etc It can be both to listen the events or to send the events outside.
    Event Beans:
    This type of beans does most of the work that an adapter code does but in convention beans are not used to connect the application with external stuff
    You can use Beans as event sink etc In this case using an using an adapter is not suggestable.
    If you implement Interfaces like Initializing Bean for an adapter code it won't work properly, you have to use an event Bean in that case.
    Spring beans:
    Spring beans are used when the bean code doesn't implement EventSink or EventSender.
    These beans are used to enable something (eg: make ${wlevs_dev_home}/abc/a/b.java this path is not understandable by java code unless you override the path using a spring bean)
    Most of the things which doesn't need a connection between components in the application (eg cache loader: you can do this using spring beans and event beans both but spring beans doesn't need a connection with cache)
    Hope this small writeup helps you :)
    Edited by: Patha on Mar 8, 2012 9:10 AM

  • Payment Predictor applying multiple payments to the same Item when customer send more than 1 payment in 1 deposit.

    We have an issue where customers are sending us multiple payments and they come in the same deposit. When payment predictor runs, it is applying both the payments to the same Item using different algorithms. I would think when an Item is selected by 1 payment it should be tagged like it is on a payment worksheet and another payment should not try to apply it to the same item. Ex: we have an Item with balance $1356. Two payments came in for the same customer for $992 and $1356 in the same deposit. Payment predictor applied both payments to the same Item using #BALANCE and #OLDESTC algorithm. The Item now has a balance of -$992. Did anyone else see this issue?
    Thanks,

    Are both the payments for the employee not transferred or only the unpaid one ?
    How about paying both the amounts(status paid) and then do a transfer to SLA.
    Cheers,
    Vigneswar

  • WHEN-VALIDATE-ITEM in custom.pll

    Hi All,
    I have a requirement
    In PO form when item is selected, the price should be populated from a custom table.
    I tried populating price at WHEN-VALIDATE-ITEM of item, but it seems that custom.pll does not capture WHEN-VALIDATE-ITEM.
    Is there any way I can achieve my requirement.
    Thanks and Regards
    Prajesh

    If you do not have a quote, then it might a little harder.
    What kind of data is present in your custom table?
    Can you create/maintain quotes based on the data and then use the quotes for creating standard PO?
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • LINE_SUM_FOLDER_ITEMS_ITEM.ASSET_BOOK: EVENT='WHEN-VALIDATE-ITEM

    Hi,
    after setting up the financials, while entering an invoice, whenever i try to enter a line the system gives me the following error;
    Invalid argument to LINE_SUM_FOLDER_ITEMS_ITEM.ASSET_BOOK: EVENT='WHEN-VALIDATE-ITEM'
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-20002.
    I found the document [ID 1312124.1] at metalink that says to recompile the invalid objects, which i did but the issue remains the same. Any one with some other solution?
    Regards,

    Hi
    We have just had the same problem on our internal instances after an upgrade to 12.1.3.
    We found the problem was a new library that hadn't been compiled correctly.
    Check your versions of $AU_TOP/resource/APXINLIN.pll and $AU_TOP/resource/APXINLIN.plx. These should be the same at:
    $Header APXINLIN.pld 120.158.12010000.95 2010/05/14 11:19:33 asansari ship $
    To check the versions use the commands:
    adident Header $AU_TOP/resource/APXINLIN.pll
    and
    adident Header $AU_TOP/resource/APXINLIN.plx
    If they are different then thats probably the issue.
    I tried to recompile all AP form files via adadmin but this didn't fix the issue (for some reason this library isn't recompiled) so I ended up having to recompile manually. From within the $AU_TOP/resource directory:
    frmcmp APXINLIN.pll apps/<apps password> module_type=LIBRARY compile_all=yes
    NB if you are on Unix then you need to have $DISPLAY pointing to a valid X-Windows server for the frmcmp command to work.
    Hope this helps
    Robin
    Edited by: user12618472 on 04-May-2012 05:13

Maybe you are looking for

  • Creative MediaSource Organizer V

    I just started using MediaSource. I think it's the best software of the bunch. The question I have is how can I get back the window (Organizer view open) that shows your artist folders and album folders. For some unknown reason MediaSource closed dow

  • How to open .src files in indesign

    in previous version of indesign there are some plugin with the installer CD to open .src files.but in creative cloud there is no plugin to open .src files.pl help us.

  • Custom report layout, works in BI Publ. Desktop preview, not in apex

    Hi I've usually haven't had any problems using custom RTF-files made with BI Publ. Desktop, but here goes: I've had a problem with this one template in different apex-installs and different versions; never got it working. The funny thing is; when I c

  • Problem with making text 3D

    Making text a 3d repousse object is easy enough, but if I add filters to the text, select it and then try to make a repousse object FROM the selection, the text gets rendered in 3d, but there is no hole between letters like O and P and A. Is there an

  • I choose an app and put in the password, it comes onto my IPad2 but quickly disappears????

    When I choose an app and install it i put in my password,  The apple appears on my IPad2 and then quickly disappears.  It will not hold the app on the IPad?? Any suggestions?