AIR NativeProcess on Mac gives Error:3219, all solutions failing

hi guys,
I've read up most solutions for this error and none seem to apply.
I'm running a basic AS3 app in FlashBuilder, on OS-X.
descriptor is set to extendedDesktop
have set the profile in FB to 'extendedDesktop'
am publishing as 'signed native installer'
I've tried launching the file from both:
app:/demo.sh
file:///Users/visualife/Desktop/AE/demo.sh
the target file is set to 777 (executable)
the target file runs fine when directly targetted
i'm running the exe on the same OS and machine it's created on
changing the 'demo.sh' file to a jpg etc doesn't change anything
No matter what I try I get told native process is support, everything runs fine until start is called then a Error: 3219 is thrown with no further information.
all help greatly appreciated!
I've included my code below:
package {
   import flash.desktop.NativeProcess;
   import flash.desktop.NativeProcessStartupInfo;
   import flash.display.Sprite;
   import flash.errors.IllegalOperationError;
   import flash.events.Event;
   import flash.events.IOErrorEvent;
   import flash.events.NativeProcessExitEvent;
   import flash.events.ProgressEvent;
   import flash.filesystem.File;
   import flash.text.TextField;
   public class VauxhallController extends Sprite {
   private var debug_txt:TextField;
   public var process:NativeProcess;
   private var sh:File;
   public function VauxhallController() {
   if (stage) {
  init();
   } else {
   this.addEventListener(Event.ADDED_TO_STAGE, init);
   private function init($e:Event=null):void {
   this.removeEventListener(Event.ADDED_TO_STAGE, init);
  build();
   if (NativeProcess.isSupported) {
  initListeners();
  debugMe("Native process supported");
  go();
   } else {
  debugMe("Native not supported");
   private function build():void {
   // debug
  debug_txt  = new TextField();
  debug_txt.width = 300;
  debug_txt.height= 600;
   this.addChild(debug_txt);
   private function initListeners():void { }
   private function go():void {
  runShellFile();
   private function runShellFile():void {
   var nativeProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
   var essArgs:Vector.<String> = new Vector.<String>();  
   var file:File;
  file  = File.desktopDirectory.resolvePath("AE/demo.sh");
  nativeProcessStartupInfo.executable = file;
  nativeProcessStartupInfo.workingDirectory  = File.desktopDirectory;
  nativeProcessStartupInfo.executable = file;
  process = new NativeProcess();
  process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
  process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
  process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
  process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR, onIOError);
  process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOError);
   try {
  process.start(nativeProcessStartupInfo);
   } catch (error:IllegalOperationError) {
  debugMe(error.toString());
   } catch (error:ArgumentError) {
  debugMe(error.toString());
   } catch (error:Error) {
  debugMe(error.toString());
   public function onOutputData(event:ProgressEvent):void {  debugMe("Got: "+ process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable));   }
   public function onErrorData(event:ProgressEvent):void {  debugMe("ERROR: "+ process.standardError.readUTFBytes(process.standardError.bytesAvailable));   }
   public function onExit(event:NativeProcessExitEvent):void { debugMe("Process exited with: "+ event.exitCode);   }
   public function onIOError(event:IOErrorEvent):void {  debugMe("IOError: "+ event.toString());   }
   private function debugMe(_str:String):void {  debug_txt.appendText(_str +"\n");   }

Latest Version of Air won't install on my MAC! Help!
Workaround mentioned in this thread by chris.campbell actually fixed same issue for me.

Similar Messages

  • TS1286 getting error 9 every time try to restore iphone 5 crash on me tell me to go to itunes did it on a pc got error -1 so had a go on my mini mac get error 9 all the time

    im update firmware for iphone 5 to 6.1.4 getting error 9 every time try to restore iphone 5 crash on me tell me to go to itunes did it on a pc got error -1 so had a go on my mini mac get error 9 all the time

    This error occurs when the device unexpectedly loses its USB connection with iTunes. This can occur if the device is manually disconnected during the restore process. This issue can be resolved by performing USB troubleshooting, using a different USB dock-connector cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software.

  • Cannot open PDF files in AIR app on Mac OS error 3204

    Hello,
    I am having trouble opening a PDF file in adobe air application on Mac OS 10.9.2. I already installed adobe reader 11 and air on mac.
    I also traced HTMLLoader.pdfCapatibility, which returns 3204 (An error was returned by the OS when trying to load the Adobe Reader or Acrobat application or one of its necessary libraries.) .
    I am showing you some sample code to you.
    if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
                var request:URLRequest = new URLRequest(tempFile.url);
                pdf.load(request);
                var ui:UIComponent = new UIComponent();
                ui.addChild(pdf)
                container.addChild(ui);
      else
      trace("PDF cannot be displayed. Error code:",HTMLLoader.pdfCapability);
    It shows the output :  PDF cannot be displayed. Error code: 3204
    Please let me know if anyone have any ideas ............asap

    Hi jon123_123,
    I dont understand what you mean by opening PDF file in Adobe Air, that is platform.
    You should try uninstall Adobe Reader and install Latest version of Adobe Reader with latest updates patches and check again.
    Regards,
    Ajlan Huda.

  • Mac book pro (2008)will not start up,command-v gives (error) Import:Importer start failed for 89(kr:268435459)invalid destination port)

    will not start up.
    tried Command-v
    message reads
    (error) Import:Importer start failed for 89 (kr:268435459)invalid destination port)

    First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Adobe download assistant gives Error 100 , any solutions

    adobe download assistant gives Error 100  when  I click either sign in or create user id.
    As advised.
    Uninstalled it.
    deleted the directory C:\Users\Administrator\AppData\Roaming\com.adobe.downloadassistant.AdobeDownloadAssistant \Local Store
    as advised
    cleared cookies in browser
    disabled Antivirus
    restarted Adobe assistant again
    Still the same Error 100
    Spend 3 days on this but no success.
    Wanted to try Acrobat XI trail.  and other way to download the trial ?

    Manoj.p have you tried downloading Acrobat XI Professional directly from Download Acrobat products | Standard, Pro | XI, X?

  • Disk utility gives "Error: Partition map repair failed while adjusting structures to fit current whole disk size"

    I am getting the following error when running Disk Utility (under ML) on an exteral USB hard drive:
    Error: Partition map repair failed while adjusting structures to fit current whole disk size.
    I get thsi when I ask Disk Utility to "Repair Disk" at the top level of the disk hierarchy (i.e. not on one of the partitions within the disk but on the disk itself).  I was not getting this error with Lion on the same disk before I upgraded from Lion to ML.
    It seems like a bug in ML.  I found websites where they suggest that you just run Lion's Disk Utility and it will show the disk to be fine.
    Any thoughts?

    So, I finally seemed to have resolved things with the Seagate 4TB Firewire external drive.  If you Google about, you will find a thread on Seagate's own support forum that describes how to disable the sleep function on the drive.  You CANNOT ALLOW THE DRIVE TO SLEEP WHILE CONNECTED TO YOUR MAC.
    After a lot of reading, here's what I think is happening: the drive goes to sleep, after some period of inactivity, and when you shutdown your Mac, OS X tries to write something to the drive as part of the dismount / disconnect / shutdown process.  That fails in some manner, leaving the drive 'corrupted' at the filesystem or partition level.
    Then, on the next boot-up, Mountain Lion tells you that it cannot repair the drive and it mounts as read only.  Your only fix at that point is to re-partition / re-format and start over (which is big fun with 3TB of data to copy back on to the drive).
    If you prevent the drive from sleeping, whenever it's connected to the MacBook, then the above process doesn't occur and voila, the drive just works.  So far, I haven't had any problems with about a week of starting / shutting down my MacBook connected to the offending drive (translation: I was going to return the drive, but the problem is clearly with Mac OS X Mountain Lion).

  • When using cd my mac gives error

    when i want to use a cd or dvd, my mac mini gives an error..
    some music cd's work, but with dvd there is allways an error, for exemple by installing something.. Does any one know's what it is??
    Vise gives the error 1008:5,-5000

    Hi kiento-
    Greetings and welcome to the Apple Discussion boards
    Some users have reported success using an optical drive lens cleaning kit. I would give that a try first.
    If that doesn't doesn't solve the problem it is possible that the optical drive is defective. You can either chose to replace the drive yourself, have it replaced at a service center, or purchase an external firewire CD/DVD drive.
    Luck-
    -DaddyPaycheck

  • Installing Latest Firefox on Windows XP Embedded gives error: "This application has failed to start because pdh.dll was not found"

    I'm trying to install the latest (standards-based) browser I can on on old Windows XP Embedded computer. The computer's hardware does not meet the "Recommended Hardware" of a Pentium 4 (it has a P3). I initially tried installing/running Firefox version 28, and that seemed to work fine. Version 36 gives the error I stated in the question. It's not paramount that I run the *latest* version of Firefox (the browser is ONLY used for an intranet application), but I'd like to install the latest version that will run, and if there's a simple fix for this version, I'd like to explore that.
    Regards,
    Gerrat

    Well, I was pretty sure it didn't have malware. It was running a steady state - like program & we have dozens of these on our network (but not on our domain). We have a corporate anti-virus (Sophos) running on all the computers on our domain, and there are no notifications of anything suspicious coming from these units.
    Just to be sure I installed and ran an antivirus scan against it though - as suspected, nothing suspicious found.
    As I mentioned, FF 28 runs fine, it's just the latest (36.0) that doesn't run (I haven't tested any versions in between). Either seems to install without hitch, but when the latest version is run, it gives the error about the missing dll.
    Regards,
    Gerrat

  • Mac OSX gives error while importing photos - "Kernel Panic"

    I upgraded my mac, reinstalled OSX and Lightroom , tried to import photos, mac gives error (called Kennel Panic) and restarts abandoning import. Applecare support suspect Lightroom reinstall issue. Thanks

    If you want PRE to be responsive you should follow Steves' recommendation to resize to 1000x750 (SD).
    At the technical level I think the maximum allowable dimensions are 4096 x 4096 - but PRE will struggle with pictures that size.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • HT204291 I have a MBP 13-inch, Mid 2010 and have just upgraded to mountain lion and am trying to connect it to my apple tv however i dont get the air play icon on my mac i have followed all the advise on support anyone able to help??

    I have a MBP 13-inch, Mid 2010 and have just upgraded to mountain lion and am trying to connect it to my apple tv however i dont get the air play icon on my mac i have followed all the advise on support anyone able to help??

    stevie, a third party app called airparrot will give you the pretty much the same as mirroring and forks on Macs too old to mirror.

  • How to install .pkg or .dmg file on Mac using AIR NativeProcess like .exe on windows?

    Hi,
    I want to install a application on Mac which is in .pkg installer using AIR NativeProcess. I am able to install the .pkg file by double clicking on OS but not able to run that using AIR NativeProcess.
    I am able to install the .exe on windows using AIR NativeProcess.
    When I tried the same process for .pkg on Mac got the following error:
    ArgumentError: Error #3214: NativeProcessStartupInfo.executable does not specify a valid executable file.
    I am using:
    AIR 3.4 SDK
    Flash Builder 4.7 (beta)
    Tried packaging on both Windows and Mac OSX 10.8.
    Is there any way to install .pkg/.dmg file using AIR NativeProcess?
    Thanks in advance.

    A year later, but others may have this problem.
    You don't want to use NativeProcess to do this.
    You need to 1) mount the DMG and then 2) launch the PKG
    The PKG is very simple to launch :
      // where 'installer' is a flash.filesystem.File that has resolved to your PKG file
      installer.openWithDefaultApplication();

  • I have mac os x 10.6.8 version and my java is version 6 and it deosnt work since yesterday and it gives error?

    i have mac os x 10.6.8 version and my java is version 6 and it deosnt work since yesterday and it gives error?
    i really hope someone can help me with it because i really need java

    I followed that and Java .jnlp files still do not work after downloading them manualy and double-click. What's next?
    Java -version show the right version.
    I need to get this fixed as it is thrid day when after applying OsX updates things got broken.  I would prefer to have Java functional and be exposed to security risk than not having working at all.
    How do I fix my Java .jnlp when I have all updates for 10.6.8 and running Safari 5.1.10 ?
    I do not want to upgrade as I am scared that other things will break.
    Please help.

  • When I attempt to re-download Lion to my MacBook Air I get the following error: localhost Install Mac OS Lion[436]: Retrying pisa://1183a0570:::/InstallESD.dmg after 1 failure(s). I am trying to re-install the OS after erasing having erased the drive.

    When I attempt to re-download Lion to my MacBook Air I get the following error: localhost Install Mac OS Lion[436]: Retrying pisa://1183a0570:::/InstallESD.dmg after 1 failure(s). I am trying to re-install the OS after erasing having erased the drive. Any ideas?

    I had the exact same issue; Lion recovery from Command + R would hang with the logs showing the same message.  To resolve, I used Disk Utility to remove the recovery partition.  My Air then used Internet Recovery to load all the tools.  When using Reinstall via Internet it worked just fine.

  • .mov created with 7.1 on a mac gives a -2048 error in Quicktime  7.1on a PC

    Anyone know why a .mov file created on a mac gives a -2048 error in Quicktime on a PC? Both computers have the latest version of Quicktime and OS.
    Help?

    When I "get info" on a Mac the format is DV/DVCPRO - NTSC, 720x480, Millions, DV, Stereo, 48Khz, 30fps. It's a 455MB file captured to a .mov using Sorenson Squeeze. I then copy it to a FAT32 hard drive and transfer it to a PC (WinXP). I've got Quicktime 7.1 installed on both machines. I thought it might be the FAT32 hard drive but it isn't because I burnt a data dvd from the Mac and then dragged the files onto the PC from the DVD. Same issue. -2048. I don't think I am creating problems in the transfer...
    I've read some of the post and I tried renaming the file .wmv and the video plays fine in windows media, but the audio is crackling.
    I can't import into any PC video program, Sorenson, Vegas they all give me unsupported file type errors.
    Thanks for your help.

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

Maybe you are looking for