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 20080429222325) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Linux, 2.6.22-14-generic, i386 User Comments: ISE when saving in beaninfo editor for the second time. Steps to reproduce: 1) switch to designer tab of beaninfo 2) make any changes and save 3) make further changes and save
Created attachment 60848 [details] stacktrace
This issue is more serious than it looks for the first time. If I try to save the editor for the second time not only problem with exception occurs but finally the whole project is not possible to clean &build just due to the saving fault. I found only one solution to make project build-able again and this is: Close BeanInfo editor without saving which leads to data loss....therefore I increase the priority to P2. StackTrace: =========== java.lang.IllegalStateException at org.netbeans.modules.beans.beaninfo.GenerateBeanInfoAction$BeanInfoWorker.checkState(GenerateBeanInfoAction.java:287) at org.netbeans.modules.beans.beaninfo.GenerateBeanInfoAction$BeanInfoWorker.generateSources(GenerateBeanInfoAction.java:184) at org.netbeans.modules.beans.beaninfo.BIEditorSupport.saveDocument(BIEditorSupport.java:183) at org.netbeans.modules.beans.beaninfo.BIEditorSupport$Environment$SaveSupport.save(BIEditorSupport.java:640) at org.netbeans.core.ExitDialog.save(ExitDialog.java:186)
fixed as http://hg.netbeans.org/main/rev/986fba31f781
candidate for patch 3
Integrated into 'main-golden', available in NB_Trunk_Production #267 build Changeset: http://hg.netbeans.org/main/rev/986fba31f781 User: Jan Pokorsky <jpokorsky@netbeans.org> Log: #134221: fixed wrong worker state after generating source code
Please note that NetBeans 6.1 Patch3 cut-off is going to happen on close of business August 5th. If you would like to have bugfix for this issue as part of NetBeans 6.1 Patch3, then this issue must have information about bugfix' trunk changeset and it's status must be "VERIFIED".
verified
I've transplanted the changeset http://hg.netbeans.org/main/rev/986fba31f781 into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/04bc7705bc1f
verified in patch