[svn:fx-3.x] 9658: Handle complete events where event. target is not of type LoaderInfo.

Revision: 9658
Author:   [email protected]
Date:     2009-08-26 12:53:16 -0700 (Wed, 26 Aug 2009)
Log Message:
Handle complete events where event.target is not of type LoaderInfo.
QE notes: None.
Doc notes: None.
Bugs: SDK-22710
Reviewer: Alex
Tests run: checkintests
Is noteworthy for integration: no
Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-22710
Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/preloaders/Preloader.as

Anyone able to help?

Similar Messages

  • Handling the LOV Click event in ProcessFormRequest

    Hi ,
    We have a requirement to display certain messageStyledText values in the header region based on the value selected in LOV.
    I am trying to handle the LOV click event in ProcessFormRequest method by checking if the event is lovUpdate or lovValidate and then obtain the value selected in the LOV field.
    if("lovUpdate".equals(event) || "lovValidate".equals(event)){
    OAMessageLovInputBean lovbean = (OAMessageLovInputBean) webBean.findIndexedChildRecursive("SearchMetricName");//id of lov field
    Val = (String)lovbean.getValue(pageContext);
    System.out.println("Value selected in the LOV field is " + Val);
    Val displays the value selected in LOV appropriately
    I further pass this value to a method in AM where the query for fetching the values of the message Styled text fields should get executed. But , I get a NullPointer exception message when the controller reaches the AM method invoked.
    Serializable[] param = { Val };
    Serializable outParameters[] = (Serializable[])am.invokeMethod("displayValues",param);
    Can anyone please tell me if I have missed out anything here .I am badly stuck here.
    Thanks,
    Chandrika

    Hi Prasanna and Reetesh ,
    Thanks for your quick responses.
    The definition of method displayValues is
    public Serializable displayValues(String ParentMetric) {
    System.out.println("Value of parent Metrics passed from CO is "+ParentMetric);
    Xxg2cSubMetricHdrVOImpl hdrVo = getXxg2cSubMetricHdrVO1();
    hdrVo.setWhereClauseParams(null);
    hdrVo.setWhereClauseParam(0,ParentMetric);
    hdrVo.executeQuery();
    Row row = hdrVo.first();
    String NoOfSubmetrics = null;
    String setupStatus = null;
    String startDate = null;
    String endDate = null;
    String payoutType = null;
    if(row != null)
    NoOfSubmetrics = row.getAttribute("NoOfGroupmetrics").toString();
    setupStatus = row.getAttribute("MetricSetupStatus").toString();
    startDate = row.getAttribute("EffectiveStartDate").toString();
    endDate = row.getAttribute("EffectiveEndDate").toString();
    payoutType = row.getAttribute("PayoutType").toString();
    System.out.println("Values are : "+NoOfSubmetrics+" , "+setupStatus+" , "+startDate+ " , "+ endDate + " , " + payoutType);
    System.out.println("Execution of displayValues query after being invoked from process request:"+ hdrVo.getQuery());
    Serializable[] serializable = {NoOfSubmetrics,setupStatus,startDate,endDate,payoutType};
    return serializable;
    Complete ErrorStack is pasted below -
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at cisco.oracle.apps.xxg2c.mbo.webui.Xxg2cSubMetricCO.processFormRequest(Xxg2cSubMetricCO.java:89)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NullPointerException
         at cisco.oracle.apps.xxg2c.mbo.server.Xxg2cSubMetricAMImpl.displayValues(Xxg2cSubMetricAMImpl.java:54)
         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:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at cisco.oracle.apps.xxg2c.mbo.webui.Xxg2cSubMetricCO.processFormRequest(Xxg2cSubMetricCO.java:89)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.lang.NullPointerException
         at cisco.oracle.apps.xxg2c.mbo.server.Xxg2cSubMetricAMImpl.displayValues(Xxg2cSubMetricAMImpl.java:54)
         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:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at cisco.oracle.apps.xxg2c.mbo.webui.Xxg2cSubMetricCO.processFormRequest(Xxg2cSubMetricCO.java:89)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:75)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks,
    Chandrika

  • Event Handler/Cr​eate User Event bug

    This is a problem I've run into a few times on my system (Win2k) so I finally went back and reproduced it step by step since it wasn't too hard. It causes LabVIEW to crash and exit without saving.
    - Create an Event Handler
    - Place 'Register Events', wire output to dynamic event terminal
    - Place 'Create User Event', wire output to 'Register Events'/User Event
    - Place an Empty String Constant [""], wire to input of 'Create User Event'
    - Set empty string property -> Visible Items > Label = True
    - Rename label from "Empty String Constant" to other such as "Event"
    OR
    - Create a cluster constant with something in it
    OR
    - Place a boolean constant
    - Set boolean property -> Visible Items > Label = True
    - Name label something su
    ch as "Event"
    - 'Add Event Case...' to the Event Handler, select Dynamic / : User Event
    - Delete the constant wired to 'Create User Event'.
    - Place a constant of a different data type and wire it to the input of 'Create User Event'
    LabVIEW immediately disappears (all changes are lost) and this error is displayed:
    ================================
    LabVIEW.exe has generated errors and will be closed by
    Windows. You wlil need to restart the program.
    An error log is being created.
    ================================
    If there is a more appropriate place to post things of this nature that don’t really add to the discussion group, but need to be brought to the attention of NI, please post a URL or submittal method. Thanks...

    Thanks for the detailed request. We are aware of this exact issue, and the problem was actually fixed for LabVIEW 7.0 for Mac/Unix. Unfortunately, it did not get fixed for the initial release of LabVIEW 7.0 for Windows, but we have plans to include the fix in the first LabVIEW patch for 7.0.
    Also, the Discussion Forum is great for notifications of this kind. For future reference, you also have the options of emailing NI engineers directly, or calling us with suspected bug fixes, if you would like more direct communication.
    Thanks again, and have a great day!
    Liz Fausak
    Applications Engineer
    National Instruments
    www.ni.com/support

  • How to handle exceptions thrown by event

    Hi all,
    i have this slight problem, i'm trying to handle accessing a databse from a button click, i'm trying to simulate somebody logging on to a network. the code is as follows;
    *@author James Taylor
    *@version 30-11-2003
    *Logon gui
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.sql.*;
    public class LogonUI extends JFrame {
         //instance variables
         private JLabel userNameL;
         private JPasswordField password;
         private JButton logon;
         ButtonHandler handler;
         Connection con;
         Statement stmt;
          *Constructor initialises and creates UI, adds functionality to the button.
         public LogonUI() throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
              super("Employee Logon");
              Container c = getContentPane();
              c.setLayout(new FlowLayout() );
              //handles what happens when user presses the button
               handler = new ButtonHandler();
              userNameL = new JLabel("Please Enter Password:");
              c.add(userNameL);
              password = new JPasswordField(15);
              c.add(password);
              logon = new JButton( "Logon" );
              //anonymous inner class that is created once the button is pressed.
              //it connects to database to validate user
              logon.addActionListener( handler );
              c.add(logon);
              c.setBackground( Color.pink );
              setDefaultCloseOperation(DISPOSE_ON_CLOSE);
              setSize(250,150);
              setVisible(true);
          *class that opens connection to validate user
         private class ButtonHandler implements ActionListener {
              public void actionPerformed(ActionEvent ae)throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
                   try{
                        boolean isValidUser = false;
                        //Load mysql driver
                         Class.forName("com.mysql.jdbc.Driver").newInstance();
                         //make a connection
                        String url = "jdbc:mysql://localhost/flight";
                        con = DriverManager.getConnection(url)
                        //Create and instantiate a statement obj
                        stmt = con.createStatement();
                        //get a result set
                        ResultSet rs = stmt.executeQuery("SELECT Password FROM employees");
                        //Iterate through the result set
                        while ( rs.next() ){     
                             String savedPassword = rs.getString("Password");
                             if (password.getText().equals(savedPassword) ){
                                  isValidUser = true;
                                  JOptionPane.showMessageDialog(null,"Yipeeeee");
                        if (isValidUser == false){
                             JOptionPane.showMessageDialog(null,"Invalid Password");     
                        stmt.close();
                        con.close();
                   }catch(Exception e){ e.printStackTrace();}
              public static void main (String[] args) throws SQLException, ClassNotFoundException, IllegalAccessException, InstantiationException{
              LogonUI testAirApp = new LogonUI();
    }When the user presses the button the app tries to validate the user.
    I have not been able to test the code due to SQL Exceptions thrown in the handler class, and when i try and throw them up from here i get;
    LogonUI.java:52: actionPerformed(java.awt.event.ActionEvent) in LogonUI.ButtonHandler cannot implement actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener; overridden method does not throw java.lang.InstantiationExceptionAny ideas on my code and how to handle these exceptions will be very appreciated. Regards, James

    Turn your checked exceptions into unchecked exceptions and retrieve the cause later:
    RuntimeException unchecked = new RuntimeException(checked);
    Throwable t = unchecked.getCause();Stephen

  • Handling a table scroll event

    Hi experts,
    I have a table with several columns. In one column there is a small image thumbnail. After the content (JSONModel) has rendered in the table, a javascript is triggered, which searches for the thumbnails and generates on mouseover bigger preview of that image. However, if I scroll down the table, then the preview is not generated and I would like to re-run that script again. Therefore I would like to handle a table scroll event.
    How could a listener to the scroll event of a sapui5 table be handeled?
    Regards
    Stefan

    HI Stefan
    Here is an example. But it is not officially supported.
    Example
    -D

  • [svn] 4235: Fix for - Links and type information missing for air.update. event events in @event listings

    Revision: 4235
    Author: [email protected]
    Date: 2008-12-04 13:02:39 -0800 (Thu, 04 Dec 2008)
    Log Message:
    Fix for - Links and type information missing for air.update.event events in @event listings
    Also adding support for multiple @event for a method.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18319
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18319
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/DocComment.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    Hi All,
    I have sorted out the problem and this is fixed now.
    Regards,
    Ajay Kunde

  • [svn:fx-3.x] 9228: Fix off-screen mouse events in AIR.

    Revision: 9228
    Author:   [email protected]
    Date:     2009-08-11 11:59:47 -0700 (Tue, 11 Aug 2009)
    Log Message:
    Fix off-screen mouse events in AIR.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-21453
    Reviewer: darrell
    tests: checkintests
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21453
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemMana ger.as

    now I have this and it still doesn't work.
    Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "OffTime" "1"
    EndSection
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "DontZap" "false"
    EndSection

  • VISA Wait on Event User Event

    I have a Producer/Consumer program that uses an Event Structure to handle the UI button presses.  I want to be able to use the VISA wait on Event to read characters from the RS232 port.  So in my Event Structure I created a case for dynamic user events.
    I also create a while loop that has the VISA Enable Event and VISA Wait on Event in it. I enabled the "Serial Character" event only.  When I get this event I use the Create User Event.VI and Register for Events to get a Event Refnum
    How do I get the Event Refnum from this loop into my Producer loop?
    Solved!
    Go to Solution.

    Paul_Knight_Lockheed_Martin wrote:
    Here is the code
    No, that is not the code. That is one subVI and a picture. Where are you waiting for the VISA events? Where are you generating your user event? Based on the picture you are calling the Initialize_Controller_Communication and remaing in that code until the Stop buuton is pressed. You will not start your event structure in the producer loop until this VI completes. So, if you are not hitting the stop button to complete your initializtion it is no wonder you are never seeing your event structure run.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Calendar on iOS 7.1: Cannot Save Event - That event does not belong to that event store.

    Hi All,
    I have an iPhone 5 running iOS 7.1.
    Yesterday, while updating a birthday in the iPhone iOS calendar app (default calendar = GMail), I noticed that the new 'List View' in the iOS 7.1 calendar (and only that view) showed an event called 'New Event' - which has a start date of 2014 and an end date of 2001. If I go into that event, it will show me no title and no location - only, as mentioned, funny start and end times. The 'Delete Event' button is completely missing. This 'New Event' does not come up in any other view.
    Trying to input a ficticious title with a valid start and end time into that event slot leads to a message from the calendar app saying: "Cannot Save Event - That event does not belong to that event store." I have deleted all calendars and re-add them again via settings, with / without soft and hard reset and tried every possible combination. Yet, the event will not disappear.
    The funny thing is that this 'New Event' will still showed up, even when my GMail, work and iCloud calendars were disabled. I have, however, subscribed to a GMail calendar for Australian holidays, and there is a built-in 'Birthday' calendar that pulls the dates from the contacts (I do not use that contact field, though).
    Does anyone have a similar issue? Any suggestions how to fix it?
    Thanks in advance!
    Edit: This 'New Event' does not seem to sync to any calendar other than on the iPhone - not to Gmail, not to work, not to iCloud.

    Had same problem. Although the phone looks off   it actually isnt.  If you actually turn it off and then on again this problem will disappear. I think its a memory overload issue that is solved by clearing the memory by turning it off.
    Worked for me

  • "Could not complete your request because it is not the right kind of document" Why not?

    When I attempt to open a Canon .CR2 image in CS3, I get the following error: "Could not complete your request because it is not the right kind of document" What is the source for this problem?

    What camera do you have?
    Before you resign yourself to using the free DNG converter, which adds a step to the process each time you want to open raw files, you might want to double check to see if you have installed the latest Camera Raw update, and whether that version actually handles your camera.
    Check your version by choosing Help - About Plug-in... - Camera Raw in Photoshop.  4.6 is the latest for Photoshop CS3.
    Check the list of supported cameras in the ReadMe file for Camera Raw 4.6 (the latest version that will install with Photoshop CS3) here:
    http://www.adobe.com/special/photoshop/camera_raw/Camera_Raw_4.6_ReadMe.pdf
    At the root of all this is that every different camera makes a slightly different format .cr2 file, even though they're all named .cr2.  If your camera was designed/released after the last update of Camera Raw for CS3 was made (i.e., when PS CS4 was first released), then it will not be supported by that version of Camera Raw.  Adobe stops adding new camera support to each version of Photoshop when the next major release goes out.  If you find yourself in this situation, then the DNG converter, as Silkrooster has said, is what you'll want to use.
    -Noel

  • CS3 Could not complete your request because Photoshop does not recognize this type of file.

    CS3 Could not complete your request because Photoshop does not recognize this type of file.   Also, all the jpg images I have open in preview only. The only thing I did different about the time these things changed, was upgrading to 10.6 on my mac. Hopefully I can fix this with your help!  I really appreciate it in advance.
    steeleart

    This is the boilerplate text often used in connection to saving to a network (please NOTE the part where it explains that normally, it does work, but that it is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe):
    If you are opening files over a network or saving them to a network server, please cease and desist immediately in the event you are currently experiencing problems with one or more files. Working across a network is not supported.
    See:  
    http://kb2.adobe.com/cps/406/kb406793.html
      Copy the CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
         Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work.   It should.
        Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
      If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.
    When problems arise, a lot of valuable work can be lost.

  • Terminating Event to Event Queue due to Work Item Lock

    I have a dialog workflow task based on an asynchronous method defined with a terminating event.  When the user executes the work item, the method generates the terminating event (via a V2 change document) but the work item is enqueued (locked) by the same user (locked when they execute the work item from SBWP) and therefore the terminating event goes into error and is placed in the event queue.  The background job which processes the event queue does not redeliver the event so it stays in the event queue and the work item fails to complete.  Other than dequeing the work item lock myself with a function call how do I get around this catch 22?

    Hello Martin,
    Actually, the locking happens whether I have the task as asynchronous or synchronous.  The problem is the timing. If the user does not release the lock (by backing out of the dialog which is executed) prior to the terminating event attempting to enqueue and complete the work item then the event goes into error and is inserted into the event queue (and lingers there indefinitely, almost). Another issue with the asynchronous approach is that even if the user backs out of the dialog before the event actually attempts to complete the work item they will still see the work item in the inbox unless they click the refresh button when they get back to the inbox. 
    I have changed the task to synchronous but here is my scenario and another question.
    The process being workflowed is the approval of service entrysheets (similar to an invoice if you are not familiar with External Services).  In our process, there are a large number of documents being created and requiring approval by particular approvers.  It is a normal scenario for an approver to have, lets say 25 documents in his inbox awaiting approval. It was not practical for him to have to navigate back and forth between his inbox and the approval task screen.  Therefore, I give the users the option of (when executing a work item) having all the documents in his in-box (for this particular task) be presented in an approval list screen.  They can then do a mass approval of the 25 documents with 1 click and 1 navigation.  This list screen is also available to be executed outside workflow via a tcode.  So, when the user executes the mass approval (either from the inbox or outside workflow) the work items are terminated via the terminating event assigned to the approval task.
    A couple of issues remaining:
    1) Given my example of 25 work items (user executes 1 work item from in-box
    and I displayed all 25) being approved, when the user returns to the in-box, the 24
    items remain in his inbox until he clicks the refresh button since these were not actually "executed" from the workflow engines point of view.  However, these were terminated successfully because they were not "locked".
    <b>Question:</b> Is there a way (user exit?) to trigger the inbox refresh automatically.
    2) Now, the issue with the actual work item which the user executes from the inbox.  As I mentioned, the work item is locked as soon as the user executes it and is not released until they back out of the dialog or logoff.  So, here is what happens:  If the terminating event is sent before the lock is released the event is sent to the event queue.  If they then back out back to the in-box, its OK since I put some code in the SWO1 object type program (rememeber, its now synchronous) which will determine if they did the approval/rejection and the work item will complete and the event in the event queue will be deleted the next time the Event Queue Background job runs (it deletes any events for work items already in COMPLETED status). However, lets say they simply log off rather than backing up to the in-box or they don't do anything and are eventually logged off by timeout. In this case the code in the object type program to determine if the approval/rejection was done does not get executed (control does not return to the object type program) and the work item remains in "STARTED" status and remains in the users inbox and the event is in the event queue. So, now we have a work item that should be completed still sitting in the users in-box and the terminating event in the event queue. So the next time the user goes to their inbox the work item is still there.  The interesting thing is that though this may be confusing to the user, if they then attempt to execute the work item, they will get a message: "Work item currently being completed by event" (Message SWF_RUN 644) and the event sitting in the event queue gets redelivered and completes the work item.  To alleviate this problem I was thinking of adding a call to SAP_WAPI_WORKITEM_COMPLETE in the approval list screen after they do the approval but I'm guessing it wont work since it probably will try to enqueue the work item and it will still be locked. 
    Hopefully you haven't nodded off reading this rambling note...
    Thank you,
    Bob

  • Manually dispatching a keyboard tab event on a form does not work

    Hi,
    I am trying to solve the following issue:
    I have a form that is sitting on a TitleWindow. This is a popup window. I have a TextInput field. After clicking on the TextInput field when I try to paste something on it, nothing happens the first time and it works i.e. I am able to paste when I do a cntrl V the second time (I am trying to solve this weired behavior). When I use the keyboard to tab to the TextInput field I am able to paste using cntrl V  the first time itself.
    Therefore, I am trying to manually dispatch a tab keyboard event on a form using the following code and this does not work. I have 2 TextInput component on the form and I want the cursor to be on the second TextInput component.
    I have a have a key down handler and I can see that the event that comes in is a tab event, but on the UI the cursor does not position itself correctly.
    myForm.setFocus();
    myForm.dispatchEvent(
    new KeyboardEvent(KeyboardEvent.KEY_UP, true, false, Keyboard.TAB,Keyboard.TAB ))
    Am I missing something?
    Appreciate your help.
    Thanks
    Lilly

    No I am not trying to change the text programmatically. I have added a click event handler and a paste event handler on the textinput. I checked the differences in the properties of event and did not see anything that is different.
    I have a hunch that it has something to do with the fact that this form is sitting on a popup window.

  • If OSMFSettings.enableStageVideo true, then click event from the MediaContainer is not dispatch.

    Hi!
    I use org.osmf.vast.mediaVAST2TrackingProxyElement from the VASTLibrary for display advertising and use click to handle advertisement redirection.
    It's works for flash.media.Video.
    But after setting OSMFSettings.enableStageVideo = true, the click event from the MediaContainer is not dispatch.
    Can you please help?

    Actually, I looked briefly at the dev guide this week end, and Stage Video actually renders from the GPU under the Actionscript App.
    It could be something like this:
    Stage video is behind the Actionscript objects and one of them is as big or bigger than the video rendering rectangle and it is grabbing mouse interaction.
    Just speculating.
    Also, I'm not certain StageVideo can recieve mouse events...
    Hope this helps.

  • In ical I just added new calendars to a pre-existing calendar group, I can make events with these calendars, but not reminders, any suggestions?

    in ical I just added new calendars to a pre-existing calendar group, I can make events with these calendars, but not reminders, any suggestions?

    Hi,
    Lion has changed the way reminders (todos as was) work. They now seem to need to be in a seperate calendar.
    In iCal open the File menu and select New Reminder List... and select where to put it.
    Best wishes
    John M

Maybe you are looking for

  • Too many objects match the primary key oracle.jbo.Key[......]Exception

    Hi, When I run the search page 1st time its run fine and I can able to update the record. But when I run the search page 2nd time I am getting following error, Exception Details. oracle.apps.fnd.framework.OAException: oracle.jbo.TooManyObjectsExcepti

  • Oracle 11g R2 consuming 100% CPU on execution plans

    Hi Friends I just installed oracle 11.2.0.1.0 on Windows 2008 Server R2. I got 4GB of RAM = 2536MB for SGA and 600M for PGA I'm running a processes that is consuming 100% of CPU ant its showed on execution plan of every statement this utilization. I

  • How to set selected entity of a collection in the current, and publish it.

    Hi frnds,   I have collection which contains n number of entities, now i am  filtering the collection and getting a unique entity. what i need is that i want to publish this entity as current. How can I set this filtered entity to the current? regard

  • Apex Multiple Branches

    Using apex 4.2 I am having trouble coming up with solutions to branch back n forth between pages. Here's the scenario: I have two types of pages. An organization page(6) and a Person page(12). Both an organization and a person can have an address, so

  • Slide show in Elements 6

    How do I access a slideshow created and saved in Elements 6 to add to it?