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 47593 - Class not found in index printed to the console
Summary: Class not found in index printed to the console
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
: 48044 53983 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-20 20:20 UTC by Jesse Glick
Modified: 2010-09-23 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace referring to projectless source file (1.37 KB, text/plain)
2004-08-20 20:21 UTC, Jesse Glick
Details
copy it to an empty file and exceptio in console appears (7.30 KB, text/plain)
2005-01-05 09:58 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-08-20 20:20:48 UTC
In trying to reproduce issue #47592, I shut down
the IDE while the file DiffProvider.java was open
in the editor. I got a stack trace on the console
as the IDE shut down.
Comment 1 Jesse Glick 2004-08-20 20:21:19 UTC
Created attachment 16998 [details]
Stack trace referring to projectless source file
Comment 2 Martin Matula 2004-08-20 22:59:16 UTC
This is not an exception, it is an informational stacktrace. Should be
harmless, but probably should not happen. Do you remember if it was
printed out before or after the Main window disappeared?
Comment 3 Jesse Glick 2004-08-20 23:10:07 UTC
Stack trace, fine. :-)

Sorry, don't remember exactly, but I believe the main window was
already closed at the time it appeared.
Comment 4 Martin Matula 2004-08-20 23:16:26 UTC
The stacktrace is produced by Thread.dumpStack().

Due to the order in which modules are shut down, it can happen that
javacore tries to access MDR after MDR was shut down. We cannot throw
exception in such case and it is hard to ignore calls to MDR, so we
try to serve them, but the database and indexes are already all
flushed to the disk and nothing that happens after that is persisted.
So it shouldn't cause any inconsistency for the next run of the IDE
thus should be harmless.
Comment 5 Martin Matula 2004-08-27 10:03:10 UTC
*** Issue 48044 has been marked as a duplicate of this issue. ***
Comment 6 Lukas Hasik 2005-01-05 09:57:41 UTC
happend to me today.
i had a empty class opened in editor, I copied the class body (in
attachment) to the editor and exception appeared.

-reproducible - create a empty file aaaaaa.java in a project, copy
attached text to it, exception in console appears
Comment 7 Lukas Hasik 2005-01-05 09:58:36 UTC
Created attachment 19483 [details]
copy it to an empty file and exceptio in console appears
Comment 8 ehucka 2005-01-11 13:13:40 UTC
old target milestone, please re-evaluate
Comment 9 Max Sauer 2005-08-11 10:11:34 UTC
*** Issue 53983 has been marked as a duplicate of this issue. ***
Comment 10 Martin Matula 2005-08-18 11:02:07 UTC
The exceptions during shutdown are duplicates of issue 61910. Changing summary
of this issue to cover the testcase provided by lhasik.
Comment 11 David Strupl 2010-09-23 09:14:13 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.