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 196332 - [70cat] IllegalStateException: paragraphViewEndOffset=114 > docViewEndOffset=111 docView: DV@0040c316#14:<0,111>, WxH:424.0x238.0; incomingMod=false; lengthyAtomicEdit=0 [ 0]: PV@01c52c95#2:<0,6> Y=0.0(R0
Summary: [70cat] IllegalStateException: paragraphViewEndOffset=114 > docViewEndOffset=...
Status: RESOLVED DUPLICATE of bug 198719
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 01:39 UTC by Salamander
Modified: 2011-05-19 12:11 UTC (History)
75 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177284


Attachments
stacktrace (2.75 KB, text/plain)
2011-03-05 01:40 UTC, Salamander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Salamander 2011-03-05 01:39:56 UTC
This bug was originally marked as duplicate of bug 191620, 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 nbms-and-javadoc-6684-on-110219)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows XP

User Comments:
GUEST: nothing?....do not know...wrote the header for at function.

GUEST: editing PHP

GUEST: I was deleting a previously inserted PHP Code Clip

GUEST: Hit a break point in debug view

GUEST: 1- started netbeans
2- opened a file
3- added some characters
4- got this message
(and will get it every 10 seconds)

twistedmind: pasting plain text into 'default' php file

GUEST: When closing a tag, after the auto input form appeard on screan.

GUEST: Editing a xhtml-File

GUEST: try replace <faces-config> with
<faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">

GUEST: Copy and paste in editor

kganfield: editing processRequest method in new generated servlet

bernd_zedv: selected one abbreviation in code templates for java

jagibu: inserting 1 sign

GUEST: Trying to use autocomplete.

devilsevilhair: using backspace while deleting

vince_soleil: STS 70 Maven 
Scenario 1.9.9 Try to remove a dependency in maven project

GUEST: editing javascript code

vercinstex: committing a change to my personal own SVN server

vercinstex: just deleting some blank space

GUEST: Attemping to use the backspace key to change a php require_once statement

GUEST: Editing file:
Group un comment (Ctrl+/)

GUEST: typed in a PHP/HTML view template (.phtml)

GUEST: Occured while wrting Code for Servlet

marfous: - refractored (renamed) class in the src dir of web application

GUEST: Pressed debug  Run button

esmithbss: Attempting to delete a method from a superclass.

GUEST: Hit the backspace button my my mac

GUEST: Updated as required by update manager

GUEST: try to delete text $this->objectManager-> with backspache

obalyuk: omg... cannot even select text ....

Veraxus: Had text in the clipboard. Highlighted code in current editor window and used Paste shortcut (Ctrl+V). This triggered the error.

IgalR: Printed to search a string in the search box below the screen

GUEST: when i tryed crtl+x

vercinstex: just deleting a blank line

jsnuggs: Trying to insert a line by pressing enter.

GUEST: delete <'> Char

devon_c_miller: This seems to occur when editing several non-adjacent locations in a file. It appears to be generally unrecoverable in that edits made after encountering this error will not be saved. Immediately closing and re-opening the file seems to be the easiest work around.

GUEST: entering code (after deleting some lines to make the filesize smaller - it looks like te limitOffset shrinks with the docTextLength?)

karel_barel: replaced text in html file using regular expression:

Find What: name="(.*)"
Replace With: name="wanted[$1]"

GUEST: editing

bernd_zedv: editing java code

GUEST: Writing a css file

GUEST: Coding
Got this errors earlier (before this update) - but then more frequently. 
Now once is a while (do not see any pattern yet).

vince_soleil: STS 70 Maven
1.11.3 launch dependency management

kecampbell: Optimizing imports.

GUEST: Backspacing through a JSoN element

victor_1986: ??????? ??????, ???????? ?? ????, ?????????? ? ???????? ??????.

OndrejBrejla: I marked a piece of code and tried to paste another one instead.

jiai: Copy & paste from Opera to a Netbeans XML file

larsomat: select and delete text

GUEST: Autocompletion in Java Persistence code

klauern: Seriously...

vercinstex: committing to SVN

jagibu: replace text in .php file

GUEST: I was pasting some code over selected text

schkovich: Overtyping text in bash script

GUEST: Trying to edit a file, this strange assertion is thrown over and over and over again

GUEST: normal every day usage (happens all the time)

GUEST: coping text

rdelaplante: editing java code, highlighted a block of whitespace on a single line and pressed delete

manikantannaren: 1. Created a Java project
2. Registered an instance of Java derby database
3. created tables in the instance
4. Ran the Hibernate configuration, reverse engineering and mapping wizards to generate POJOs and 
hibernate configurations
5. Created a main class
6. Typed in Configuration configuration = new Configuration();
7. Tried to use auto-import on the Configuration class.
8. Got this error.

tomjnsn: Just editing in a php file.

GUEST: Editing text.

GUEST: Editing

Veraxus: Editing a javascript file (pressed backspace immediately before error)

pbelbin: pointed and clicked to the right of a semicolon (last character on the line) to place the cursor, then hit <enter>, expecting to insert a new line, ready for additional code.

st3vie: Options->Editor->Code Templates: remove a code template for PHP, or just select another one by clicking on it

GUEST: editing javascript

GUEST: Highlight block of text in middle of file and press 'del'

flexjoly: even saving is a problem
or just a click in the document
the document needs to be closed, after reopening it is ok for just a while

rcasha: typing into java editor

GUEST: pressing enter

GUEST: editing a css file. problem start occuring after i tried to delete something i wrote in the file

vercinstex: deleting a space

pbelbin: while editing an html file, I highlighted and hit delete to remove a comment that was ahead of the <!DOCTYPE tag.

ie:

<!--
blah blah blah
-->
<!DOCTYPE.....

