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 227378 - AssertionError: dotPos=318 != insertionOffset=319 cookie=null selectedText='*/ /** ' origDot=326
Summary: AssertionError: dotPos=318 != insertionOffset=319 cookie=null selectedText='*...
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 19:00 UTC by wnjordan
Modified: 2013-04-16 16:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 199547


Attachments
stacktrace (3.22 KB, text/plain)
2013-03-12 19:00 UTC, wnjordan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wnjordan 2013-03-12 19:00:54 UTC
This bug was originally marked as duplicate of bug 190005, 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 201303092300)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Linux

User Comments:
wnjordan: Combining two comments by deleting the lines that separate them:

/**
 *
 *
 */
/**
 *
 *
 */

The following is being deleted:
 */
/**

I have repeated this twice with the same result.  IDE appears to resume normal operation after the exception.




Stacktrace: 
java.lang.AssertionError: dotPos=318 != insertionOffset=319 cookie=null selectedText='*/
/**
 ' origDot=326
   at org.netbeans.editor.BaseKit$InsertBreakAction.performLineBreakInsertion(BaseKit.java:1420)
   at org.netbeans.editor.BaseKit$InsertBreakAction.access$200(BaseKit.java:1307)
   at org.netbeans.editor.BaseKit$InsertBreakAction$1.run(BaseKit.java:1342)
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:347)
   at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1333)
   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
Comment 1 wnjordan 2013-03-12 19:00:56 UTC
Created attachment 132532 [details]
stacktrace
Comment 2 Milutin Kristofic 2013-03-18 17:01:35 UTC
Did it happen in java? Can you repeat it after restarting netbeans?
Comment 3 wnjordan 2013-03-18 17:26:01 UTC
When it happened I was working on a PHP script.  After restarting the IDE the bug no longer occurs.  I've tried various file types and cannot recreate this bug.
Comment 4 Milutin Kristofic 2013-04-16 16:07:27 UTC
I am closing this since it is not reproducible. It cannot be fixed without reproducible steps.