Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8089722

jfx packager breaks with error -10006 on Mac hardware

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 8
    • deploy

      On Mac, jfx-packager sometimes breaks because of apple script reporting error -10006.


      Building DMG package for JavaFX Scene Builder 2.0
       Using default package resource [Bundle config file] (add package/macosx/Info.plist to the class path to customize)
       Using custom package resource [icon] (loaded from package/macosx/JavaFX Scene Builder 2.0.icns on class path)
      Config files are saved to /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx. Use them to customize package.
       Using custom package resource [dmg background] (loaded from package/macosx/JavaFX Scene Builder 2.0-background.png on class path)
       Using custom package resource [volume icon] (loaded from package/macosx/JavaFX Scene Builder 2.0-volume.icns on class path)
       Using custom package resource [script to run after application image is populated] (loaded from package/macosx/JavaFX Scene Builder 2.0-post-image.sh on class path)
       Using default package resource [DMG setup script] (add package/macosx/JavaFX Scene Builder 2.0-dmg-setup.scpt to the class path to customize)
      Running shell script on application image [/var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx/JavaFX Scene Builder 2.0-post-image.sh]
       Application post processing (as part of the construction of a DMG) ...
         [Info.plist] Adding File Association support
         [Info.plist] Changing value of CFBundleName
         [Layout] Moving files here and there
      /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx/JavaFX Scene Builder 2.0-dmg-setup.scpt:1271:1352: execution error: Finder got an error: Can’t set item "JavaFX Scene Builder 2.0" of Finder window id 1054 to {120, 135}. (-10006)
       Config files are saved to /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx. Use them to customize package.


      After investigation, this error seems to happens when the builtin keyboard of the mac is french (azerty).

      I did the following tests:
      1) mac with french keyboard + french locale => BUG
      2) mac with french keyboard + english locale => BUG
      3) mac with english keyboard + english locale => OK
      3) mac with english keyboard + french locale => OK

      I did those tests on Mac OS 10.8.5.

            cbensen Chris Bensen (Inactive)
            eleponn Eric Le Ponner
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: