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 15254 - ide endless loop on parse of .java file
Summary: ide endless loop on parse of .java file
Status: CLOSED DUPLICATE of bug 12732
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-07 15:43 UTC by René Vincent Jansen
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
jvm message followed by offending generated java source (1.58 KB, text/plain)
2001-09-07 15:45 UTC, René Vincent Jansen
Details
re-attach; probably did not save it after appending source, sorry. (83.43 KB, text/plain)
2001-09-07 16:02 UTC, René Vincent Jansen
Details
the ide log file, not compressed because the proxy overhere does not allow it. (598.72 KB, text/plain)
2001-09-11 09:44 UTC, René Vincent Jansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René Vincent Jansen 2001-09-07 15:43:47 UTC
We (our team of 2) noticed a severe slowdown on our NetBeans ide; cpu grew to 
100% when machine untouched. This bogged down development, so we spent the day 
trying to figure it out. We found that the ide loops on parsing a .java file 
(which I will attach). The jvm message (repeated infinitely if not stopped) is
java.lang.StringIndexOutOfBoundsException: String index out of range: -991
which is emitted from JavaParserEngine.

NOTE: this is a generated .java file; we can do without it and eliminating it 
is a workaround for this problem. Still, it is probably better to fix it.
Comment 1 René Vincent Jansen 2001-09-07 15:45:36 UTC
Created attachment 2445 [details]
jvm message followed by offending generated java source
Comment 2 Petr Nejedly 2001-09-07 15:55:35 UTC
Great, AFAIK Svata is looking for a file causing this behaviour
for a long time, so it would be great if you really attach it. 
Comment 3 René Vincent Jansen 2001-09-07 16:02:54 UTC
Created attachment 2449 [details]
re-attach; probably did not save it after appending source, sorry.
Comment 4 Svata Dedic 2001-09-10 18:38:53 UTC
Please can you attach IDE log file from the build, which has caused 
it ?

Comment 5 René Vincent Jansen 2001-09-11 09:44:32 UTC
Created attachment 2489 [details]
the ide log file, not compressed because the proxy overhere does not allow it.
Comment 6 Svata Dedic 2001-09-11 12:16:14 UTC
I just wanted to be sure if the bug didn't appear again. It was 
already fixed for 3.3 as issue #12732


*** This issue has been marked as a duplicate of 12732 ***
Comment 7 Quality Engineering 2003-07-01 13:11:52 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 8 Quality Engineering 2003-07-01 13:21:27 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.