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.
Reproduced in build 060827 (JDK 1.6 beta 2). To reproduce the bug: - from within Projects apply Russian Doll design pattern to a flattened OTA schema (do not open the schema in editor before applying); - open the schema; - validate the schema; - close the schema/discard changes. java.lang.AssertionError at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:96) at org.netbeans.editor.BaseDocument.getParagraphElement(BaseDocument.java:1575) at org.netbeans.editor.Utilities.getLineOffset(Utilities.java:595) at org.netbeans.modules.xml.text.folding.XmlFoldManager.isOneLineElement(XmlFoldManager.java:394) at org.netbeans.modules.xml.text.folding.XmlFoldManager.addElementsRecursivelly(XmlFoldManager.java:130) at org.netbeans.modules.xml.text.folding.XmlFoldManager.addElementsRecursivelly(XmlFoldManager.java:138) at org.netbeans.modules.xml.text.folding.XmlFoldManager.addElementsRecursivelly(XmlFoldManager.java:138) ...
*** This issue has been marked as a duplicate of 83567 ***
Verified in build 060831_2.