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 267368

Summary: AssertionError at org.openide.awt.HtmlRendererImpl.reset
Product: java Reporter: prusinek74
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225510
Attachments: stacktrace

Description prusinek74 2016-07-31 15:55:35 UTC
This issue was reported manually by prusinek74.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201607270002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 10

User Comments:
prusinek74: New class created using "Implement abstract class" tip from Alt + Enter tip list. Class created, and opened to edit. Then, an error occurred.




Stacktrace: 
java.lang.AssertionError
   at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:103)
   at org.openide.awt.HtmlRendererImpl.getTreeCellRendererComponent(HtmlRendererImpl.java:147)
   at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:156)
   at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807)
   at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
   at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1360)
Comment 1 prusinek74 2016-07-31 15:55:37 UTC
Created attachment 161504 [details]
stacktrace
Comment 2 Martin Entlicher 2016-08-08 14:00:20 UTC
ConstructorGenerator: Please do not instantiate UI classes in a non-EQ thread.
Comment 3 Martin Entlicher 2016-08-08 14:10:25 UTC
(See issue #267461)