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 10847 - Erroneous error during parsing if discard java source file
Summary: Erroneous error during parsing if discard java source file
Status: CLOSED FIXED
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-03-29 21:29 UTC by ssffleming
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssffleming 2001-03-29 21:29:19 UTC
Testing using Pilsen build 010328 on NT 4.

Steps to reproduce:

1.  Open a java source file that compiles ok.

2.  Add some bogus text such that a compilation error would occur.

3.  Close the source editor window.  Select "discard" when the pop-up
asks whether you want to save changes.

>  You will see a parsing error indicated in the explorer window for the
node of this source file.

Workaround to clear the error indication is to re-open the source file
and close it again.
Comment 1 Svata Dedic 2001-03-30 12:23:54 UTC
Clearly incorrect timing between the parser reading source and the editor
closing its document.
Comment 2 Svata Dedic 2001-04-19 15:26:06 UTC
Fixed - I invalidated parser's data before scheduling th post-close parsing.
Comment 3 Svata Dedic 2001-04-20 17:32:11 UTC
Merged.
Comment 4 Jan Becicka 2001-04-26 10:57:38 UTC
[NB3.2.38] Verified
Comment 5 Jan Chalupa 2001-05-05 23:27:04 UTC
Target milestone -> 3.2
Comment 6 Quality Engineering 2003-07-01 13:14:49 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.