This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268491 - Exception thrown: Fix Uses
Summary: Exception thrown: Fix Uses
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-12 15:54 UTC by exile
Modified: 2016-10-13 06:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the internal error box. (182.41 KB, image/png)
2016-10-12 15:54 UTC, exile
Details

Note You need to log in before you can comment on or make changes to this bug.
Description exile 2016-10-12 15:54:10 UTC
Created attachment 162476 [details]
Screenshot of the internal error box.

Using Fix Uses in a PHP project sometimes throws an exception. This has happened in Netbeans 8.1 and 8.2. It happens when I'm in a PHP project with external libraries linked for auto complete. 

It seems to have started once since upgrading to macOS Sierra. Thats when I started getting a Mac specific Internal error box asking if I want to continue or crash.

The stack trace I get: 

Exception Name: JavaNativeException
Description: java.lang.NullPointerException
	at sun.lwawt.macosx.CAccessibility.getAccessibleIndexInParent(CAccessibility.java:287)

User Info: (null)

0   CoreFoundation                      0x00007fff7e4aa7bb __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fff92c17a2a objc_exception_throw + 48
2   CoreFoundation                      0x00007fff7e4aa709 -[NSException raise] + 9
3   JavaNativeFoundation                0x00000001065ee64d JNFCallStaticIntMethod + 236
4   libawt_lwawt.dylib                  0x0000000119ef2deb +[JavaComponentAccessibility createWithAccessible:withEnv:withView:] + 76
5   libawt_lwawt.dylib                  0x0000000119ef330b -[JavaComponentAccessibility accessibilityFocusedUIElement] + 194
6   libawt_lwawt.dylib                  0x0000000119ec84f6 -[AWTView accessibilityFocusedUIElement] + 156
7   AppKit                              0x00007fff7c8f0417 -[NSWindow(NSWindowAccessibility) accessibilityFocusedUIElement] + 124
8   libawt_lwawt.dylib                  0x0000000119ef3069 +[JavaComponentAccessibility postFocusChanged:] + 96
9   Foundation                          0x00007fff7fe8cf2a __NSThreadPerformPerform + 326
10  CoreFoundation                      0x00007fff7e441581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
11  CoreFoundation                      0x00007fff7e42298c __CFRunLoopDoSources0 + 556
12  CoreFoundation                      0x00007fff7e421e76 __CFRunLoopRun + 934
13  CoreFoundation                      0x00007fff7e421874 CFRunLoopRunSpecific + 420
14  HIToolbox                           0x00007fff7d9c1f6c RunCurrentEventLoopInMode + 240
15  HIToolbox                           0x00007fff7d9c1da1 ReceiveNextEventCommon + 432
16  HIToolbox                           0x00007fff7d9c1bd6 _BlockUntilNextEventMatchingListInModeWithFilter + 71
17  AppKit                              0x00007fff7c0b85f5 _DPSNextEvent + 1093
18  AppKit                              0x00007fff7c7c88eb -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
19  libosxapp.dylib                     0x0000000119f7a3aa -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
20  AppKit                              0x00007fff7c0acfbd -[NSApplication run] + 926
21  libosxapp.dylib                     0x0000000119f7a14d +[NSApplicationAWT runAWTLoopWithApp:] + 156
22  libawt_lwawt.dylib                  0x0000000119f074b3 -[AWTStarter starter:] + 905
23  Foundation                          0x00007fff7fe8cf2a __NSThreadPerformPerform + 326
24  CoreFoundation                      0x00007fff7e441581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25  CoreFoundation                      0x00007fff7e42298c __CFRunLoopDoSources0 + 556
26  CoreFoundation                      0x00007fff7e421e76 __CFRunLoopRun + 934
27  CoreFoundation                      0x00007fff7e421874 CFRunLoopRunSpecific + 420
28  java                                0x0000000102201465 CreateExecutionEnvironment + 871
29  java                                0x00000001021fd18c JLI_Launch + 1952
30  java                                0x00000001022034c2 main + 101
31  java                                0x00000001021fc9e4 start + 52
Comment 1 Tomas Mysik 2016-10-13 06:33:16 UTC
JDK issue? Not sure how we handle them...

Thanks.