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 Beta 2 (Build 200710212201) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 51699 [details] stacktrace
StackTrace for better query: ============================ java.lang.NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutDesigner.imposeCurrentContainerSize(LayoutDesigner.java:3458) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updatePositions(LayoutDesigner.java:162) at org.netbeans.modules.form.layoutdesign.LayoutDesigner.updateCurrentState(LayoutDesigner.java:100) at org.netbeans.modules.form.FormDesigner.updateComponentLayer(FormDesigner.java:521) at org.netbeans.modules.form.FormDesigner.access$1900(FormDesigner.java:100)
Looks like issue 77092 which was supposed to be fixed already. Haven't you opened some old form (created in a previous version of NetBeans)? Or was the GUI form created in NB 6.0? Could you attach it here (both .form and .java file). If you can reproduce the problem, please also attach full IDE log (View | IDE Log File). Thanks
No additional information provided => closing as WORKSFORME.
THIS ISSUE HAS ALREADY 5 DUPLICATES
Reopening - reproduced in NetBeans IDE 6.1 (Build 200804211638) http://statistics.netbeans.org/exceptions/detail.do?id=132505
Any steps how to reproduce would be really appreciated.
No additional info provided since the last reopening -> closing again as worksforme
Just draging some panels around on the screen caused this issue to occur. I was trying to revert a panel drag by CTRL-Z and then the form went blank. I then closed the design tab (no to save changes) and opened it and got this issue. When I restarted Netbeans my form returned prior to my last edit.
I am attempting to re-create this issue, but the exact step of changes seems to have some sort of pattern I cannot define. The issue is caused primarily when doing drag and drop of panels within panels. I'm hoping that the stacktrace points to areas that might be the issue. Please let me know if there is any specific testing that I can do to help identify this root cause.
The exception is very general,meaning that the internal consistency of the layout model is somwhat corrupted, but it is not possible to tell what caused that. We'd need a GUI form on which we could reproduce the exception. I.e. GUI form still in a good state as close as possible to situation when it happens. Usually saving the form when the exception happens is ok, because the GUI builder reverts the operation interrupted by exception.