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 195432 - [70cat] IllegalStateException: prevViewEndOffset=192 > matchOffset=191
Summary: [70cat] IllegalStateException: prevViewEndOffset=192 > matchOffset=191
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 184499 194643 195375 195484 195778 195842 196150 196159 196464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-13 23:36 UTC by schkovich
Modified: 2011-10-18 13:21 UTC (History)
16 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176467


Attachments
stacktrace (3.95 KB, text/plain)
2011-02-13 23:36 UTC, schkovich
Details
stacktrace (3.94 KB, text/plain)
2011-02-21 00:01 UTC, FRE5H
Details
stacktrace (4.20 KB, text/plain)
2011-02-25 20:03 UTC, alied
Details
stacktrace (4.04 KB, text/plain)
2011-02-26 15:27 UTC, simpatico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description schkovich 2011-02-13 23:36:30 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102111519)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Linux

User Comments:
schkovich: After code completion of the function, overtyping preselected parameter

flexjoly: just trying to cut something to move it




Stacktrace: 
java.lang.IllegalStateException: prevViewEndOffset=192 > matchOffset=191
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:312)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:145)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.removeUpdate(ViewUpdates.java:413)
   at sun.reflect.GeneratedMethodAccessor78.invoke(GeneratedMethodAccessor78.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
Comment 1 schkovich 2011-02-13 23:36:36 UTC
Created attachment 105969 [details]
stacktrace
Comment 2 FRE5H 2011-02-21 00:01:22 UTC
Created attachment 106224 [details]
stacktrace

copy part of text
Comment 3 Exceptions Reporter 2011-02-21 16:29:00 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176467
Comment 4 Exceptions Reporter 2011-02-21 16:31:56 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176467
Comment 5 Exceptions Reporter 2011-02-25 14:36:43 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=176467
Comment 6 alied 2011-02-25 20:03:44 UTC
Created attachment 106456 [details]
stacktrace

tried to delete piece of code. I guess yhis might be related to having updated some modules in a old build.
Going to install new build and try again.
Comment 7 simpatico 2011-02-26 15:27:51 UTC
Created attachment 106477 [details]
stacktrace
Comment 8 Miloslav Metelka 2011-03-08 17:25:23 UTC
I've done a partial rewrite of the views rebuilding which should fix this problem.
http://hg.netbeans.org/jet-main/rev/de8e7acd36a1
Comment 9 Miloslav Metelka 2011-03-08 17:28:32 UTC
*** Bug 195484 has been marked as a duplicate of this bug. ***
Comment 10 Miloslav Metelka 2011-03-08 18:34:16 UTC
Additional fix:
http://hg.netbeans.org/jet-main/rev/063d5689bfcf
Comment 11 Quality Engineering 2011-03-09 05:36:48 UTC
Integrated into 'main-golden', will be available in build *201103090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/de8e7acd36a1
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #195432 - [70cat] IllegalStateException: prevViewEndOffset=192 > matchOffset=191 - views rebuilding partial rewrite.
Comment 12 Miloslav Metelka 2011-03-09 09:34:45 UTC
*** Bug 196159 has been marked as a duplicate of this bug. ***
Comment 13 Miloslav Metelka 2011-03-09 13:00:13 UTC
*** Bug 196464 has been marked as a duplicate of this bug. ***
Comment 14 Miloslav Metelka 2011-03-10 10:45:51 UTC
*** Bug 195842 has been marked as a duplicate of this bug. ***
Comment 15 Miloslav Metelka 2011-03-10 14:14:05 UTC
*** Bug 195778 has been marked as a duplicate of this bug. ***
Comment 16 Marian Mirilovic 2011-03-12 08:56:41 UTC
Mila, what about integration into 7.0 ?
Comment 17 Miloslav Metelka 2011-03-14 09:53:47 UTC
Mariane, it should be in release70 branch already.
But btw I will likely need another fix - issue 196549 in release70 too (just verifying whether it resolves the problem or not).
Comment 18 Marian Mirilovic 2011-03-14 10:33:07 UTC
(In reply to comment #17)
> Mariane, it should be in release70 branch already.
> But btw I will likely need another fix - issue 196549 in release70 too (just
> verifying whether it resolves the problem or not).

Ok, proceed with integration. The sooner, the better.
Comment 19 schkovich 2011-03-14 11:21:01 UTC
Product Version: NetBeans IDE 7.0 RC1 (Build 201103120000)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.35-27-generic running on amd64; UTF-8; en_US (nb)

I cannot reproduce it anymore.
Comment 20 plastique 2011-03-14 20:47:07 UTC
still existant in Dev 110308 (see duplicates)
Comment 21 plastique 2011-03-14 20:48:47 UTC
nevermind (reopened wrong issue) ...
Comment 22 Jaromir Uhrik 2011-03-15 11:09:40 UTC
Checked that the fix is in release branch. Marking as VERIFIED.
Comment 23 Marian Mirilovic 2011-03-18 08:19:19 UTC
Mila, 
I am little bit confused :
- I can't find the fix in the list of fixes (under this issue number) in release70
- If it's fixed, could you change keyword to '70_HR_FIX' ?
- if it isn't, pleas change the TM to Dev

Thanks in advance.
Comment 24 Miloslav Metelka 2011-03-20 20:02:08 UTC
The fix IS present in release70, actually it was in trunk before branching of the release70. I've double-checked the sources (namely OffsetRegion) and the changes were there.
Comment 25 Marian Mirilovic 2011-03-21 08:07:08 UTC
Thanks for confirmation
Comment 26 Miloslav Metelka 2011-08-16 14:34:08 UTC
*** Bug 184499 has been marked as a duplicate of this bug. ***
Comment 27 David Strupl 2011-09-16 10:51:21 UTC
*** Bug 196150 has been marked as a duplicate of this bug. ***
Comment 28 Miloslav Metelka 2011-10-17 12:04:16 UTC
*** Bug 194643 has been marked as a duplicate of this bug. ***
Comment 29 Miloslav Metelka 2011-10-18 13:21:48 UTC
*** Bug 195375 has been marked as a duplicate of this bug. ***