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 47725 - [40cat] NPE on First Startup
Summary: [40cat] NPE on First Startup
Status: RESOLVED DUPLICATE of bug 46716
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 17:46 UTC by Chris Kutler
Modified: 2004-08-31 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kutler 2004-08-23 17:46:47 UTC
[ JDK VERSION : J2SE 1.4.2_04 ]

I just installed the beta1 version. I did not import my settings. I started it up and clicked File > New Project. The wizard appeared along with the Exception dialog box and this error:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at javax.swing.text.html.StyleSheet.removeHTMLTags(StyleSheet.java:655)
	at javax.swing.text.html.StyleSheet.addAttributes(StyleSheet.java:553)
	at javax.swing.text.StyleContext$NamedStyle.addAttributes(StyleContext.java:1480)
	at javax.swing.text.html.HTMLEditorKit.createInputAttributes(HTMLEditorKit.java:413)
	at javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes(StyledEditorKit.java:242)
	at javax.swing.text.StyledEditorKit.install(StyledEditorKit.java:100)
	at javax.swing.text.html.HTMLEditorKit.install(HTMLEditorKit.java:309)
	at javax.swing.JEditorPane.setEditorKit(JEditorPane.java:944)
	at org.netbeans.modules.project.ui.TemplatesPanelGUI.postInitComponents(TemplatesPanelGUI.java:266)
	at org.netbeans.modules.project.ui.TemplatesPanelGUI.doWarmUp(TemplatesPanelGUI.java:574)
	at org.netbeans.modules.project.ui.TemplatesPanel$WarmupJob.construct(TemplatesPanel.java:222)
	at org.openide.util.AsyncInitSupport.run(AsyncInitSupport.java:170)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 Marian Mirilovic 2004-08-31 09:37:09 UTC
It's fixed in current Q-build.

*** This issue has been marked as a duplicate of 46716 ***