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 197444 - NullPointerException at javax.swing.plaf.basic.BasicTextUI.getPreferredSize
Summary: NullPointerException at javax.swing.plaf.basic.BasicTextUI.getPreferredSize
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 14:45 UTC by mohammed.chebbi
Modified: 2011-11-01 14:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178179


Attachments
stacktrace (1.02 KB, text/plain)
2011-04-05 14:45 UTC, mohammed.chebbi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohammed.chebbi 2011-04-05 14:45:17 UTC
Build: NetBeans IDE Dev (Build 201104030400)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:891)
   at javax.swing.JComponent.getPreferredSize(JComponent.java:1634)
   at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1412)
   at org.netbeans.modules.java.editor.JavaEditorWarmUpTask.run(JavaEditorWarmUpTask.java:224)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 mohammed.chebbi 2011-04-05 14:45:21 UTC
Created attachment 107509 [details]
stacktrace
Comment 2 Dusan Balek 2011-11-01 14:50:41 UTC
Caused by two JavaEditorWarmUpTasks running in parallel. Already fixed in the current dev build. See issue #190096.