Netbeans crashes when creating a JPanel form
Bug #486866 reported by
Tiiba
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netbeans (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: netbeans
Package: netbeans 6.7.1
System: Ubuntu 9.10 production release, x86-32
Java: java-6-sun
I installed NetBeans and opened a project. Then I right-clicked on its main source package and tried to add a JPanel form. I saw the wizard, gave the form a name, and clicked OK. The wizard should create a file with the code of an empty JPanel. Instead, it greyed all the buttons and just sat there looking pretty. I used the Force Quit applet to kill it, downloaded NetBeans from the official site (a .sh file), and installed it. Did the same thing, and it worked like it's supposed to.
To post a comment you must log in.
I can't reproduce your problem exactly. IDE creates a file with code of an empty JPanel. But an exception [1] is thrown. src/org/ netbeans/ modules/ swingapp/ resources/ layer.xml" file [2].
As far as I understand the reason of the exception is an absence of "form.j2ee" module in the stripped ide configuration: lines 66-80 in "./swingapp/
Marek, what is your opinion? is such situation critical? Can we fix it somehow?
[1]: modules. swingapp. templates. ConfigureProjec tVisualPanel$ 1]: org.netbeans. modules. form.j2ee. wizard. MasterDetailWiz ard starting from SystemClassLoad er[221 modules] with possible defining loaders null and declared parents [ModuleCL@ 1c18a4c[ org.netbeans. modules. ant.freeform] , ModuleCL@ 18a9fc8[ org.netbeans. modules. projectimport. eclipse. j2se], ModuleCL@ 12c5431[ org.netbeans. modules. editor. indent] , ModuleCL@ 15b0e2c[ org.netbeans. modules. xml.xdm] , ModuleCL@ 5b675e[ org.netbeans. modules. xml], ModuleCL@ 167d7fb[ org.netbeans. modules. options. api], ModuleCL@ 1779885[ org.netbeans. modules. defaults] , ModuleCL@ cb42cf[ org.netbeans. modules. utilities. project] , ModuleCL@ 1f82ab4[ org.netbeans. modules. xml.tax] , ModuleCL@ 457d21[ org.netbeans. modules. java.project] , ...206 more] ClassNotFoundEx ception: org.netbeans. modules. form.j2ee. wizard. MasterDetailWiz ard URLClassLoader$ 1.run(URLClassL oader.java: 200) AccessControlle r.doPrivileged( Native Method) URLClassLoader. findClass( URLClassLoader. java:188) ClassLoader. loadClass( ClassLoader. java:307) Launcher$ AppClassLoader. loadClass( Launcher. java:301) ClassLoader. loadClass( ClassLoader. java:252) ClassNotFoundEx ception: org.netbeans. modules. form.j2ee. wizard. MasterDetailWiz ard starting from SystemClassLoad er[221 modules] with possible defining loaders null and declared parents [ModuleCL@ 1c18a4c[ org.netbeans. modules. ant.freeform] , ModuleCL@ 18a9fc8[ org.netbeans. modules. projectimport. eclipse. j2se], ModuleCL@ 12c5431[ org.netbeans. modules. editor. indent] , ModuleCL@ 15b0e2c[ org.netbeans. modules. xml.xdm] , ModuleCL@ 5b675e[ org.netbeans. modules. xml], ModuleCL@ 167d7fb[ org.netbeans. modules. options. api], ModuleCL@ 1779885[ org.netbeans. modules. defaults] , ModuleCL@ cb42cf[ org.netbeans. modules. utilities. project] , ModuleCL@ 1f82ab4[ org.netbeans. modules. xml.tax] , ModuleCL@ 457d21[ org.netbeans. modules. java.project] , ...206 more] ProxyClassLoade r.loadClass( Unknown Source) ClassLoader. loadClass( ClassLoader. java:252) modules. swingapp. templates. ConfigureProjec tVisualPanel$ 1.createNodes( Unknown Source) nodes.FilterNod e$Children$ LazySupport$ FilterNodeEntry .nodes( Unknown Source) nodes.EntrySupp ort$Lazy$ EntryInfo. getNode( Unknown Source) nodes.EntrySupp ort$Lazy$ EntryInfo. getNode( Unknown Source) nodes.EntrySupp ort$Lazy. getNodes( Unknown Source) nodes.Children. getNodes( Unknown Source) nodes.FilterNod e$Children$ LazySupport. callGetNodes( Unknown Source) nodes.FilterNod e$Children. getNodes( Unknown Source) modules. swingapp. templates. ConfigureProjec tVisualPan. ..
INFO [org.netbeans.
java.lang.
at java.net.
at java.security.
at java.net.
at java.lang.
at sun.misc.
at java.lang.
Caused: java.lang.
at org.netbeans.
[catch] at java.lang.
at org.netbeans.
at org.openide.
at org.openide.
at org.openide.
at org.openide.
at org.openide.
at org.openide.
at org.openide.
at org.netbeans.