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 256014 - AssertionError: Should be called in EDT only!
Summary: AssertionError: Should be called in EDT only!
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
: 256021 256219 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-19 09:42 UTC by Alexander Simon
Modified: 2016-03-16 08:12 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220619


Attachments
stacktrace (13.17 KB, text/plain)
2015-10-19 09:42 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-10-19 09:42:43 UTC
Build: NetBeans IDE Dev (Build 20151019-f6946b06d680)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
alexvsimon: resolve project problem




Stacktrace: 
java.lang.AssertionError: Should be called in EDT only!
   at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:140)
   at org.openide.explorer.view.TreeView.initializeTree(TreeView.java:328)
   at org.openide.explorer.view.TreeView.<init>(TreeView.java:252)
   at org.openide.explorer.view.TreeView.<init>(TreeView.java:242)
   at org.openide.explorer.view.BeanTreeView.<init>(BeanTreeView.java:98)
   at org.netbeans.modules.cnd.makeproject.ui.customizer.MakeCustomizer$CategoryView.<init>(MakeCustomizer.java:419)
Comment 1 Alexander Simon 2015-10-19 09:42:45 UTC
Created attachment 156795 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-10-19 11:20:59 UTC
Please call from EDT only, calling from a bg thread causes #255297 - NullPointerException at javax.swing.JLabel.setIcon
Thanks.
Comment 3 danilasergeyev 2015-10-19 14:34:19 UTC
*** Bug 256021 has been marked as a duplicate of this bug. ***
Comment 4 Exceptions Reporter 2015-10-20 21:18:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=220619
Comment 5 danilasergeyev 2015-10-26 09:50:10 UTC
fixed (enum), change set:
652523722e77
Comment 6 Ondrej Vrabec 2015-10-26 11:39:16 UTC
Just FYI, i added the assert check only in trunk, it's not an issue in 8.1. So if you do not want, there is probably no need to add it to the 8.1 patch
Comment 7 Ondrej Vrabec 2015-10-28 06:24:39 UTC
*** Bug 256219 has been marked as a duplicate of this bug. ***
Comment 8 Quality Engineering 2015-10-29 02:22:00 UTC
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d52e29cb4e6f
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #256014 AssertionError: Should be called in EDT only!
Note: RequestProcessor was added to fix the bug #109432,
but several improvements since then were made, so now there's no need to use it
(transplanted from 652523722e77ae44c8c410b03d5ef825797af819)
Comment 9 Alexander Simon 2015-11-17 12:56:12 UTC
v.
Comment 10 soldatov 2015-11-23 08:48:26 UTC
Verified in NetBeans 8.1 patch1