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.
NB 4.2 (200505221800) JDK 1.5.0_04 java.lang.NullPointerException at org.netbeans.modules.java.j2seproject.J2SEProjectUtil.getMainClasses(J2SEProjectUtil.java:118) is thrown when launching the application. The dialog asking for main class appears although the main class is setted in the properies of the project. Steps to reproduce: 1) open attached project 2) click the run button Note: the project was originaly using one additional library, but it doesn't work with it either, so I remove this library (for the source as well) to make it more simple. If it's important, i can attach the original project with the library.
Created attachment 22274 [details] exception
Created attachment 22275 [details] project
->java/j2seproject.
I think this is a dupe of something I filed recently? But I can't find it now. Anyway, I have also seen this exception just today on a fresh project. Don't know what causes it.
Yes, it is a duplicate of #59054 *** This issue has been marked as a duplicate of 59054 ***
veridied duplicate