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 6.0 (Build 200711261600) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Linux, 2.6.22-14-generic, i386 User Comments: Reloading a form.
Created attachment 54865 [details] stacktrace
I am sorry, I am not able to reproduce this issue and the exception is not sufficient to track the problem down. Are you still able to reproduce it? If so, could you, please, attach the .java and .form file of the problematic form. Thank you in advance.
I can't reproduce it too. :( I just know that I reset to default value the JScrollPane preferredsize property and try to do a Reload Form action. I will try more use cases asap, since I have some SingX components on the referred view and no way to test this now. Regards.
Closing as non-reproducible for now, but feel free to reopen it if/when you are able to provide steps to reproduce.
The problem is happen several times. I am attaching a example project which you can simulate it. The problem just occur when my panel extends another panel, as you can see. Regards.
I am increasing the priority since I have data loss and the workaround is edit tha generated code by hand.
Created attachment 55068 [details] NetBeans simple project to simulate the error. Error happens always you try to save the form.
I created the follow BeanInfo for my class AND all works now: public class TarefaPaneBeanInfo extends SimpleBeanInfo { public BeanDescriptor getBeanDescriptor() { BeanDescriptor desc = new BeanDescriptor(TarefaPane.class); desc.setValue("containerDelegate", "getContentPane"); return desc; } } Why NetBeans don't use the BeanInfo from super class?
Fixed, the attached form can be saved by now. Modified file: /cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java new revision: 1.206; previous revision: 1.205
There is a way to make a patch to 6.0? This error are taking a long time for me, maybe for another users who will use SwingX on nb too. Regards.
verified Product Version: NetBeans IDE Dev (Build 200804040802) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)