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 258318 - AssertionError: markPos must not be null
Summary: AssertionError: markPos must not be null
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-11 08:08 UTC by Alexander Simon
Modified: 2016-03-15 04:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222960


Attachments
stacktrace (3.58 KB, text/plain)
2016-03-11 08:08 UTC, Alexander Simon
Details
stacktrace (3.58 KB, text/plain)
2016-03-11 10:41 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2016-03-11 08:08:41 UTC
Build: NetBeans IDE Dev (Build 20160311-b797a85ab437)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: SunOS

User Comments:
alexvsimon: open file and start to select text




Stacktrace: 
java.lang.AssertionError: markPos must not be null
   at org.netbeans.api.editor.caret.CaretTransaction.setDotAndMark(CaretTransaction.java:144)
   at org.netbeans.api.editor.caret.CaretTransaction.moveDot(CaretTransaction.java:139)
   at org.netbeans.api.editor.caret.CaretMoveContext.moveDot(CaretMoveContext.java:128)
   at org.netbeans.editor.BaseKit$DownAction$1.moveCarets(BaseKit.java:2623)
   at org.netbeans.api.editor.caret.CaretTransaction.runCaretMoveHandler(CaretTransaction.java:299)
   at org.netbeans.api.editor.caret.EditorCaret.runTransaction(EditorCaret.java:1118)
Comment 1 Alexander Simon 2016-03-11 08:08:44 UTC
Created attachment 158822 [details]
stacktrace
Comment 2 Alexander Simon 2016-03-11 10:41:23 UTC
Created attachment 158828 [details]
stacktrace

ope file and start to select text from begginning
Comment 3 Miloslav Metelka 2016-03-14 10:39:26 UTC
I'm not able to reproduce on my machine for some reason but I've added a fix that should eliminate the problem:
http://hg.netbeans.org/jet-main/rev/5365d8f75764
Comment 4 Quality Engineering 2016-03-15 04:56:44 UTC
Integrated into 'main-silver', will be available in build *201603150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5365d8f75764
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #258318 - AssertionError: markPos must not be null.