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

Mac: Objective C error using 2.2 b21 on Mac OS X Mountain Lion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx
    • Mac OS X 10.8.0
      Oracle Java jdk 7u6 with JavaFX 2.2 b 21

      The release version of jdk 7u6 for Mac OS X has a strange error when starting a JavaFX app on OS X 10.8 (Mountain Lion). The animations I had previously are now slow and choppy.

      Here's the error:

      2012-08-14 12:37:32.024 java[6261:707] unrecognized type is -2
      2012-08-14 12:37:32.025 java[6261:707] *** Assertion failure in -[NSEvent _initWithCGSEvent:eventRef:], /SourceCache/AppKit/AppKit-1187/AppKit.subproj/NSEvent.m:1348
      2012-08-14 12:37:32.025 java[6261:707] Invalid parameter not satisfying: cgsEvent.type > 0 && cgsEvent.type <= kCGSLastEventType
      2012-08-14 12:37:32.027 java[6261:707] (
      0 CoreFoundation 0x00007fff8f269716 __exceptionPreprocess + 198
      1 libobjc.A.dylib 0x00007fff8ca1f470 objc_exception_throw + 43
      2 CoreFoundation 0x00007fff8f269558 +[NSException raise:format:arguments:] + 104
      3 Foundation 0x00007fff8b456962 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
      4 AppKit 0x00007fff8bea6d2c -[NSEvent _initWithCGSEvent:eventRef:] + 2782
      5 AppKit 0x00007fff8c124d9a +[NSEvent eventWithCGEvent:] + 243
      6 libglass.dylib 0x000000016a28e02f listenTouchEvents + 31
      7 CoreGraphics 0x00007fff90aa8a91 processEventTapData + 150
      8 CoreGraphics 0x00007fff90aa88e4 _CGYPostEventTapData + 189
      9 CoreGraphics 0x00007fff90d4fa65 _XPostEventTapData + 107
      10 CoreGraphics 0x00007fff90d4fb5d CGYEventTap_server + 106
      11 CoreGraphics 0x00007fff90aa89d2 eventTapMessageHandler + 30
      12 CoreFoundation 0x00007fff8f1d8b50 __CFMachPortPerform + 288
      13 CoreFoundation 0x00007fff8f1d8a19 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
      14 CoreFoundation 0x00007fff8f1d8759 __CFRunLoopDoSource1 + 153
      15 CoreFoundation 0x00007fff8f20b8bf __CFRunLoopRun + 1775
      16 CoreFoundation 0x00007fff8f20add2 CFRunLoopRunSpecific + 290
      17 HIToolbox 0x00007fff96193774 RunCurrentEventLoopInMode + 209
      18 HIToolbox 0x00007fff96193512 ReceiveNextEventCommon + 356
      19 HIToolbox 0x00007fff961933a3 BlockUntilNextEventMatchingListInMode + 62
      20 AppKit 0x00007fff8bdc7fa3 _DPSNextEvent + 685
      21 AppKit 0x00007fff8bdc7862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
      22 AppKit 0x00007fff8bdbec03 -[NSApplication run] + 517
      23 libglass.dylib 0x000000016a27b4e9 -[GlassApplication runLoop:] + 777
      24 Foundation 0x00007fff8b4dc8a7 __NSThreadPerformPerform + 225
      25 CoreFoundation 0x00007fff8f1e8841 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
      26 CoreFoundation 0x00007fff8f1e8165 __CFRunLoopDoSources0 + 245
      27 CoreFoundation 0x00007fff8f20b4e5 __CFRunLoopRun + 789
      28 CoreFoundation 0x00007fff8f20add2 CFRunLoopRunSpecific + 290
      29 java 0x000000010e9ab4bc CreateExecutionEnvironment + 871
      30 java 0x000000010e9a5cac JLI_Launch + 1952
      31 java 0x000000010e9ab819 main + 101
      32 java 0x000000010e9a5504 start + 52
      33 ??? 0x0000000000000006 0x0 + 6
      )

            anthony Anthony Petrov (Inactive)
            cstanford Curtis Stanford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: