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.
Steps to reproduce: - create a new PHP project - replace the content of created index file with the following: <?php function aaa_function(){} ?> - create a new PHP file - in the newly created file call code completion for the aaa_func() function: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <body> <?php // put your code here aaa_| ?> </body> </html> - call UNDO
The first assertion is: java.lang.AssertionError at org.netbeans.modules.editor.lib.TrailingWhitespaceRemove$AddRegionEdit.undo(TrailingWhitespaceRemove.java:378) at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:303) at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:69) at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46) at org.netbeans.editor.BaseDocument$AtomicCompoundEdit.undo(BaseDocument.java:2075) at org.netbeans.editor.BaseDocument.breakAtomicLock(BaseDocument.java:1734)
Created attachment 63257 [details] Full IDE log
The problem is actually on my side, I am taking over
Fixed. http://hg.netbeans.org/main/rev/e77e58aa7aeb
Integrated into 'main-golden', available in NB_Trunk_Production #278 build Changeset: http://hg.netbeans.org/main/rev/e77e58aa7aeb User: Tomasz Slota <tslota@netbeans.org> Log: #137967: A series of assertion errors and unusable editor after UNDO