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...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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.
 * 
 * http://www.bootstrappage.com/view_live.php?url=view/shopper/
 * 
 */




Stacktrace: 
java.lang.AssertionError: dotPos=100 != insertionOffset=101 cookie=null selectedText='null' origDot=100
   at org.netbeans.editor.BaseKit$InsertBreakAction.performLineBreakInsertion(BaseKit.java:1426)
   at org.netbeans.editor.BaseKit$InsertBreakAction.access$200(BaseKit.java:1313)
   at org.netbeans.editor.BaseKit$InsertBreakAction$1.run(BaseKit.java:1348)
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:351)
   at org.netbeans.editor.BaseKit$InsertBreakAction.actionPerformed(BaseKit.java:1339)
   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
Comment 1 erick63 2013-12-13 14:43:09 UTC
Created attachment 143160 [details]
stacktrace
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