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 7801 - Exception - parsing sources from CVS filesystem
Summary: Exception - parsing sources from CVS filesystem
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-03 17:14 UTC by Petr Slegr
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (2.70 KB, text/plain)
2000-10-03 17:19 UTC, Petr Slegr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Slegr 2000-10-03 17:14:06 UTC
[1114]

My consecution:
1) There was a package on CVS with several sources (some of them weren't
compilable)
2) I deleted all files from the package externally.
3) Switched back to the IDE and waited until files weren't marked as bad parsed
4) Tried open one of them and exception saying checkout needed. But empty editor
 will be opened. Let it AS IS.
5) Perform checkout of whole package.
6) Again open the SAME file. Message about external modification will appear and
after it also ArrayIndexOutOfBoundsException will occurr.
Comment 1 Petr Slegr 2000-10-03 17:19:59 UTC
Created attachment 183 [details]
stack trace
Comment 2 Svata Dedic 2000-10-03 17:28:59 UTC
No need to send messages to bugs@openide - this is a Java parser's bug according
to the stacktrace.
Comment 3 Svata Dedic 2000-10-11 12:00:59 UTC
From the stacktrace, I assume that you had compiled some of the source in the
package before you deleted them. I do not know what miracle was made, but the
IDE opened a .class file in the package, then failed to read it (bad structure
or whatever).
The compiler's implementation *may* indeed throw ArrayIndexOutOfBounds on
invalid .class files, for example on truncated ones - and stops compiling
entirely.
Comment 4 Jan Becicka 2001-02-22 13:54:01 UTC
[010221_2] Verified
Comment 5 Quality Engineering 2003-07-02 17:19:39 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.