I highlighted the area in comments (ie: the first 3 lines) then hit the delete key, and thereafter received the exception complaint.

devon_c_miller: Java source consisted of:
public class IntegerParsePerformance {
    public static int parse10(String s)
    {

    }
}

I selected from 'public' to the closing '}' of the method and selected paste (Ctrl-V). The contents of the clipboard was:
public static int parseInt( final String s )
{
    if ( string == null )
        throw new NumberFormatException( "Null string" );

    // Check for a sign.
    int num  = 0;
    int sign = -1;
    final int len  = s.length( );
    final char ch  = s.charAt( 0 );
    if ( ch == '-' )
    {
        if ( len == 1 )
            throw new NumberFormatException( "Missing digits:  " + s );
        sign = 1;
    }
    else
    {
        final int d = ch - '0';
        if ( d < 0 || d > 9 )
            throw new NumberFormatException( "Malformed:  " + s );
        num = -d;
    }

    // Build the number.
    final int max = (sign == -1) ?
        -Integer.MAX_VALUE : Integer.MIN_VALUE;
    final int multmax = max / 10;
    int i = 1;
    while ( i < len

flexjoly: aaarrrcchhhh

GUEST: Editing file:
insert new var

jbecicka: Fresh IDE. Fresh User dir. Created new JavaApplication with main method. Selected javadoc of main mathod and pasted this javadoc:
    /**
     * Main method launching the application.
     * <a href="http://www.usps.com/ncsc/lookups/abbr_state.txt">http://www.usps.com/ncsc/lookups/abbr_state.txt</a>
     */

ianvic: delete a single character

esmithbss: Clicked within a file and received a FastItem exception

GUEST: Uncommenting PHP code that is embeded in a HTML file

Sc0tTyXL: Typed public function and then had auto complete create the function.
Typing 'Fav' and hit auto complete again.
Because of another bug ( i will report it in a second ) i hit CTRL+Z i got this exception.
I can keep hitting cancel but i have to close the document ( i cant save it ) to the stop this exception dialog from popping up

vercinstex: saving a file

schkovich: Opened new HTML file, selected several lines of html code and pasted new code.

GUEST: typing

vercinstex: changing file tab

jrechtacek: While removing lines in PHP file.

karel_barel: tried to search and replace text in html file using regular expression, mistyped "Replace with" field, so result would be non valid html ...

Find What: name="(.+)"

Replace With: name="wanted[\1]

IgalR: Removing part of the code

ritzmann: Pressed tab key in Java editor.

chronosmark: Error occured while autocompleting a $_SESSION variable.

vercinstex: deleting a line with a comment in php //

GUEST: using ctrl+e to remove two lines quickly

avbravo: editing php file in save documment

bernd_zedv: opened preferences

klauern: WTF

javydreamercsw: Highlighted some code and tried to delete it.

rdelaplante: editing code, pressed delete on keyboard

paolosca: Opened the options window.

bernd_zedv: it seems to be impossible to work with this nightly build - get exceptions for nearly any type of activity within the java editor.

GUEST: tryied to remove empty line

GUEST: copy and paste

jag: Deleting spaces at the beginning of a line

paolosca: Selected parto of the text of a php file and hit the del key.

larsomat: select and delete

st3vie: close the Options window, or click on the update icon in the bottom-right corner

salamander: Trying to edit a blank PHP page.

GUEST: just entering code (afaik)

Wierrat: new line in html file with javascript

ianvic: sometimes when deleting a character by pressing backspace




Stacktrace: 
java.lang.IllegalStateException: paragraphViewEndOffset=114 > docViewEndOffset=111
docView:
DV@0040c316#14:<0,111>, WxH:424.0x238.0; incomingMod=false; lengthyAtomicEdit=0
    [ 0]: PV@01c52c95#2:<0,6> Y=0.0(R0.0), WxH:48.0x17.0
        [0]: HV@01677ef5#0:<0,5> X=0.0(R0.0) L=TLc[]:5;W=40.0
        [1]: NV@01c03bdc#0:<5,6> X=40.0(R40.0)
    [ 1]: PV@00f11abf#1:<6,7> Y=17.0(R17.0), WxH:8.0x17.0
        [0]: NV@019a0729#0:<6,7> X=0.0(R0.0)
    [ 2]: PV@01132d94#2:<7,10> Y=34.0(R34.0), WxH:24.0x17.0
        [0]: HV@014c3a7f#0:<7,9> X=0.0(R0.0) L=TLc[]:2;W=16.0
        [1]: NV@019477e6#0:<9,10> X=16.0(R16.0)
    [ 3]: PV@00155019#2:<10,63> Y=51.0(R51.0), WxH:424.0x17.0
        [0]: HV@004bc0ba#0:<10,62> X=0.0(R0.0) L=TLc[]:52;W=416.0
        [1]: NV@0159fec5#0:<62,63> X=416.0(R416.0)
    [ 4]: PV@013da295#3:<63,103> Y=68.0(R68.0), WxH:320.0x17.0
        [0]: HV@00369f28#0:<63,73> X=0.0(R0.0) L=[0#2]<0>;x=0.0;fC=<NULL>;bC=<NULL>
        [1]: HV@000b0576#0:<73,102> X=80.0(R80.0) L=[1#2]<10>;x=80.0;fC=<NULL>;bC=RGB[1
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:449)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:343)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:145)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:515)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:541)
   at sun.reflect.GeneratedMethodAccessor68.invoke(GeneratedMethodAccessor68.java:0)
Comment 1 Salamander 2011-03-05 01:40:04 UTC
Created attachment 106736 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-05-19 12:11:43 UTC

*** This bug has been marked as a duplicate of bug 198719 ***