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.
The newest q-build complains, that the main class for the project is not set, if I want to start debugging the project. Beta 1 did not complain. But the main class is set and this class is even selectable in the dialog for setting the main class. Still NB does not recognize it. It works with some other class, but I don't know why. Maybe it has something to do with the class having inner classes. Using netbeans-4_0-qbuild-bin-200409100847-10_Sep_2004_0847.zip, JDK 1.4.2_05.
Please try to delete var/cache/mdrstorage in your userdir after you shutdown IDE and try if you can set main class then (expect longer startup classpath scanning).
That helped. I did not even have to reset the main class (it was already set by typing in manually in project properties), it just works now. Thanks! You can close the bug. But maybe Beta 2 should delete the cache itself upon first start.
beta2 will use a different userdir
Sorry, but that resolution is tooo easy. There is some problem that repository loses main class attribute (or how do you want to call it) and this is not the only report of this problem. It's hard to reproduce - it usually happens after some time of working with IDE, but after that user is not able to run the project. Well, user will have different userdir in Beta2, it might fix the problem for couple of days but it won't fix the problem in repository.
you're saying that mdrstorage gets corrupted randomly after some days? So it's in java or mdr module. But java/project should try to be more defensive against case like this. I don't know if it's possible. CC tzezula and jglick
*** This issue has been marked as a duplicate of 48489 ***