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.
Summary: | NullPointerException at javax.swing.JLabel.setIcon | ||
---|---|---|---|
Product: | platform | Reporter: | PolesApart |
Component: | Explorer | Assignee: | Jan Peska <JPESKA> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 212884 |
Attachments: | stacktrace |
Description
PolesApart
2015-09-15 13:05:17 UTC
Created attachment 156185 [details]
stacktrace
Please reopen if reproducible with official Oracle JDK, not with OpenJDK http://www.oracle.com/technetwork/java/javase/downloads/index.html On second thought this looks as a concurrent access to swing components outside of AWT, let's add an assert for AWT thread access only after release. adding an assert fix: http://hg.netbeans.org/core-main/rev/3c7c59233c13 Integrated into 'main-silver', will be available in build *201510170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3c7c59233c13 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #255297 - NullPointerException at javax.swing.JLabel.setIcon Add EDT assert. Integrated into 'main-silver', will be available in build *201511100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9eec1ed979da User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #255297 - NullPointerException at javax.swing.JLabel.setIcon White-list TreeView.constructor from the callers. Lot of calls is coming from TreeView constructor, when new instance of NodeRenderer is just created along with its internal renderers. This does not look like the problematic call we're hunting. |