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

Summary: IndexOutOfBoundsException: Invalid line index=1079 >= lineCount=627
Product: utilities Reporter: Exceptions Reporter <exceptions_reporter>
Component: DiffAssignee: Ondrej Vrabec <ovrabec>
Status: NEW ---    
Severity: normal CC: luis.boch, sdedic
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215547
Attachments: stacktrace
stacktrace

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...