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

Reply
52 replies

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.

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:


User uploaded file


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

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.

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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

macOS Sierra with Java.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.