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 100859 - ArrayIndexOutOfBoundsException on Paste
Summary: ArrayIndexOutOfBoundsException on Paste
Status: RESOLVED DUPLICATE of bug 99661
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 22:57 UTC by _ pcw
Modified: 2007-04-20 08:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (3.72 KB, text/plain)
2007-04-12 22:58 UTC, _ pcw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2007-04-12 22:57:54 UTC
I copyied a file from one project to another (required package change as well)
and received an ArrayIndexOutOfBoundsException (full trace attached).

java.lang.ArrayIndexOutOfBoundsException: 1
        at com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:149)
        at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63)
        at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1122)
        at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:514)
        at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:651)
        at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1884)
        at
org.netbeans.modules.java.source.usages.SymbolClassReader.fillInImpl(SymbolClassReader.java:154)
        at
org.netbeans.modules.java.source.usages.SymbolClassReader.fillIn(SymbolClassReader.java:133)
Comment 1 _ pcw 2007-04-12 22:58:41 UTC
Created attachment 40862 [details]
stack trace
Comment 2 Jan Lahoda 2007-04-20 08:44:03 UTC
Seems like a duplicate of issue #99661. Thanks for the report.

*** This issue has been marked as a duplicate of 99661 ***