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 239475 - AssertionError: dotPos=100 != insertionOffset=101 cookie=null selectedText='null' origDot=100
Summary: AssertionError: dotPos=100 != insertionOffset=101 cookie=null selectedText='n...
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-12-13 14:43 UTC by erick63
Modified: 2015-06-25 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205999

stacktrace (3.22 KB, text/plain)
2013-12-13 14:43 UTC, erick63

Note You need to log in before you can comment on or make changes to this bug.
Description erick63 2013-12-13 14:43:07 UTC
This bug was originally marked as duplicate of bug 233261, 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 201311060001)
VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30
OS: Linux

User Comments:
GUEST: asasssa

GUEST: <Please provide a description of the problem or the steps to reproduce> hi this is annoying, Please stop popping up all errors

GUEST: Just codin

GUEST: <Please provide a description of the problem or the steps to reproduce> aaaa

erick63: a cut and paste

GUEST: Set cursor before last star in docbloc and press Enter

>|<*/  set cursor here and catch Exception
Whem change cursor position away and press Enter - no exceptions

GUEST: press enter between */ in php comment<?php

 * To change this template, choose Tools | Templates
 * and open the template in the editor.

java.lang.AssertionError: dotPos=100 != insertionOffset=101 cookie=null selectedText='null' origDot=100
   at org.netbeans.editor.BaseKit$InsertBreakAction.performLineBreakInsertion(
   at org.netbeans.editor.BaseKit$InsertBreakAction.access$200(
   at org.netbeans.editor.BaseKit$InsertBreakAction$
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(
   at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(
   at org.netbeans.editor.BaseAction.actionPerformed(
Comment 1 erick63 2013-12-13 14:43:09 UTC
Created attachment 143160 [details]
Comment 2 Milutin Kristofic 2015-06-25 13:37:15 UTC
It was probably fixed, since there are not new reports after 8.0 beta