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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows Vista, 6.0, x86 User Comments: marco_bresciani: NetBeans SQE, PMD thulin: Runing the Quality plugin marco_bresciani: NetBeans SQE, PMD Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=409 >= lineCount=409 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:112) at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:669) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1362) at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:644) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:176) at org.openide.text.DocumentLine$Set.offset(DocumentLine.java:1026)
Created attachment 75209 [details] stacktrace
This looks like a problem in org.nbheaven.sqe.bridge.pmd.utils.RuleViolationAnnotationProcessor:85. Please file the defect against the plugin. I'm sorry, but I'm not sure who and where maintains the plugin. Thanks
*** Issue 155221 has been marked as a duplicate of this issue. ***
Vita, could you take a look at the report 439360 at http://statistics.netbeans.org/exceptions/detail.do?id=16604? To reproduce it I just need create a file with a CVS conflict, after a merge for example, and make a little change and save it just to change the status to Locally Modified and do a merge again and I will get something like that: <<<<<<< file.sql <<<<<<< file.sql SELECT * FROM XYZ; ======= SELECT * FROM XYZ ======= SELECT * FROM XYZ >>>>>>> 1.497 WHERE 1 = 1 AND <<<<<<< file.sql DATE IS NULL; >>>>>>> 1.497 ======= DATE IS NULL; >>>>>>> 1.497 Now what you need to do is call Resolve Conflict action and the exception is thrown. Product Version: NetBeans IDE Dev (Build 101116-94d64886daeb) Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03 System: Linux version 2.6.31-22-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 104267 [details] stacktrace Clicked a line in maven test output
Not actually an editor bug; stack trace I just (inadvertently) attached is maven output handling related; the other attached stack trace is in the PMD module. In both cases, the editor is innocent, it was just passed a non-existent line number. Probably DocumentLine.Set.offset() should throw this exception to avoid confusion.
(In reply to comment #6) > stack trace I just (inadvertently) attached is maven output handling related Maybe fixed in core-main #ef0ca13c80cf.
(In reply to comment #7) >> stack trace I just (inadvertently) attached is maven output handling related > > Maybe fixed in core-main #ef0ca13c80cf. And see bug #193603 where this is reported separately with more info.
Integrated into 'main-golden', will be available in build *201101090000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ef0ca13c80cf User: Jesse Glick <jglick@netbeans.org> Log: #155880: attempted fix of IOOBE.
Created attachment 106095 [details] stacktrace Commiting to the svn repository
Created attachment 106377 [details] stacktrace
Created attachment 109551 [details] stacktrace
I created separated bug reports for each component. It's problem on component sides. http://netbeans.org/bugzilla/show_bug.cgi?id=203435 http://netbeans.org/bugzilla/show_bug.cgi?id=203427 http://netbeans.org/bugzilla/show_bug.cgi?id=203432 http://netbeans.org/bugzilla/show_bug.cgi?id=203436 other bugs are repaired by maven fix.
(In reply to comment #13) > http://netbeans.org/bugzilla/show_bug.cgi?id=203435 BTW it suffices to write just bug #203435 which will get hyperlinked automatically.