Problem with AIR 2 Native Process?

I had installed Adobe AIR 1 before and Flex Builder 3.0 (licensed) on a Windows Vista machine. Now i have installed AIR 2 framework (without uninstalling AIR 1, assuming that it will update that). I m trying to write a small code to use AIR 2 Native Process functionality but AIR is not recognizing Native Process classes/objects. Even i have tried a sample code from Adobe Developers Center article http://www.adobe.com/devnet/air/flex/quickstart/interacting_with_native_process.html but no way.
Please let me know wat is wrong? How i can use AIR 2 new features? How to upgrade to AIR 2?
Looking forward for an earliest response.
Thanks
Asad Ijaz

Thanks romil!
I have installed AIR 2 but without uninstalling AIR 1. Should i uninstall AIR 1 before i install AIR 2?
Regard,
Asad Ijaz

Similar Messages

  • Very strange bug with AIR and native process (Windows 7, EXE)

    Hello to everyone!
    The situation is:
    I've made an AIR Application, inside of that is running a native process - EXE file.
    I'm using Flash CC as IDE and tried to use compile that as EXE with AIR 2.6 and 3.6 - results are same.
    So I've insert inside a checking if Native Process is supported or not and the Native process is supported all the time.
    When I've just installed the application and run it - the very first attempt is good - everything is working as a must: internal EXE is called by my Application with necessary parameters as many time as I'm need.
    However if I'll close the App and then will run it again - internal EXE is not starting at all, doesn't depends on number of attempts to re-start of the App.
    So only way is to uninstall, install it back and then you'll be one more session of successful internal EXE-requests, till the next re-start of the App.
    That's it.
    I've tried to "google it" but unsuccessful. Probably the bug is very rare.
    Help me please?
    Update: at compilation with Flash CC IDE it's working all the time with no any issues.
    Update-2: when I'm running installator-EXE, there is going a notification "Same version is installed, etc." and then selected "Run Now" - there is also working with no problems.

    Well, I've found the solution and answer by myself and here is it please:
    In case with same situation as above you need to add just one line in your AS3-code
    nativeProcessStartupInfo.workingDirectory = File.applicationDirectory;
    And you will be happy so much

  • Problem with a stuck yellow process chain

    Hi all,
    I have a problem with a stuck yellow process chain.
    A Meta chain calling a sub chain. The sub chain loads some master data.
    Some months ago one process stopped in yellow, no processes still running.
    So after that day when the meta chain runs the error msg is as follows
    Diagnosis                                                                               
    The previous run of the current subchain, BW_METADATA_MD_ST , is not yet   
         complete. This leads to communication errors with the metachain called,    
         BW_METADATA_MD .                                                                               
    System response                                                                               
    The current run of the metachain is cancelled.                                                                               
    Procedure                                                                               
    1.  End the previous run of the subchain, or wait until the run is         
             complete.                                                              
             It does not matter whether the run was successfully completed or       
             not.                                                                               
    2.  Restart the metachain.                                                 
    How do I end the previous run of the subchain?
    There is no process running, just want to set the flag to ended.
    Thanks in advance.
    BR
    Lars
    Message was edited by:
            Lars Johnsson

    Hi Lars,
       Have a look this web log : Restarting Processchains
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    Hope it Helps
    Srini

  • Problems with AIR-BR1310

    Hy,
    I have problems with AIR-BR1310.
    When the bridge boot this is the sequence on LEDs indication :
    Sequence 1:  R-blinking green S-blinking green E-off I-red
    Sequence 2:   R-off , S-green, E -red, I –red
    and the sequence continue.
    I connected a laptop at console port on power injector but in hyperterminal I cannot see anything.
    I changed the power injector and the symptoms was the same.
    To function properly the correct sequence 2 for LEDs indication should be:
    Sequence 2:   R-off , S-green, E-green , I –red
    What does it mean?
    What i can do ?
    It ' s possible to resolve this issue?
    Thanks.

    Hi,
    The below link will answer ur question..
    http://www.cisco.com/en/US/docs/wireless/access_point/12.4_21a_JA1/configuration/guide/scg12421aJA1-chap22-trouble.html#wp1099822
    lemme know if this answered ur question and please dont forget to rate the usefull posts!!
    Regards
    Surendra

  • Problems with AIR for DW extension

    Is anyone having luck with the AIR for Dreamweaver component?
    I've got it installed but I try to export an AIR project all I ever
    get is stuff like this:
    File does not exist: /Users/databell/Library/Application
    Support/Adobe/Dreamweaver
    9/Configuration/Temp/FlashElements/ImageViewer/application.xml

    I am also experiencing problems. I am running DWCS3 build
    3481, Mac OS X 10.5.4 on an Intel MacBook, and AIR 1.0 (the 1.1
    updater page still provides v. 1.0 download) according to the file
    info, and I've tried completely re-imaging my computer and cleanly
    installing DWCS3, AIR, the extension, etc.
    The problems are centered on either selecting an existing
    certificate or trying to create a new one:
    1. Select an existing cert ~ selecting a previously-created
    certificate and entering in the *correct* password still results in
    a "could not load keystore file (password may be incorrect)" error.
    The cert is located one directory above the app folder, and it
    works fine via the command-line adt tool.
    2. Create a new cert, 1st attempt ~ attempting to create a
    new cert and selecting to place it in a central project folder
    within my home directory fails. I get an "unexpected failure:
    /scott/Documents/Projects/Optimac.pfx (No such file or directory)"
    error. Look closely at that path. The actual path I selected to
    save this cert to is
    "/Volumes/data/scott/Documents/Projects/Optimac.pfx." My disk is
    partitioned and my home folder is located on the "data" partition,
    whereas my operating system and applications are located at
    "/Volumes/os." (Mac OS X 10.5 enables locating your home directory
    on separate partitions, and I have not encountered any other
    problems with this configuration since Leopard was released, up
    until now.) It looks like Dreamweaver erroneously misconstrued my
    home directory as existing on root ("/"). So...
    3. Create new cert, 2nd attempt ~ if I create the new cert at
    root ("/"), that process completes successfully, but then if I
    select it and click "Create Air file" I get an "unable to create
    temp file in output directory" error.
    As is, I cannot create an AIR app in Dreamweaver.

  • Problem with getting back "synchronous" process result!!!

    i have created the partner link to my synchronous process which is already on the server, along with the input and output variable for dealing with that particular process...
    my input variable matches the xml schema of my synchronous process... when i expand the input variable node, i can see the elements which i'm trying to pass as the input to my synchronous server.
    HOWEVER!!! there's a problem with my output variable, clicking expand on the node, it displays nothing (basically it's suppose to be in the format of the xml schema which i have specified).. hence i cannot work with the output of the asynchronous process...
    cheers,
    Shivek
    how do i fix this problem..

    can you please provide little bit more details? where do you click output variable? are you clicking from bpel console debugger?

  • FileStream problem with AIR deployment

    I use FileStream to load local XML file. When I test the desktop application directly from Flex everything is ok but when I install it with AIR, the application work but the file is not loaded. Here is the code I use:
    import flash.filesystem.*;
     var applicationDirectoryPath:File = File.applicationDirectory; 
    var nativePathToApplicationDirectory:String = applicationDirectoryPath.nativePath.toString(); 
    nativePathToApplicationDirectory +=
    "/config_poste_temps.xml"; 
    var file:File = new File(nativePathToApplicationDirectory); 
    var fs:FileStream = new FileStream(); 
    fs.open(file, FileMode.READ);
    var config:XML = XML(fs.readUTFBytes(fs.bytesAvailable)); 
    fs.close();
    plan.text = config.division;
    Regards

    I am having the same problem as simon_lucas although my config is slightly different:
    FlashBuilder 4 with SDK 4.6, Current app is with SDK 2.5.
    Trying to update with SDK 3.2, I double-checked per Horia Olaru that I do use the application updater swc:
             <path-element>D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0 - Air 3.2\frameworks\libs\air\applicationupdater.swc</path-element>
             <path-element>D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0 - Air 3.2\frameworks\libs\air\applicationupdater_ui.swc</path-element>
    But I still have the 16815 error.
    If I change the update.xml to be <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
    instead of <update xmlns="http://ns.adobe.com/air/framework/update/description/3.2">, I am proposed to download the new app and then I get an error 16824.
    Please HELP!

  • A problem with initiating a BPEL process through its web service interface

    hi,
    i am trying to initiate the helloWorld BPEL process through its web service interface. i use a proxy class that i wrote and i use it from J#.net.
    this is the relevant code part:
    hello.HelloWorldBinding wsProxy = new hello.HelloWorldBinding();
    wsProxy.initiate("Hello");
    and the server shows the following message:
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.
    engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Cannot
    decode properties.
    The process domain was unable to decode the properties for message guid 10, whic
    h are stored in column String index out of range: 3094; the exception reported i
    s: {2}.
    sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_ta
    g, operation_name, receive_date, state, priority, properties FROM invoke_message
    WHERE message_guid = ?
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:152)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseSche
    duledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java
    :86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDriven
    BeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome
    .java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:
    928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2006-05-10 21:21:15,171> <ERROR> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor::loadInvokeMetaDa
    java.lang.StringIndexOutOfBoundsException: String index out of range: 3094
    at java.lang.String.substring(String.java:1441)
    at com.collaxa.common.util.LVDecoder.decodeElement(LVDecoder.java:152)
    at com.collaxa.common.util.LVDecoder.decodeToMap(LVDecoder.java:45)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvokeMetaData(BaseDeliveryPersi
    r.java:2186)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadInvoke(BaseDeliveryPersistence
    :2112)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvoke(BaseDeliveryPersistenceAd
    079)
    at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadInvoke(DeliveryPersistenceMgr.java:357)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:465)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
    at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBe
    java:1796)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHa
    7)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    what is the problem? how come i can't initiate the process?
    i will be happy if i could get help..
    thanks in advance

    can you initate the process from the bpel console successfully?
    if so can you use obtunnel from the installation to trace the soap message (that goes over the wire), my best guess in this case is a problem with a header (holding the wsa information) ..
    after starting obtunnel it will liesten to a custom port, and will forward the request to the engine, so you need to point your client to this new port..
    hth clemens

  • Problem with air 2.5 renderization

    Hi,
    I have a problem with the renderization of imagens when in the computer is instaled and air version bigger than 2.6. When oi run my app in debug i have no problem and save and jpg with the correct color tone, but when i export and install the app if i have the air 3.3 for instance the image save have a different tone that the one in debug mode, or i i install the air 2.5 in my computer the same app saves the jpg correcty , exactly the same as in debug, sample imagens:
    Image with air 2.6:
    Image with air 3.3:
    If you note the image with air 3.3 installed the tone of the image isn't correct, can anyone tell me how to avoid this or the solution its just not to update the air version in my computer.?
    Thanks in advance
    Alex

    Hi,
    Just for the record i have opened a new bug in the bugbase https://bugbase.adobe.com/index.cfm?event=bug&id=3219361
    Tanks
    Alex

  • Problem with burning/image saving process...

    It reported encoding error during the burning try... and it's hanged during 12 +/- hours with the saving image process (after encoding step)...
    i checked the console and saw this piece of error repeated every 2 seconds during the 12 hours:
    2006-05-11 11:24:25.279 EncoderServer[14780] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (com.apple.idvd.EncoderServer)
    2006-05-11 11:24:27.296 EncoderServer[14781] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x1403, name = 'com.apple.idvd.EncoderServer'
    See /usr/include/servers/bootstrap_defs.h for the error codes.
    Can anyone help me?
    Thanks

    it just hangs up in the audio encoding...
    It will appear to do that under normal conditions. My 1 1/2 hour iMovie project took about 30 minutes to encode the audio on this computer; two chips working hard.
    http://docs.info.apple.com/article.html?artnum=302988
    I have read that some PowerBooks can take a long time to encode a project. Like 12 hours. That doesn't seem right to me, but I've seen it here.
    Tell us more about what you're sending to iDVD. MiniDV coming from a camcorder set to record 16-bit audio, not 12-bit?

  • Audio Problems with Air 2.0.2 in Linux

    We're seeing an issue which appears to be a bug in the Air 2.0.2 runtime for Linux.  When a video file plays [via VideoDisplay] the audio is heard but as soon as the video is finished, audio cuts out for the entire application.  We ran strace() and noticed Air opens the audio connection at the start of playback and closes it at the end, but will not re-engage audio for any other reason while the application is running.  This includes running different videos or even just playing sound effects.
    Has anyone seen this behavior where when a video is complete, the audio stops all together for the application?  We did not have this problem before Air or in Air 1.5, so I suspect this is a bug in the Air 2.0.2 runtime for Linux.

    Hi,
    I also tried playing 2 videos via VideoDisplay one after the other using the following code:
    <mx:VideoDisplay 
    id="video1" source="/assets/videos/vid1.flv" autoPlay="true" width="400" height="400" x="50" y="20" complete="video2.play()"/><mx:VideoDisplay 
    id="video2" source="/assets/videos/t.mov" autoPlay="false" width="400" height="400" x="550" y="20"/>
    For me, the audio plays fine for the both the videos on Ubuntu 9.10.
    Could you please provide the following information:
    1) The Linux distro you are on.
    2) The sound mixer you are using and its version(ALSA/pulseaudio).
    3) It would be really helpful if you could provide your application/part of source code where you are playing the videos.

  • Problem with AIR Bundled Distribution on Windows 7 (Error #5100)

    We've just finished an application and have set up the bundled distribution for the Installation of AIR and the Application. It works fine on Windows XP, Vista, and too on MAC OS X.
    On Windows 7 however, it doesn't install. It loads the installer, and gets to the stage to ask for user options (installation dir etc), and then after this when installing (both AIR and application) - somewhere, it dies with the following error (Error #5100)...
    Sorry, an error has occurred.
    And error occurred while uninstalling the application. Try uninstalling it again. If the problem persists, contact the application author.
    Any solutions to this? Thanks.

    Hi,
    Is it possible to get the application installer log?
    Moved discussion to the Installation Issues forum.
    Chris

  • Problem with Apple Care Registration Process

    My MacBook warranty will expire pretty soon. So, I ordered my Apple Care Protection Plan from Apple online store in Thailand since September 9, 2009. It arrived this morning (September 15, 2009).
    When I try to register Apple care for my machine, Problem was starting. I do following on screen process, put my Macbook Serial No. and Apple Care Protection Plan registration No from package. Screen Show "We're sorry, but this registration number is not valid. Please check your information and try again."
    I tried to contact Apple Care representative in Thailand. He was kindly enough to ask Apple online Store about this. He came back with answer that there are some problems about Apple care registration and I have to wait for week for response!!
    Why product from apple online have this kind of problem? And customer have to wait for one week without knowing anything!!

    You should be fine. The good thing is 1) you bought it from Apple and 2) you have contacted them about it before your initial warranty expired. Just be sure to follow up with them. If you haven't done so... you may want to give them a call back just to get a case number so you can have something to reference in case they don't get the problem sorted out before you warranty expires.

  • Possibly graphic problem with air mid 2013

    Hi
    I bought in Miami the latest air,  I5, with 128gb and 4 gb of ram.
    one week ago i go a problem that id doesnt look good at all.
    everytime the screen is off and turns on the first image that i see for a second is the typicall image of the graphic cards when they have problems, or the connector.
    It is so fast that i cannot manage to take a snapshot.
    I upload one similar image that I found.
    my problem is i live in Malta (europe) and here the technical service is...where..i could say they never solv any problem.

    The display or the GPU are damaged. The only solution is to take the MacBook Air to an Apple Store or reseller, but if you think resellers are not good in Malta, you can call Apple > http://support.apple.com/kb/HE57

  • Problems with user-defined update-process

    Hi.
    I have a small problem in the right syntax in an user-defined updated process.
    The process is called by a button on the page and should update a record in a table.
    BEGIN
    UPDATE wam_mod_allocation SET
    alloc_assessment = V('P2120_ASSESSMENT'),
    last_update_date = LOCALTIMESTAMP,
    last_update_staff = V('APP_USER')
    WHERE username = V('P2120_USERNAME')
    AND module_id = V('P2120_MODULE_ID')
    END;
    This is the code of the process. The line with the problem is marked bold. P2120_USERNAME is a text field in the page and contains the username to be updated.
    The problem is, that the comparison doesn't work. the value "smith" is available in the table and is the same as in the text field. (both in lower case).
    If I replace the part V('P2120_USERNAME') with 'smith' (with single quotes), the update statement works properly.
    How do I have to compare the username with the item value that it works properly?

    1. Stephan
    2 + 3 Well. I enclosed both tags in the TRIM-Operator and it works. First, I thought, a whitespace caused the problems. To determine which value contains the whitespaces I removed the trim-tags on both sides. It works.
    It is quite funny, because,if I remove both tags, it works too? Well. Yesterday it didnt.
    To be on the safe side, I will include the trim-tags.
    Thanks very much.
    Stephan

