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 18906 - Parser error when java source is opened in editor.
Summary: Parser error when java source is opened in editor.
Status: CLOSED DUPLICATE of bug 18584
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-21 17:32 UTC by herkules
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
One TAB changes parser behavior (211 bytes, text/plain)
2002-01-02 13:47 UTC, herkules
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herkules 2001-12-21 17:32:02 UTC
Since 3.3, when opening certain Java files in the editor, obviously a parser 
error occurs. In the Explorers treeview, the fields/constructors/methods 
subtrees are all replaced by an 'error' icon.
When closing the source file editor, the error icon disappears again.

Compiling, of course, works fine - the files in fact are OK.

This happens for about 30% of my Java files but never showed before 3.3.

I observed it on two machines @work (W2K,jdk1.3.1 and 1.4b) and @home (W98, 
jdk1.3.1).
Comment 1 herkules 2001-12-26 16:22:41 UTC
Seems having to do with indention. In one case I could remove the 
error by just removing a 'TAB' character in front of a '}'.
Comment 2 herkules 2002-01-02 11:15:57 UTC
Seems to be related to TAB characters. No TABs, no probs.
Comment 3 Miloslav Metelka 2002-01-02 13:34:55 UTC
I have created file with TABs but the problem did not occur. Could you
please attach some problematic file? Thanks.
Reassigning to java module.
Comment 4 herkules 2002-01-02 13:47:12 UTC
Created attachment 3948 [details]
One TAB changes parser behavior
Comment 5 Jan Becicka 2002-01-02 14:01:56 UTC

*** This issue has been marked as a duplicate of 18584 ***
Comment 6 Quality Engineering 2003-07-01 13:11:16 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-07-01 13:14:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.