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 48644 - Class not found in index - Recovering exception
Summary: Class not found in index - Recovering exception
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows 3.1/NT
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords: REGRESSION
: 48646 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-08 09:03 UTC by Jan Chalupa
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
System info and exception stack trace (11.96 KB, text/plain)
2004-09-08 09:04 UTC, Jan Chalupa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2004-09-08 09:03:12 UTC
[dev-200409071800; JDK 1.5.0 rc b63]

I started the IDE with a clean userdir and created
a new project with default Main class. I waited
until the classpath scanning finished and then
started editing the Main.java file in editor.
Almost immediately a "Class not found in index:
Main. Recovering..." exception was thrown,
followed by an IOE. Pretty frustrating experience.

System info and exception stack traces attached.
Comment 1 Jan Chalupa 2004-09-08 09:04:02 UTC
Created attachment 17463 [details]
System info and exception stack trace
Comment 2 Jan Chalupa 2004-09-08 09:04:37 UTC
I'll try to find a reproducible test case.
Comment 3 Jan Chalupa 2004-09-08 09:31:43 UTC
Reliably reproducible when I type some unparseable garbage anywhere
above the class' 'package' declaration. As soon as the edited file is
parsed, the exception is thrown.

Not reproducible with build 20040905, so this must be a regression.
Comment 4 Jan Becicka 2004-09-08 09:36:15 UTC
*** Issue 48646 has been marked as a duplicate of this issue. ***
Comment 5 Jan Becicka 2004-09-08 09:51:07 UTC
Flaskin changed level of debug messages. He will look at it.
Comment 6 Pavel Flaska 2004-09-08 10:46:33 UTC
It is my fault. In notify() method I used ErrorManager.WARNING
severity, which I thought is not reported to the user. Javadoc says:
"Something went wrong in the software, but it is continuing and the
user need not be bothered."
Comment 7 Jan Becicka 2004-09-08 10:50:32 UTC
> "Something went wrong in the software, but it is continuing and the
user need not be bothered."

Openide guys, you should change javadoc, shouldn't you?
Comment 8 Pavel Flaska 2004-09-08 11:01:38 UTC
Javadoc is correct, but seems to me that it could clarify things more.
(Of course I should have try it first.)
Comment 9 Pavel Flaska 2004-09-08 13:09:17 UTC
Fixed in QBE200409071800 and trunk.

Checking in src/org/netbeans/modules/javacore/ExclusiveMutex.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/ExclusiveMutex.java,v
 <--  ExclusiveMutex.java
new revision: 1.26.2.1; previous revision: 1.26
done
Processing log script arguments...
More commits to come...
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/LightAttrList.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/LightAttrList.java,v
 <--  LightAttrList.java
new revision: 1.9.2.1; previous revision: 1.9
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java,v
 <--  MetadataElement.java
new revision: 1.27.2.1; previous revision: 1.27
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java,v
 <--  SemiPersistentElement.java
new revision: 1.34.2.1; previous revision: 1.34
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/TransientElement.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/TransientElement.java,v
 <--  TransientElement.java
new revision: 1.8.2.1; previous revision: 1.8
done
Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/UnresolvedClassClassImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/UnresolvedClassClassImpl.java,v
 <--  UnresolvedClassClassImpl.java
new revision: 1.6.2.1; previous revision: 1.6
done
Processing log script arguments...
More commits to come...
Checking in src/org/netbeans/modules/javacore/parser/MDRParser.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/parser/MDRParser.java,v
 <--  MDRParser.java
new revision: 1.48.2.1; previous revision: 1.48
done
Processing log script arguments...
Comment 10 Jan Chalupa 2004-09-13 08:24:57 UTC
Verified in q-build #200409100847.

I still get the 'Class not found in index' exception stack trace in
the console. This should go away for Beta 2.
Comment 11 Quality Engineering 2007-09-20 09:51:37 UTC
Reorganization of java component