Maybe you are looking for

  • How To Install OS on Raid0?

    My system is a bit over two years old now, and has served me well in that time thanks to a lot of advice from this forum.  It's weak link is a Toshiba SSD used for the boot drive, that is not even as fast as a decent HDD.  Yesterday I suffered a seri

  • Moving IWEB from one MacBook to MacBook Pro

    Hello - Just purchased new MacBook Pro. I was told to buy the firewall cable and just push "T" and everything would transfer. This was not really true. Things ended up in a muddle. One problem is the IWEB. It did not transfer with all blog entries. T

  • Problem in BI-BO Integration

    Hi Experts, Following is our Landscape Details.... 1. BI 7.0 2. BO XI3.1 We seem to face a unique problem, we have successfully configured an SSO between BI and BO wherein Roles in BI get created as groups in BO. But the problem faced with the same i

  • ACER S7 191 11.6 NOTEBOOK UPDATE WITH BETTER BATTERY 8GB RAM 512GB SSD QHD DISPLAY TOUCH SCREEN.

    I have owned an Acer aspire S7 191 "11.6" for few weeks and it is a wonderful invention by Acer engineers. i am really puzzled as to why you have discontinued this model.I think it needs few adjustments and you need to release it with these refinemen

  • Burn downloaded videos and replay on different computer?

    I am a sailor currently serving over in the Persian Gulf. I am also missing all of my TV shows while over here. I have been deployed since September 13th, so that is the latest version of iTunes I have. Does anybody know if it is possible to have som