HK_Phooey

Q: macOS Sierra with Java.

Remote access for my company relies on Java, as I sign into my remote desktop I am getting an internal MFC error out of Java. Worked fine before the OS upgrade. Any ideas ?

Mac mini, iOS 10

Posted on Sep 26, 2016 5:54 AM

Close

Q: macOS Sierra with Java.

  • All replies
  • Helpful answers

Page 1 Next
  • by KiltedTim,

    KiltedTim KiltedTim Sep 26, 2016 6:15 AM in response to HK_Phooey
    Level 9 (55,780 points)
    Mac OS X
    Sep 26, 2016 6:15 AM in response to HK_Phooey

    What did your IT department tell you?

  • by SC::UK,Helpful

    SC::UK SC::UK Sep 26, 2016 3:13 PM in response to HK_Phooey
    Level 1 (64 points)
    Mac OS X
    Sep 26, 2016 3:13 PM in response to HK_Phooey

    Is it HOBLink JWT that you are trying to use by any chance? I have Java 8 Update 101 (and also tried 102), and I get a crash when hitting a modifier key, such as shift, control, etc.  A pop-up box comes up with 'Internal Error' and three options (buttons), 'Show Details', 'Crash', and 'Continue'.  If I look at the details that it's a nullPointerException in Java.  I am not sure if this is a machine or OS issue, but I had not seen this on OS X 10.11 (on the Late 2012 Mac Mini in question), or on my MacBook Pro or MacBook Air.  I have not updated those laptops yet so I don't know if they would do the same.  My company uses HOBLink JWT 3.3.0819.

  • by eapfelstaedt,

    eapfelstaedt eapfelstaedt Sep 26, 2016 12:15 PM in response to SC::UK
    Level 1 (4 points)
    Mac OS X
    Sep 26, 2016 12:15 PM in response to SC::UK

    I have the same Problem with our Oracle Database that use Java. Since the Update to Sierra I receive the following Error when i use the Shift or Ctrl Key:

     

    Screenshot at Sep. 26 21-14-49.png

     

    Exception Name: JavaNativeException

    Description: java.lang.NullPointerException

      at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1090)

      at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1085)

      at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1080)

      at java.awt.Toolkit.getEventQueue(Toolkit.java:1734)

      at java.awt.EventQueue.invokeLater(EventQueue.java:1266)

      at sun.plugin2.main.client.MacOSXKeyHandler.notifyFlagsChangedFromNative(Unknown Source)

     

     

    User Info: (null)

     

     

    0   CoreFoundation                      0x00007fff7f5c352b __exceptionPreprocess + 171

    1   libobjc.A.dylib                     0x00007fff93c9bcad objc_exception_throw + 48

    2   CoreFoundation                      0x00007fff7f5c3479 -[NSException raise] + 9

    3   JavaNativeFoundation                0x0000000120521c3f JNFCallStaticVoidMethod + 213

    4   libnpjp2.dylib                      0x0000000126256c37 flagsChanged + 72

    5   SkyLight                            0x00007fff909294f2 processDecodedEventRef + 204

    6   SkyLight                            0x00007fff90928cdc processEventTapData + 544

    7   SkyLight                            0x00007fff908eee8f _XPostEventTapData + 280

    8   SkyLight                            0x00007fff90928a66 eventTapMessageHandler + 137

    9   CoreFoundation                      0x00007fff7f5423ad __CFMachPortPerform + 253

    10  CoreFoundation                      0x00007fff7f542299 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41

    11  CoreFoundation                      0x00007fff7f542211 __CFRunLoopDoSource1 + 465

    12  CoreFoundation                      0x00007fff7f53a165 __CFRunLoopRun + 2389

    13  CoreFoundation                      0x00007fff7f5395b4 CFRunLoopRunSpecific + 420

    14  HIToolbox                           0x00007fff7eadaf6c RunCurrentEventLoopInMode + 240

    15  HIToolbox                           0x00007fff7eadada1 ReceiveNextEventCommon + 432

    16  HIToolbox                           0x00007fff7eadabd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71

    17  AppKit                              0x00007fff7d1d15f5 _DPSNextEvent + 1093

    18  AppKit                              0x00007fff7d8e18eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637

    19  libosxapp.dylib                     0x00000001221be3aa -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124

    20  AppKit                              0x00007fff7d1c5fbd -[NSApplication run] + 926

    21  libosxapp.dylib                     0x00000001221be14d +[NSApplicationAWT runAWTLoopWithApp:] + 156

    22  libawt_lwawt.dylib                  0x000000012214b4b3 -[AWTStarter starter:] + 905

    23  Foundation                          0x00007fff80f85f2a __NSThreadPerformPerform + 326

    24  CoreFoundation                      0x00007fff7f559551 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17

    25  CoreFoundation                      0x00007fff7f53a6bd __CFRunLoopDoSources0 + 557

    26  CoreFoundation                      0x00007fff7f539bb6 __CFRunLoopRun + 934

    27  CoreFoundation                      0x00007fff7f5395b4 CFRunLoopRunSpecific + 420

    28  java                                0x0000000103340465 CreateExecutionEnvironment + 871

    29  java                                0x000000010333c18c JLI_Launch + 1952

    30  java                                0x00000001033424c2 main + 101

    31  java                                0x000000010333b9e4 start + 52

    32  ???                                 0x000000000000000e 0x0 + 14

  • by dianeoforegon,

    dianeoforegon dianeoforegon Sep 26, 2016 12:18 PM in response to HK_Phooey
    Level 5 (5,656 points)
    Mac OS X
    Sep 26, 2016 12:18 PM in response to HK_Phooey

    Java 6 is not supported on macOS Sierra.

  • by eapfelstaedt,

    eapfelstaedt eapfelstaedt Sep 26, 2016 12:21 PM in response to dianeoforegon
    Level 1 (4 points)
    Mac OS X
    Sep 26, 2016 12:21 PM in response to dianeoforegon

    I use Java 8 Update 101 and it was working on El Capitan I still try it also with Java 8 Update 102 but the Problem is still exist

  • by SC::UK,Helpful

    SC::UK SC::UK Sep 26, 2016 3:08 PM in response to dianeoforegon
    Level 1 (64 points)
    Mac OS X
    Sep 26, 2016 3:08 PM in response to dianeoforegon

    Who's using Java 6?  I believe we are talking about Oracle Java 8 (101 and 102 - I tried both).

     

    Incidentally I have installed a fresh copy of Sierra on a separate partition and the issue occurs.  I can get it to crash by changing the Java settings to always show the console, then use the java.com site to check the Java version. When the console pops up I hit shift and get the dialog that eapfelstaedt gets.  So it looks like either there is a general issue, or it's specific Mac hardware.  I suggest the latter because the net is now awash with complaints about this issue.  It also looks like it's not necessarily HOBLink JWT, but java and/or macOS 10.12 in general.

  • by SC::UK,

    SC::UK SC::UK Sep 26, 2016 12:28 PM in response to eapfelstaedt
    Level 1 (64 points)
    Mac OS X
    Sep 26, 2016 12:28 PM in response to eapfelstaedt

    eapfelstaedt- what's the hardware you are using?  I'm having issues on a Late 2012 Mac Mini, but will try to upgrade a six month old MacBook Air soon and see if that also crashes.  However, it's taking an age to complete a TimeMachine backup at the moment so I may not get that done for a couple of days.

  • by eapfelstaedt,

    eapfelstaedt eapfelstaedt Sep 26, 2016 12:31 PM in response to SC::UK
    Level 1 (4 points)
    Mac OS X
    Sep 26, 2016 12:31 PM in response to SC::UK

    I use a 2 Month old MacBook Pro (Retina, 15', Mitte 2015)

     

    Screenshot at Sep. 26 21-30-44.png

  • by dianeoforegon,

    dianeoforegon dianeoforegon Sep 26, 2016 1:14 PM in response to SC::UK
    Level 5 (5,656 points)
    Mac OS X
    Sep 26, 2016 1:14 PM in response to SC::UK

    If you have room on your external, I recommend making a clone backup.

     

    Create a Clone backup:

     

    A clone is an exact bootable copy of your internal drive. Unlike standard copying of all files to another drive, the clone software copies hidden files along with other in-use files that are not available  when you copy over files to another drive.

     

    Software used to Clone:

     

    SuperDuper! http://www.shirt-pocket.com/

    CCC http://www.bombich.com/download.html

     

    SuperDuper has an option that allows you to clone alongside Time Machine but it's advised that you create a separate partition for the clone.

  • by HK_Phooey,

    HK_Phooey HK_Phooey Sep 26, 2016 3:11 PM in response to SC::UK
    Level 1 (5 points)
    Mac OS X
    Sep 26, 2016 3:11 PM in response to SC::UK

    Thanks. HOBLink JWT = yes.

    exact same error msg.

  • by SC::UK,

    SC::UK SC::UK Sep 27, 2016 1:28 AM in response to eapfelstaedt
    Level 1 (64 points)
    Mac OS X
    Sep 27, 2016 1:28 AM in response to eapfelstaedt

    Screen Shot 2016-09-27 at 09.27.46.jpg

     

    OK, so we have the i7 processor in common.  I will be upgrading a MacBook Air with an i5 soon, and that will be a further test to attempt to rule out hardware.

     

    As I mentioned earlier, if this is an issue for all Macs running Sierra then I are surprised that there is not more noise about it.

  • by SC::UK,

    SC::UK SC::UK Sep 27, 2016 1:29 AM in response to KiltedTim
    Level 1 (64 points)
    Mac OS X
    Sep 27, 2016 1:29 AM in response to KiltedTim

    My "IT Department" (of a global organisation with 150,000 employees) has said that Sierra is not supported for now.  It would also advise we use Windows.

  • by eapfelstaedt,

    eapfelstaedt eapfelstaedt Sep 27, 2016 11:25 AM in response to SC::UK
    Level 1 (4 points)
    Mac OS X
    Sep 27, 2016 11:25 AM in response to SC::UK

    Does no other Users have this Problem with Java?

  • by trevoz,

    trevoz trevoz Sep 27, 2016 6:00 PM in response to dianeoforegon
    Level 2 (195 points)
    Mac OS X
    Sep 27, 2016 6:00 PM in response to dianeoforegon

    @dianeoforegon

     

    > Software used to Clone:

    > SuperDuper!

    > CCC

     

    Why not use Disk Utility? More reliable and it comes with every Mac :-)

Page 1 Next