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 200904210201) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.27.21-0.1-default, amd64 User Comments: GUEST: Starting of the IDE Stacktrace: java.lang.NullPointerException at org.netbeans.modules.xml.text.folding.XmlFoldManager.scheduleFoldUpdate(XmlFoldManager.java:166) at org.netbeans.modules.xml.text.folding.XmlFoldManager.changedUpdate(XmlFoldManager.java:137) at org.netbeans.modules.editor.fold.FoldOperationImpl.changedUpdate(FoldOperationImpl.java:220) at org.netbeans.modules.editor.fold.FoldHierarchyExecution.changedUpdate(FoldHierarchyExecution.java:745) at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.changedUpdate(PriorityDocumentListenerList.java:119) at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:214)
Created attachment 81271 [details] stacktrace
Build: NetBeans IDE Dev (Build 200909220201) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.30-ARCH, i386 User Comments: Opening a project group with 11 different maven projects ranging from jbi to native jni. This was done by opening the project group by right clicking in the Projects view/window Stacktrace: java.lang.NullPointerException at org.netbeans.modules.xml.text.folding.XmlFoldManager.scheduleFoldUpdate(XmlFoldManager.java:166) at org.netbeans.modules.xml.text.folding.XmlFoldManager.changedUpdate(XmlFoldManager.java:137) at org.netbeans.modules.editor.fold.FoldOperationImpl.changedUpdate(FoldOperationImpl.java:220) at org.netbeans.modules.editor.fold.FoldHierarchyExecution.changedUpdate(FoldHierarchyExecution.java:745) at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.changedUpdate(PriorityDocumentListenerList.java:119) at javax.swing.text.AbstractDocument.fireChangedUpdate(AbstractDocument.java:214)
Created attachment 88115 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=109827
Seems as an arcane race condition in the fold scheduling / file close operation
Changeset: 43c710590b2f Author: Svata Dedic <sdedic@netbeans.org> Date: 2012-01-31 10:39 Message: Issue #164142 - NullPointerException at org.netbeans.modules.xml.text.folding.XmlFoldManager.scheduleFoldUpdate: fixed Tightened synchronization. Delayed tasks check whether they are still valid.