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.
Build: NetBeans IDE Dev (Build 201607210002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.102-b14, Java(TM) SE Runtime Environment, 1.8.0_102-b14 OS: Linux User Comments: mclaborn: Closing files Stacktrace: java.lang.NullPointerException at org.netbeans.modules.nbform.FormEditorSupport.loadFromStreamToKit(FormEditorSupport.java:1485) at org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:764) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:615) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323) at org.openide.text.NbDocument.runAtomic(NbDocument.java:436) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:655)
Created attachment 161420 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=225407
Created attachment 163096 [details] stacktrace It's happen on startup Netbeans IDE.
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=225407
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/379b9a534531
Integrated into 'main-silver', will be available in build *201706030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/379b9a534531 User: Tomas Pavek <tpavek@netbeans.org> Log: #267293: avoiding NPE on guardedEditor field in case the editor is closed while being loaded (the two threads are not synchronized)