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 262465 - NullPointerException at javax.swing.JList$AccessibleJList$AccessibleJListChild.getAccessibleValue
Summary: NullPointerException at javax.swing.JList$AccessibleJList$AccessibleJListChil...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.2
Hardware: All Linux
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
: 262582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-17 13:11 UTC by sviatopolk
Modified: 2016-09-06 11:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224466


Attachments
stacktrace (3.09 KB, text/plain)
2016-06-17 13:11 UTC, sviatopolk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sviatopolk 2016-06-17 13:11:46 UTC
Build: NetBeans IDE Dev (Build 201606140002)
VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-2-b14
OS: Linux

User Comments:
sviatopolk: It is related to the autocomplete list.
It is especially frequent when using backspace or Ctrl+Z (undo) while the autocomplete list (popup) is visible.

But it hasn't happened for a good day, and now it started anew.

GUEST: Error with running netbeans




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.JList$AccessibleJList$AccessibleJListChild.getAccessibleValue(JList.java:3398)
   at org.GNOME.Accessibility.AtkWrapper.emitSignal(AtkWrapper.java:0)
   at org.GNOME.Accessibility.AtkWrapper$4.propertyChange(AtkWrapper.java:507)
   at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
Comment 1 sviatopolk 2016-06-17 13:11:47 UTC
Created attachment 160080 [details]
stacktrace
Comment 2 sviatopolk 2016-06-23 07:02:58 UTC
It seems that this "bug" arises out of libatk (Gnome Accessibility Toolkit) being by default enabled with recent openjdk 7 and 8 distributions.
(7u85+ and 8u91+ are definitely affected).

From here

https://josm.openstreetmap.de/ticket/12022

it seems that commenting out the relevant line

assistive_technologies=org.GNOME.Accessibility.AtkWrapper

in file

/etc/java-X-openjdk/accessibility-properties

would solve the problem, moreover, there is probably nothing for the NetBeans team to "fix" on it, as it is rather related to OpenJDK JNI and libatk.

I propose that someone should change it to some resolution equivalent to WONTFIX or similar but leave here for further reference.
Comment 3 sviatopolk 2016-06-23 08:28:17 UTC
Yes, I can confirm that the mentioned workaround fixes the problem.

I try to close this as WONTFIX since it is unlikely that anybody from the NetBeans team would work on libatk or openjdk.

I would recommend adding the "NOTOURBUG" resolution to Bugzilla that the Document Foundation (for example) uses as it might happen that further reports arise out of bugs of related software.

Please reopen should any workaround ideas or solutions surface.
Comment 4 sviatopolk 2016-09-06 11:10:08 UTC
*** Bug 262582 has been marked as a duplicate of this bug. ***