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 250229 - NullPointerException at javax.swing.text.JTextComponent.setDocument
Summary: NullPointerException at javax.swing.text.JTextComponent.setDocument
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0.2
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-05 09:03 UTC by lorthirk
Modified: 2016-01-07 20:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215215


Attachments
stacktrace (2.72 KB, text/plain)
2015-02-05 09:03 UTC, lorthirk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lorthirk 2015-02-05 09:03:35 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 8

User Comments:
lorthirk: Tried to create a J2ME project with no J2ME platform configured in NetBeans




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.setDocument(JTextComponent.java:440)
   at bluej.editor.moe.NVDrawPane.setDocument(NVDrawPane.java:64)
   at bluej.editor.moe.NaviView.setDocument(NaviView.java:106)
   at bluej.editor.moe.NaviView.<init>(NaviView.java:90)
   at de.markiewb.netbeans.plugins.outline.OutlineTopComponent.resultChanged(OutlineTopComponent.java:103)
   at org.openide.util.lookup.SimpleProxyLookup.checkLookup(SimpleProxyLookup.java:114)
Comment 1 lorthirk 2015-02-05 09:03:37 UTC
Created attachment 151825 [details]
stacktrace
Comment 2 markiewb 2015-05-09 14:24:13 UTC
Will be fixed in the next version of the outline plugin

https://github.com/markiewb/nb-codeoutline/issues/19
Comment 3 markiewb 2016-01-07 20:22:31 UTC
(In reply to markiewb from comment #2)
> Will be fixed in the next version of the outline plugin
> 
> https://github.com/markiewb/nb-codeoutline/issues/19

Fixed a long time ago. Version 1.2.0 AFAIK of the plugin