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.
This error message has never been friendly, but in build 20020425100, executing a misconfigured source gives you a dialog that says: "java.lang.reflect.Modifier.isPublic(private static void org.netbeans.modules.java.imptool.SettingsPaneLmain(java.lang.String[]))=false" Yipes!
Sorry, what's a misconfigured source ? Something which has no "main" method ? Wrong executor ? (which one ?)
Looks like I tried to execute a class that had a private main() method - just a silly mistake. But it would be better, when catching this exception, to test for the condition (and also non-static main method) and say something like "The main() method of this class is incorrectly defined and cannot be executed. The proper signature is..."
Fixed in trunk. Check added to JavaProcessExecutor and JavaThreadExecutor.
Verified in 200210090100
Resolved for 3.4.x or earlier, no new info since then -> closing.