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.
See attached stack trace and ide.log to detailed description. It happens when IDE is switched from SDI to MDI mode. It is not easy reproducable. Follow steps in IDE Validation suite at http://qa.netbeans.org/man-suites/validation/ide/OverallValidation.html and it happens after 17.1 step.
Created attachment 8217 [details] IllegalArgumentException stack trace
Created attachment 8218 [details] IDE log
I have changed version from 4.0 dev to S1S 4.2 (Nevada).
In this case InstanceDataObject calls getName() on its instance ie. TopComponent instance can return empty string. IDO calls rename with this empty string on DataObject. I think IDO could omit this when its instance returns empty string from getName(). There is implicit requirement that instance cannot return empty string from getName(). In our usage of IDO we are not interested in synchronization of instance name and IDO name. We simply set unique name when we create it and we do not want/need to change it according to name of instance (TopComponent). We do not want to chnage API of TopComponent just because of way how IDO handles name of its instance. I do not know where is settings module in IZ so I assign this directly to J.Pokorsky.
There is the openide/settings subcomponent in IZ.
I see. Thx. :)
Check also the issue #25419, it seems to be a duplicate.
Yes you are right. I knew we already faced such problem but forgot about that issue. *** This issue has been marked as a duplicate of 25419 ***
Verified.