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 13561 - Unparseable source.
Summary: Unparseable source.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-12 14:11 UTC by Jan Lahoda
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception thrown (1.30 KB, text/plain)
2001-07-12 14:12 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2001-07-12 14:11:48 UTC
The result of following steps is that IDE parser is not able to parse the source
although it is possible to compile to file without errors.
1. Take some compileable source with import statements.
2. Inside the import section write "import<ENTER>" (without class name).
3. Save the source (to force re-parsing).
4. This source is not parseable, which is correctly detected. Exception
(attached) is thrown
to the console.
5. Now, remove errorneous import statement and save the file again.
6. The file is compilable.
7. Each time parsing occurs, the attached exception is thrown. The file is
shown as unparseable "for ever". Source hiearchy does not exist.

The workaround is to comment out whole import section, reparse source and
uncomment the
import section again.
Seen on Pilsen 010711_1 EE.
Comment 1 Jan Lahoda 2001-07-12 14:12:39 UTC
Created attachment 1861 [details]
Exception thrown
Comment 2 Tomas Hurka 2001-07-12 14:22:07 UTC
accepted
Comment 3 Tomas Hurka 2001-07-16 10:54:59 UTC
fidex in trunk
Comment 4 Jan Becicka 2001-09-19 09:33:23 UTC
[200109190100] Verified
Comment 5 Marek Grummich 2002-07-19 16:25:34 UTC
Target milestone was changed from not determined to TBD
Comment 6 Quality Engineering 2003-07-01 13:19:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.