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

Mac: DirectoryChooser crashes on Mac

    XMLWordPrintable

    Details

      Description

      Running the attached file and clicking on the shown Button crashes JavaFX 2.1 / JDK 7 Developer Preview on MacOS with following Message

      2012-02-04 10:09:55.063 java[71194:903] -[DialogDispatcher runModal:]: unrecognized selector sent to instance 0x1772732f0
      2012-02-04 10:09:55.066 java[71194:903] An uncaught exception was raised
      2012-02-04 10:09:55.067 java[71194:903] -[DialogDispatcher runModal:]: unrecognized selector sent to instance 0x1772732f0
      2012-02-04 10:09:55.080 java[71194:903] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[DialogDispatcher runModal:]: unrecognized selector sent to instance 0x1772732f0'
      *** Call stack at first throw:
      (
      0 CoreFoundation 0x00007fff853ab784 __exceptionPreprocess + 180
      1 libobjc.A.dylib 0x00007fff8271af03 objc_exception_throw + 45
      2 CoreFoundation 0x00007fff85405110 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
      3 CoreFoundation 0x00007fff8537d8ef ___forwarding___ + 751
      4 CoreFoundation 0x00007fff85379a38 _CF_forwarding_prep_0 + 232
      5 Foundation 0x00007fff84d7ca49 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 234
      6 Foundation 0x00007fff84d8fdd0 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 143
      7 libmat.jnilib 0x00000001755857cb Java_com_sun_glass_ui_mac_MacCommonDialogs__1showFolderChooser + 909
      8 ??? 0x0000000102294d85 0x0 + 4331228549
      )
      terminate called after throwing an instance of 'NSException'
      Java Result: 134

        Attachments

          Activity

            People

            Assignee:
            gziemski Gerard Ziemski
            Reporter:
            sreimersjfx Sven Reimers (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: