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 259061 - AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction
Summary: AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.2
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 259089 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-04-29 11:33 UTC by Tomas Stupka
Modified: 2016-05-09 00:22 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223801


Attachments
stacktrace (5.13 KB, text/plain)
2016-04-29 11:33 UTC, Tomas Stupka
Details
IDE log - modifying code in Java class (88.82 KB, text/plain)
2016-05-02 06:35 UTC, zmirc
Details
IDE log - Pressed CTRL + E to delete a line of code (94.45 KB, text/plain)
2016-05-02 06:37 UTC, zmirc
Details
IDE log Pressed TAB in a Java class (76.72 KB, text/plain)
2016-05-02 07:35 UTC, zmirc
Details
stacktrace (4.91 KB, text/plain)
2016-05-02 07:51 UTC, knives214
Details
stacktrace (4.83 KB, text/plain)
2016-05-02 08:06 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2016-04-29 11:33:25 UTC
Build: NetBeans IDE Dev (Build 20160429-c4b8a86c8069)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-ea-b05
OS: Mac OS X

User Comments:
tstupka: while editing pom.xml - trying to tab-move some selected block




Stacktrace: 
java.lang.AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction
   at org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1600)
   at org.netbeans.api.editor.caret.EditorCaret.setDot(EditorCaret.java:561)
   at org.netbeans.api.editor.caret.EditorCaret.setDot(EditorCaret.java:533)
   at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.implicitSetDot(EditorCaret.java:2540)
   at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.modifiedUpdate(EditorCaret.java:2526)
   at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.insertUpdate(EditorCaret.java:2471)
Comment 1 Tomas Stupka 2016-04-29 11:33:26 UTC
Created attachment 159476 [details]
stacktrace
Comment 2 zmirc 2016-05-02 06:35:57 UTC
Created attachment 159497 [details]
IDE log - modifying code in Java class
Comment 3 zmirc 2016-05-02 06:37:04 UTC
Created attachment 159498 [details]
IDE log - Pressed CTRL + E to delete a line of code
Comment 4 zmirc 2016-05-02 07:35:20 UTC
:( NetBeans can't be used with this error, because it blocks the TAB and CTRL+E keys, throwing this error.
Necessary to revert to an older NetBeans.
Comment 5 zmirc 2016-05-02 07:35:27 UTC
Created attachment 159500 [details]
IDE log Pressed TAB in a Java class
Comment 6 knives214 2016-05-02 07:51:10 UTC
Created attachment 159502 [details]
stacktrace

appens saltuary deleting text, I suppose, but I'm not sure
Comment 7 Exceptions Reporter 2016-05-02 08:06:11 UTC
Created attachment 159504 [details]
stacktrace

delete line
Comment 8 Miloslav Metelka 2016-05-02 08:27:25 UTC
Apologies for the regression it should now be fixed:
http://hg.netbeans.org/jet-main/rev/18b1f43d54a1
Comment 9 Quality Engineering 2016-05-03 01:49:33 UTC
Integrated into 'main-silver', will be available in build *201605030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/18b1f43d54a1
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #259061 - AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction.
Comment 10 junichi11 2016-05-09 00:22:38 UTC
*** Bug 259089 has been marked as a duplicate of this bug. ***