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 233261

Summary: AssertionError: dotPos=2550 != insertionOffset=2555 cookie=null selectedText='null' origDot=2550
Product: editor Reporter: gena01
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 202435
Attachments: stacktrace

Description gena01 2013-07-23 19:07:01 UTC
This bug was originally marked as duplicate of bug 227378, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201307212300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
gena01: Editing source code nside a phpunit test file




Stacktrace: 
java.lang.AssertionError: dotPos=2550 != insertionOffset=2555 cookie=null selectedText='null' origDot=2550
   at org.netbeans.editor.BaseKit$InsertBreakAction.performLineBreakInsertion(BaseKit.java:1422)
   at org.netbeans.editor.BaseKit$InsertBreakAction.access$200(BaseKit.java:1309)
   at org.netbeans.editor.BaseKit$InsertBreakAction$1.run(BaseKit.java:1344)
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:351)
   at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1335)
   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
Comment 1 gena01 2013-07-23 19:07:04 UTC
Created attachment 137640 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-07-24 13:15:03 UTC
Can you repeat this? Can you paste a part of code and position where it happens?
Comment 3 Milutin Kristofic 2013-07-31 12:29:49 UTC
I am closing this since it is not reproducible. It cannot be fixed without
reproducible steps.