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.
Build: NetBeans IDE Dev (Build 201202170400) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: Chiana: Opened a panel file (JPanel .java+.form) file in a fresh install (very fresh, everything inkluding JDK newly installed) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.FormJavaSource.getFormClassName(FormJavaSource.java:167) at org.netbeans.modules.form.FormJavaSource.getSuperClassName(FormJavaSource.java:192) at org.netbeans.modules.form.FormEditor.loadOnBackground(FormEditor.java:290) at org.netbeans.modules.nbform.FormDesignerTC$PreLoadTask.run(FormDesignerTC.java:255) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1404) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1984)
Created attachment 115906 [details] stacktrace
The attached exception shows that ClassPath.getClassPath(javaFile, ClassPath.SOURCE) was null. This should not happen. It was probably some failure of Java or project infrastructure. If I understand correctly then this issue is related to 208602 and has been resolved by the steps mentioned at the end of the issue.