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 259124 - AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction
Summary: AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2016-05-04 13:39 UTC by Exceptions Reporter
Modified: 2016-05-04 13:39 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223873

stacktrace (4.93 KB, text/plain)
2016-05-04 13:39 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-05-04 13:39:30 UTC
This bug was originally marked as duplicate of bug 259061, 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 201605040002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
JohannesU: tried to realign a line containing a // comment using tabs (which expand to spaces).

sidtj: Indenting the code, just after tab key be pressed, inside a @foreach in a blade php file.

BlameFate: Encountering lots of these problems while trying to indent/remove indentation in PHP source.

GUEST: Tried to indent a comment on a source file with errors/broken imports.

GUEST: Press TAB key at any where within Java source editor or HTML editor, then got this error; while a tab is inserted instead of 4 whitespaces.


GUEST: Tabing over closing div tag

java.lang.AssertionError: Unsupported removeType=RETAIN_LAST_CARET in nested transaction
   at org.netbeans.api.editor.caret.EditorCaret.runTransaction(
   at org.netbeans.api.editor.caret.EditorCaret.setDot(
   at org.netbeans.api.editor.caret.EditorCaret.setDot(
   at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.implicitSetDot(
   at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.modifiedUpdate(
   at org.netbeans.api.editor.caret.EditorCaret$ListenerImpl.insertUpdate(
Comment 1 Exceptions Reporter 2016-05-04 13:39:33 UTC
Created attachment 159532 [details]