Raise event inside handler of another event

Hello,
Is there any way of triggering an event from handler of another event? Its like: Trigerring even 'expand_empty_node' inside handler of event 'checkbox_change'. I am using slav tree.
Regards
Puru

Hi,
Please declare the event in componentcontroller and use code wizard to raise that event.
Depending upon your functionality, write in the event handler in a view (used or consumer component). If you want to use the event across components then please mark that event as interface event by checking the interface column.
thanks,
Rahul

Similar Messages

  • C# COM server events "lost" when raising events while Excel is in edit mode

    I posted this question on StackOverflow (http://stackoverflow.com/questions/23798443/c-sharp-com-server-events-lost-when-raising-events-while-excel-is-in-edit-mode) but did not receive a good answer, so I'm trying my luck here.
    I have an in-proc COM server written in C# (using .NET Framework 3.5) that raises COM events based on this example: http://msdn.microsoft.com/en-us/library/dd8bf0x3(v=vs.90).aspx
    Excel VBA is the most common client of my COM server.  I’ve found that when I raise COM events while Excel is in edit mode (e.g. a cell is being edited) the event is “lost”.  Meaning, the VBA event handler is never called (even after the Excel
    edit mode is finished) and the call to the C# event delegate passes through and fails silently with no exceptions being thrown.  Do you know how I can detect this situation on my COM server?  Or better still, make the event delegate call block until
    Excel is out of edit mode?
    I have tried:
    Inspecting the properties of the event delegate – could not find any property to indicate that the event failed to be raised on the client.
    Calling the event delegate directly from a worker thread and from the main thread – event not raised on the client, no exceptions thrown on the server.
    Pushing the event delegate onto a worker thread’s Dispatcher and invoking it synchronously – event not raised on the client, no exceptions thrown on the server.
    Pushing the event delegate onto the main thread’s Dispatcher and invoking it synchronously and asynchronously – event not raised on the client, no exceptions thrown on the server.
    Checking the status code of the Dispatcher.BeginInvoke call (using DispatcherOperation.Status) – the status is always ends with “Completed”, and is never in “Aborted” state.
    Creating an out-of-proc C# COM server exe and tested raising the events from there – same result, event handler never called, no exceptions.
    Since I get no indication that the event was not raised on the client, I cannot handle this situation in my code.
    I have tested this with Excel 2010 and Excel 2013.
    Here is a simple test case.  The C# COM server:
    namespace ComServerTest
    public delegate void EventOneDelegate();
    // Interface
    [Guid("2B2C1A74-248D-48B0-ACB0-3EE94223BDD3"), Description("ManagerClass interface")]
    [InterfaceType(ComInterfaceType.InterfaceIsDual)]
    [ComVisible(true)]
    public interface IManagerClass
    [DispId(1), Description("Describes MethodAAA")]
    String MethodAAA(String strValue);
    [DispId(2), Description("Start thread work")]
    String StartThreadWork(String strIn);
    [DispId(3), Description("Stop thread work")]
    String StopThreadWork(String strIn);
    [Guid("596AEB63-33C1-4CFD-8C9F-5BEF17D4C7AC"), Description("Manager events interface")]
    [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
    [ComVisible(true)]
    public interface ManagerEvents
    [DispId(1), Description("Event one")]
    void EventOne();
    [Guid("4D0A42CB-A950-4422-A8F0-3A714EBA3EC7"), Description("ManagerClass implementation")]
    [ComVisible(true), ClassInterface(ClassInterfaceType.None)]
    [ComSourceInterfaces(typeof(ManagerEvents))]
    public class ManagerClass : IManagerClass
    private event EventOneDelegate EventOne;
    private System.Threading.Thread m_workerThread;
    private bool m_doWork;
    private System.Windows.Threading.Dispatcher MainThreadDispatcher = null;
    public ManagerClass()
    // Assumes this is created on the main thread
    MainThreadDispatcher = System.Windows.Threading.Dispatcher.CurrentDispatcher;
    m_doWork = false;
    m_workerThread = new System.Threading.Thread(DoThreadWork);
    // Simple thread that raises an event every few seconds
    private void DoThreadWork()
    DateTime dtStart = DateTime.Now;
    TimeSpan fiveSecs = new TimeSpan(0, 0, 5);
    while (m_doWork)
    if ((DateTime.Now - dtStart) > fiveSecs)
    System.Diagnostics.Debug.Print("Raising event...");
    try
    if (EventOne != null)
    // Tried calling the event delegate directly
    EventOne();
    // Tried synchronously invoking the event delegate from the main thread's dispatcher
    MainThreadDispatcher.Invoke(EventOne, new object[] { });
    // Tried asynchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.DispatcherOperation dispOp = MainThreadDispatcher.BeginInvoke(EventOne, new object[] { });
    // Tried synchronously invoking the event delegate from the worker thread's dispatcher.
    // Asynchronously invoking the event delegate from the worker thread's dispatcher did not work regardless of whether Excel is in edit mode or not.
    System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(EventOne, new object[] { });
    catch (System.Exception ex)
    // No exceptions were thrown when attempting to raise the event when Excel is in edit mode
    System.Diagnostics.Debug.Print(ex.ToString());
    dtStart = DateTime.Now;
    // Method should be called from the main thread
    [ComVisible(true), Description("Implements MethodAAA")]
    public String MethodAAA(String strValue)
    if (EventOne != null)
    try
    // Tried calling the event delegate directly
    EventOne();
    // Tried asynchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.DispatcherOperation dispOp = System.Windows.Threading.Dispatcher.CurrentDispatcher.BeginInvoke(EventOne, new object[] { });
    // Tried synchronously invoking the event delegate from the main thread's dispatcher
    System.Windows.Threading.Dispatcher.CurrentDispatcher.Invoke(EventOne, new object[] { });
    catch (System.Exception ex)
    // No exceptions were thrown when attempting to raise the event when Excel is in edit mode
    System.Diagnostics.Debug.Print(ex.ToString());
    return "";
    return "";
    [ComVisible(true), Description("Start thread work")]
    public String StartThreadWork(String strIn)
    m_doWork = true;
    m_workerThread.Start();
    return "";
    [ComVisible(true), Description("Stop thread work")]
    public String StopThreadWork(String strIn)
    m_doWork = false;
    m_workerThread.Join();
    return "";
    I register it using regasm:
    %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm /codebase ComServerTest.dll /tlb:ComServerTest.tlb
    Excel VBA client code:
    Public WithEvents managerObj As ComServerTest.ManagerClass
    Public g_nCounter As Long
    Sub TestEventsFromWorkerThread()
    Set managerObj = New ComServerTest.ManagerClass
    Dim dtStart As Date
    dtStart = DateTime.Now
    g_nCounter = 0
    Debug.Print "Start"
    ' Starts the worker thread which will raise the EventOne event every few seconds
    managerObj.StartThreadWork ""
    Do While True
    DoEvents
    ' Loop for 20 secs
    If ((DateTime.Now - dtStart) * 24 * 60 * 60) > 20 Then
    ' Stops the worker thread
    managerObj.StopThreadWork ""
    Exit Do
    End If
    Loop
    Debug.Print "Done"
    End Sub
    Sub TestEventFromMainThread()
    Set managerObj = New ComServerTest.ManagerClass
    Debug.Print "Start"
    ' This call will raise the EventOne event
    managerObj.MethodAAA ""
    Debug.Print "Done"
    End Sub
    ' EventOne handler
    Private Sub managerObj_EventOne()
    Debug.Print "EventOne " & g_nCounter
    g_nCounter = g_nCounter + 1
    End Sub
    This problem also occurs for a C++ MFC Automation server that raises COM events.  If I raise the COM event from the main thread when Excel is in edit mode, the event handler is never called.  No errors or exceptions are thrown on the server,
    similar to my C# COM server.  However, if I use the Global Interface Table to marshal the event sink interface from the main thread
    back to the main thread, then invoking the event - it will block while Excel is in edit mode.  (I also used COleMessageFilter to disable the busy dialog and not responding dialogs, otherwise I'd receive the exception:
    RPC_E_CANTCALLOUT_INEXTERNALCALL It is illegal to call out while inside message filter.)
    Knowing that, I tried to do the same on my C# COM server.  I could instantiate the Global Interface Table (using the definition from pinvoke.net) and the message filter (using the IOleMessageFilter definition from MSDN).  However, the event still
    gets "lost" and does not block while Excel is in edit mode.
    Here's my additional C# code to try to make use of the Global Interface Table:
    namespace ComServerTest
    // Global Interface Table definition from pinvoke.net
    ComImport,
    InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
    Guid("00000146-0000-0000-C000-000000000046")
    interface IGlobalInterfaceTable
    uint RegisterInterfaceInGlobal(
    [MarshalAs(UnmanagedType.IUnknown)] object pUnk,
    [In] ref Guid riid);
    void RevokeInterfaceFromGlobal(uint dwCookie);
    [return: MarshalAs(UnmanagedType.IUnknown)]
    object GetInterfaceFromGlobal(uint dwCookie, [In] ref Guid riid);
    ComImport,
    Guid("00000323-0000-0000-C000-000000000046") // CLSID_StdGlobalInterfaceTable
    class StdGlobalInterfaceTable /* : IGlobalInterfaceTable */
    public class ManagerClass : IManagerClass
    //...skipped code already mentioned in earlier sample above...
    //...also skipped the message filter code for brevity...
    private Guid IID_IDispatch = new Guid("00020400-0000-0000-C000-000000000046");
    private IGlobalInterfaceTable m_GIT = null;
    public ManagerClass()
    //...skipped code already mentioned in earlier sample above...
    m_GIT = (IGlobalInterfaceTable)new StdGlobalInterfaceTable();
    public void FireEventOne()
    // Using the GIT to marshal the (event?) interface from the main thread back to the main thread (like the MFC Automation server).
    // Should we be marshalling the ManagerEvents interface pointer instead? How do we get at it?
    uint uCookie = m_GIT.RegisterInterfaceInGlobal(this, ref IID_IDispatch);
    ManagerClass mgr = (ManagerClass)m_GIT.GetInterfaceFromGlobal(uCookie, ref IID_IDispatch);
    mgr.EventOne(); // when Excel is in edit mode, event handler is never called and does not block, event is "lost"
    m_GIT.RevokeInterfaceFromGlobal(uCookie);
    I’d like my C# COM server to behave in a similar way to the MFC Automation server.  Is this possible?  I think I should be registering the ManagerEvents interface pointer in the GIT but I don't know how to get at it? I tried using Marshal.GetComInterfaceForObject(this,
    typeof(ManagerEvents)) but that just throws an exception: System.InvalidCastException: Specified cast is not valid.
    Thanks.

    Hi Jason-F,
    I’ve found that when I raise COM events while Excel is in edit mode (e.g. a cell is being edited) the event is “lost”.  Meaning,
    the VBA event handler is never called (even after the Excel edit mode is finished) and the call to the C# event delegate passes through and fails silently with no exceptions being thrown.
    Do you mean you didn't raise EventOne event? EventOne handler like following?
    ' EventOne handler
    Private Sub managerObj_EventOne()
    Debug.Print "EventOne " & g_nCounter
    g_nCounter = g_nCounter + 1
    End Sub
    After test your code, here is my screenshot
    And here is my execute log in C# ComServerTest.
    ManagerClass1/1/2015 5:48:11 PM
    DoThreadWork()1/1/2015 5:48:12 PM
    ManagerClass_EventOne()1/1/2015 5:48:17 PM
    ManagerClass_EventOne()1/1/2015 5:48:22 PM
    ManagerClass_EventOne()1/1/2015 5:48:27 PM
    ManagerClass_EventOne()1/1/2015 5:48:32 PM
    ManagerClass_EventOne()1/1/2015 5:48:37 PM
    ManagerClass_EventOne()1/1/2015 5:48:42 PM
    ManagerClass1/1/2015 5:49:56 PM
    DoThreadWork()1/1/2015 5:49:56 PM
    ManagerClass_EventOne()1/1/2015 5:50:01 PM
    ManagerClass1/1/2015 5:50:04 PM
    If i misunderstand you, please feel free to let me know.
    Best regards,
    kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Delay - job created by the RAISE EVENT

    It's possible to change the scheduling of a job created by a RAISE EVENT, and instead of executing immediately, to schedule it as +1 minute delay?
    Thanks!
    PS: i have to wayt because, after the event, some tables are updated in my program and i have to wait the commit
    Edited by: Was Wasssu on Sep 6, 2010 9:08 AM

    That's true, but from the sparse information in the original post I understood that he is issueing a COMMIT WORK anyway in his code. So Mr. Wasssu, are you inside a customer exit? Anything else we need to know?
    Thomas

  • Raise event..........Help me out

    Please tell me how can I trigger event from ABAP program???
    I have not work on this ever....Please tell me in detail......
    Thanks in Advance........

    Hi Pousali,
    You can raise events in ABAP using the RAISE EVENT statement.
    The syntax is
    RAISE EVENT <evt> EXPORTING... <ei> = <f i>...
    Raising of events have got application in Object Oriented Programming, where you can give the coding for a Method to be executed when an event is raised.
    In classes, if you want to raise events,
    it should be defined as follows.
    EVENTS  critical_value EXPORTING
                 value(excess) TYPE i.
    The event can be raised as follows.
    RAISE EVENT critical_value
             EXPORTING excess = diff.
    In classes, user-defined events can be implemented by 5 steps:
    1) defining the event ( as specified above )
    2) defining the event handler method
    eg:
    METHODS handle_excess FOR EVENT critical_value      OF counter IMPORTING excess.
    3) Raising of the event using RAISE EVENT stmt (as specified above)
    4) Provide the implementation of the method defined in step 2.
    5) Register the event by using the statement SET HANDLER statement.
    In the case of pre-defined events like <b>double click , right click </b> , you need to do steps 2), 4) and 5) as the event has been defined before.
    Sample program can be obtained from the following link.
    http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4eca79e11d1950f0000e82de14a/content.htm
    Regards,
    SP.

  • RAISE EVENT usage in real world

    Hi,
    I wonder what is the advantage of the statement RAISE EVENT in contrast to a normal call to a class method.
    Given the following example coding:
    METHOD pai_0100.
      CASE ok_code.
        WHEN 'START'.
          RAISE EVENT read_sflight_data_event EXPORTING i_carrid = i_carrid.
      ENDCASE.
    ENDMETHOD.
    This will raise the event read_sflight_data_event. This event calls the method read_sflight_data set as handler in the class constructor:
    METHOD constructor.
      SET HANDLER me->read_sflight_data FOR me.
    ENDMETHOD.
    Reading data from database...
    METHOD read_sflight_data.
      IF NOT i_carrid IS INITIAL.
        SELECT * FROM sflight INTO TABLE gt_sflight
          WHERE carrid = i_carrid.
      ELSE.
        SELECT * FROM sflight INTO TABLE gt_sflight.
      ENDIF.
    ENDMETHOD.
    Of course I could have written, too:
    METHOD pai_0100.
      CASE ok_code.
        WHEN 'START'.
          me->read_sflight_data( i_carrid = i_carrid ).
      ENDCASE.
    ENDMETHOD.
    Which results in exactly the same result of course, however what is the advantage of events in real world? When is it useful to raise an event instead of calling the event handler directly?
    Thanks for shedding some lights on this topic.

    You don't have to look far to get real world SAP examples for event handling:
    <ul style="list-style:circle!important">
    <li>Workflow (e.g. trigger an event upon creation/change of a document)</li>
    <li>ALV (e.g. react to user input like a double click)</li>
    <li>Job control (e.g. fire a job upon a specific event)</li>
    </ul>
    When you look at the examples it's obvious that the event producer doesn't necessarily know anything about any possible future event consumers: You can ignore events, have one or multiple listeners and the listeners are usually separate from the coding unit that raised the event. Note that it depends on the event handling framework how events are processed (e.g. asynchronous versus synchronous, sequential versus parallel). For class based events the event handler processing is synchronous and sequential; for multiple event handlers their execution sequence is based on their registration order (see [raise event|http://help.sap.com/abapdocu_70/en/ABAPRAISE_EVENT.htm]).
    In a simple example like the one you gave I'd say the event handling approach is possibly questionable (at least as long as all the event listeners are within the same class and there is clearly no need for other objects to listen to this event). Anyhow, the example is probably designed to show the gist of event handling, but sometimes examples from SAP look overly complicated because they seem to prefer the [SoC|http://en.wikipedia.org/wiki/Separation_of_concerns] design principle over [KISS|http://en.wikipedia.org/wiki/KISS_principle] (couldn't resist this little rant).
    Cheers, harald

  • Raise event data_changed doesnu00B4t pass parameter

    I'm using a editable alv (inheritance).
    CLASS lcl_my_alv DEFINITION INHERITING FROM cl_gui_alv_grid.
      PUBLIC SECTION.
        METHODS: activate_data_chg.
    ENDCLASS.                    "lcl_my_alv DEFINITION
    CLASS lcl_my_alv IMPLEMENTATION.
      METHOD activate_data_chg.
        DATA: pr_data_changed TYPE REF TO cl_alv_changed_data_protocol.
        RAISE EVENT data_changed
          EXPORTING er_data_changed = pr_data_changed.
      ENDMETHOD.                  
    ENDCLASS.                    "lcl_my_alv IMPLEMENTATION
    The event is raised by
      CALL METHOD alv_loc_onh->activate_data_chg
    The method handling the event is activated.
    The problem is that the parameter er_data_changed remains empty.
    Suggestions how to solve this ?

    Hi ,
            you have to call checked_changed_data using the class cl_alv_gui_grid object
    Please reward if useful.

  • TCA Business Object Events: Raise Events Program

    Hi,
    We are integrating two ebiz instances using SOA and both the instances currently are on 11.5.10. We have back ported patches from ebiz 12i into these instances to use TCA Business Objects functionality(Business Object API's and events). I have a few questions realted to the concurrent program "TCA Business Object Events: Raise Events Program":
    1) Do I need to schedule this concurrent program to raise business object events?
    2) Is there an alternate way to raise these business object events(any profiles)?
    Appreciate if someone can answer these questions.
    Thanks,
    Sak

    Hi,
    We use AIA and TCA Business Object Events program to integrate from one Ebiz instance to another.
    To achieve what you want I would not do anything in SOA.
    In out integration TCA ends up putting messages into WF_BPEL_Q.
    I would use the following process: (Assuming offline time is a possibility)
    1. Retire the parts of AIA that dequeue from WF_BPEL_Q. (depending on how messages are picked up.)
    2. Create a PLSQL script that dequeues all messages from WF_BPEL_Q but dosn't process them. Using relevant select statements you can dequeue by message ID and select only relevant messages
    3. Run whatever process you need that puts fires the Raise Events Program
    4. Run the script to dequeue the messages that does nothing with them.
    5. Re-activate the parts of AIA that dequeue from WF_BPEL_Q
    This should give you the desired effect. Just be careful you don't screen out messages that do need to be transfered.
    Robert

  • How to Raise Event in BW using ABAP program

    Hi BW Experts,
    Can anyone tell how to raise event in BW using a ABAP program.
    Program should ask for the event to be raised and destination server.
    Edited by: Arun Purohit on May 14, 2008 11:04 AM

    Hi Arun,
    By Using BP_EVENT_RAISE function module you can raise an event.Create an ABAP program and call the function module BP_EVENT_RAISE and create a avariant to specify the event to be raised. Schedule this ABAP code. Go to the start process type and set the schedule to "after event" and mention the event name that you created. Also, I think now you can mention the time as well and you can also schedule for periodic scheduling.
    T Code : SM62 --> To Create an Event.
    T Code : SE38 --> To Create an ABAP Program
    Use Function Module : BP_EVENT_RAISE to raise an event.
    Related links:
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/86/6ff03b166c8d66e10000000a11402f/frameset
    Hope this helps
    Regards
    CSM Reddy

  • Taskflow Raise event foucs problem

    Hi,
    We are using Oracle ADF JDeveloper version 11.1.1.4 (released version) for our development.
    We have used several taskflows / reusable taskflows in our application. For most of the taskflows we have "raised events".
    However we are facing strange problem with the same.
    For example:
    Consider a screen where height of the screen is more than the WINDOWS height. For such a screen vertical scroll bar will be there.
    There is a taskflow which is at the bottom of the screen. To see that taskflow user will use the vertical scroll and will reach there.
    If USER performs any action on this taskflow then events get fired correctly but the focus atomically gets shifted to first element of the screen. Due to this behavior USER needs to scroll the screen every time which is irritating. If we disable the raise event focus doesn’t shift.
    Can somebody look into this?

    Hi,
    customer support would be a good point of contact for analyzing the problem if you have a test case. I can only assume you are talking about contextual events ?
    Frak

  • Invalid xml error for raising events thro EM console

    Hi,
    I am using soa-suite 11g and was trying chapter 17 (EDN) from the book "Getting Started with Oracle SOA Suite 11g R1 – A Hands-On Tutorial".
    I created an event and trying to consume it through a mediator and writing it to a file. I read that there is a provision to raise event through EM console. I tried that option and gave a sample xml payload. But it always errors out saying incorrect xml format.
    I pasting below the xsd definition and the input payload. Can someone pls let me know if raising events thro em console works ?
    PO.XSD
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.oracle.com/ns/order"
    xmlns:po="http://xmlns.oracle.com/ns/order" elementFormDefault="qualified">
    <element name="PurchaseOrder" type="po:PurchaseOrderType"/>
    <complexType name="PurchaseOrderType">
    <sequence>
    <element name="CustID" type="string"/>
    <element name="ID" type="string"/>
    <element name="productName" type="string" minOccurs="0"/>
    <element name="itemType" type="string" minOccurs="0"/>
    <element name="price" type="decimal" minOccurs="0"/>
    <element name="quantity" type="decimal" minOccurs="0"/>
    <element name="status" type="string" minOccurs="0"/>
    <element name="ccType" type="string" minOccurs="0"/>
    <element name="ccNumber" type="string" minOccurs="0"/>
    </sequence>
    </complexType>
    </schema>
    Input Payload
    <PurchaseOrder xmlns="http://xmlns.oracle.com/ns/order">
    <CustID>1111</CustID>
    <ID>33412</ID>
    <productName>Sony Bluray DVD Player</productName>
    <itemType>Electronics</itemType>
    <price>350</price>
    <quantity>5</quantity>
    <status>Initial</status>
    <ccType>Mastercard</ccType>
    <ccNumber>1234-1234-1234-1234</ccNumber>
    </PurchaseOrder>
    EDL
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <definitions xmlns="http://schemas.oracle.com/events/edl" targetNamespace="http://schemas.oracle.com/events/edl/POEvents">
    <schema-import namespace="http://xmlns.oracle.com/ns/order" location="xsd/po.xsd"/>
    <event-definition name="NewPO">
    <content xmlns:ns0="http://xmlns.oracle.com/ns/order" element="ns0:PurchaseOrder"/>
    </event-definition>
    </definitions>
    thanks in advance
    Balaji

    Error when raising on EM console
    "Failed to publish the event. A common cause is to input incorrect XML syntax. Please view the log files for details."
    Exception in the log
    oracle.fabric.common.FabricException: Error enqueing event
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.publishEvent(SAQBusinessEventBus.java:517)
    at oracle.integration.platform.blocks.event.EDNFacadeImpl.testEventPublish(EDNFacadeImpl.java:394)
    at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeEDNMethod(FacadeFinderBeanImpl.java:1191)
    at sun.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
    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.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor863.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy241.executeEDNMethod(Unknown Source)
    at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.executeEDNMethod(FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.java:1536)
    at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.inGlobalTrans(SAQBusinessEventBus.java:640)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.getConnection(SAQBusinessEventBus.java:1357)
    at oracle.integration.platform.blocks.event.saq.SAQBusinessEventBus.publishEvent(SAQBusinessEventBus.java:511)
    at oracle.integration.platform.blocks.event.EDNFacadeImpl.testEventPublish(EDNFacadeImpl.java:394)
    at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.executeEDNMethod(FacadeFinderBeanImpl.java:1192)
    at sun.reflect.GeneratedMethodAccessor940.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:88)
    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.wls.JpsWeblogicEjbInterceptor.runJaasMode(JpsWeblogicEjbInterceptor.java:61)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:106)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor863.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy241.executeEDNMethod(Unknown Source)
    at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.executeEDNMethod(FacadeFinderBean_4vacyo_FacadeFinderBeanImpl.java:1536)
    at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:478)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
    ... 2 more

  • Raise event doesn't work on postback?

    I have this code on a search portlet that has a DIV container. The code below works fine with the alert but without it the raise event is ignored.
    handleControlGridResponse = function(response) { // Get the container whose contents we want to refresh    var container = document.getElementById('ControlGridContainer'); // Redraw it with the text of the response   container.innerHTML = response.responseText;     if (response.responseText.indexOf("Only One Row") != -1) {   var startIndex = response.responseText.indexOf("*Only One Row*") + 14;  var endIndex = response.responseText.indexOf("*theEnd*");  var len = endIndex - startIndex;  var ID = response.responseText.substr(startIndex, len);
    document.PCC.PutSessionState("urn:Cognex.productportal.com:proditeminfo", "Picked_id", ID); document.PCC.RaiseEvent('urn:Cognex.productportal.com:RecordSelected', 'RecordSelected', 'fill portlets'); alert(ID) } }
    How do I get this to work?
    Thanks.

    I tore my hair out over the same issue. Based on SaitoLux's suggestion, I decided to try deleting and reinstalling the prefs panel for my Logitech mice (Logitech Control Center).
    Success!
    If you've got this problem and you have a non-Apple mouse driver installed, try deleting and reinstalling. Can't explain why it worked, but happy it did.

  • Query to clear raised events in CPS

    Hi,
    Is there a query to clear raised events in Redwood ?
    Our CPS did not restart properly this WE and all the Event File Definition wich was started are now going in a pending status. The problem is that the raised ones are not visible in the monitoring (I cannot clear them !) and auto-submit jobs are not running anymore as new event file are pending !
    How can I clear them (as they'aren't in the monitoring) ?
    I solved my problem by creating a new file Event Definition for one of the job and it ran but I cannot do that (itu2019s not a solution) for all the jobs which were running correctly before.
    We restart Redwood but event are still going in a pending status, I donu2019t see any operator message.
    So, this problem is not similar with the one I opened a few days ago.
    If someone can help, Iu2019ll really appreciate it.
    Clement.

    Hi Preethish,
    Yes, I'm able to submit the Job Chains manually and I already Clear all Pending events. But no way, still going in pending status.
    What I did to workaround my problem, I create new event definitions for those job chains but I don't want to correct the problem that way if this happens again; It's not a solution as I've too many jobs.
    Regards
    Clement.

  • What is custom raised event?

    Hi,
    What is custom raised event in OPA.
    I heard that at the time of OPA online training in last week.

    The built in Error and Warning events allow you to do things imperatively at run-time. E.g. validate that certain data pre-conditions are not violated with data being passed from an external system.
    For example:
    Error(“age must be a whole number of years”, age) if
      round(the person’s age, 0) <> the person’s age
    The custom event mechanism provides an extensible way of flagging other things imperatively if certain conditions are met.
    For example:
    raiseevent LogExternalAccess( "External access by user:", the user's id, CurrentDateTime() ) if
       the user's category is external
    Where "LogExternalAccess" in this case is the name of an event for which an inferencing listener has been created in Java or C# to look for, and perform some action, such as writing the information provided to the event to a log file.
    Davin.

  • Every time I download a PDF I get a message that says There was a RAISE without a handler. The application will now close. What does this mean?

    I work on a Power Mac G5 running OSX 10.5.8.
    We recently had to upgrade Java.
    Now every time I download a PDF I get the message "There was a RAISE without a handler. The application will now close."
    I downloads the PDF OK, but then Safari closes and I have to start it back up to get to my email.
    What is the message telling me? It did not do this before we upgraded Java.

    I'm having the same issue. Again, unfortunately. And of course you will find through various searches that it is a reoccurring issue, one that Adobe seems to have failed to acknowledge.
    You can delete your preference files. Same thing. RAISE blah blah crash.
    You can even go and do a restore from an uncorrupted backup from over 4 months ago, and yet it still doesn't solve the problem, thus there is a compatibility issue.
    The program is battling with another program (of which there really is no telling) and therefore crashing the moment you open it. The software itself is clean and uncorrupted, yet somewhere deep within OSX there is a problem that won't allow the software to open.
    The only temporary solution i've found to solve the problem is a clean adobe install. Just delete and uninstall all and any traces of Adobe Acrobat, then reinstall to find a working adobe product. For a small while, at least.
    I've never tried creating a new account, but from what others say it works. Not worth my time though.
    If anyone was wondering I have zero third party plugins. Its straight from Adobe CS4. Pro version.
    Someone above mentioned using the drop down menu in acrobat to reset the software. I can't even do that! The "RAISE" window pops up before that actual software! Its ridiculous!
    Its really quite peeving to know that this issue has been around for years and Adobe seems to just ignore it. I know I don't want to pay for a company that fails to meet their customers needs. This is your problem Adobe, not ours to deal with. Fix It.

  • There was a RAISE without a handler. The application will now exit/

    Can someone help me figure this out, I can open Acrobat and run it for about 5 seconds, then this message pops up "There was a RAISE without a handler. The application will now exit." and Acrobat Pro closes.
    I am running Mac OSX 10.5.8 and Acrobat Pro 9.3.3.  I have tried going back to a previous version of Acrobat but I get the same error.  I am using Firefox, someone suggested it is a Safari thing, but I have never used Safari, not sure why it would be associated anyway, but trying to give as much info as I can.
    Help please?

    I'm having the same issue. Again, unfortunately. And of course you will find through various searches that it is a reoccurring issue, one that Adobe seems to have failed to acknowledge.
    You can delete your preference files. Same thing. RAISE blah blah crash.
    You can even go and do a restore from an uncorrupted backup from over 4 months ago, and yet it still doesn't solve the problem, thus there is a compatibility issue.
    The program is battling with another program (of which there really is no telling) and therefore crashing the moment you open it. The software itself is clean and uncorrupted, yet somewhere deep within OSX there is a problem that won't allow the software to open.
    The only temporary solution i've found to solve the problem is a clean adobe install. Just delete and uninstall all and any traces of Adobe Acrobat, then reinstall to find a working adobe product. For a small while, at least.
    I've never tried creating a new account, but from what others say it works. Not worth my time though.
    If anyone was wondering I have zero third party plugins. Its straight from Adobe CS4. Pro version.
    Someone above mentioned using the drop down menu in acrobat to reset the software. I can't even do that! The "RAISE" window pops up before that actual software! Its ridiculous!
    Its really quite peeving to know that this issue has been around for years and Adobe seems to just ignore it. I know I don't want to pay for a company that fails to meet their customers needs. This is your problem Adobe, not ours to deal with. Fix It.

Maybe you are looking for

  • Can I put two Itunes libraries on one ipod

    Wondering if I can put my husband's itunes library onto my ipod, so that we won't need two ipods.

  • Why a " # " is coming while printing chinese characters from SAP script?

    Hi All, Facing one issue. We have a SAP script for printing delivery note thru T-code VL03N. The script has chinese characters in it. When I print this form the chinese characters that are hardcoded in the script can be seen in the print out but the

  • Blue/Black screen when I woke up this morning.

    Hi all I woke up this morning to my phone displaying blue/black lines on my screen with no picture :/! It has rather confused and I'm unsure what to do. I have had the phone for over a year and any help would be appreciated. Thanks, Gregor

  • Serial Number will not work for my PSE 7

    I"m trying to install my PSE 7 on my new Windows 8.1.1 computer. The trial version is running just fine but it will not accept my serial number. Adobe support was no help at all.

  • Issue in BAPI_ACC_DOCUEMENT_CHECK

    Hi Experts, I have one query in BAPI_ACC_DOCUMENT_CHECK. While executing the BAPI i am getting the message as "Balance in transaction currency". If I am posting the document manually using the same data it is posted properly. Can anybody will suggest