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 250571 - IndexOutOfBoundsException: Invalid line index=1079 >= lineCount=627
Summary: IndexOutOfBoundsException: Invalid line index=1079 >= lineCount=627
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-20 09:37 UTC by Exceptions Reporter
Modified: 2016-10-10 14:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215547


Attachments
stacktrace (3.89 KB, text/plain)
2015-02-20 09:37 UTC, Exceptions Reporter
Details
stacktrace (2.16 KB, text/plain)
2016-10-10 14:40 UTC, luis.boch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-02-20 09:37:00 UTC
This issue was reported manually by sdedic.
It already has 5 duplicates 


Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Windows 8

User Comments:
GUEST: i am not sure

GUEST: Trying to resolve conflict in maven subproject

GUEST: resolving conflicts when this error appears

GUEST: Made a pull from a mercurial repository and conflicts where detected.
went to team>mercurial>conflicts>resolve conflicts and the error popped up
project.properties file shows conflicts but doesn't show on conflict resolver

GUEST: did not notice




Stacktrace: 
java.lang.IndexOutOfBoundsException: Invalid line index=1079 >= lineCount=627
   at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:84)
   at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:923)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391)
   at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:898)
   at org.openide.text.NbDocument.findLineOffset(NbDocument.java:201)
   at org.netbeans.modules.merge.builtin.visualizer.MergePanel.replace(MergePanel.java:1303)
Comment 1 Exceptions Reporter 2015-02-20 09:37:02 UTC
Created attachment 152109 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-02-26 09:35:49 UTC
we really need a new and more modern merge tool.
Comment 3 luis.boch 2016-10-10 14:40:25 UTC
Created attachment 162433 [details]
stacktrace

i don't know...