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.
Steps to reproduce 1) New Project -> Netbeans Modules -> Netbeans Platform Application (DemoApplication) 2) DemoApplication -> Modules -> Add new (DemoModule) 3) DemoModule -> New -> Window Component (Open when application starts) 4) Run the application 5) Open the window in target 5) Add jLabel to the Window Component 6) Install/reload in target platform After install/reload the window is closed in the target plaform and in cannot be opened again In the messages.log of the target platform there are NoClassDefFoundException s. When I try the same procedure in windows, everything works fine. The
Created attachment 73847 [details] messages.log target platform
reassigning to apisupport for evaluation
"Install/Reload in Target Platform" works for some things but not everything. Probably this is a bug in the window system impl. Whether it is feasible to fix it is another question.
I want to stress the fact the same "Install/Reload in Target Platform" works in Windows XP. I'm only experiencing this issue in Mac OS X Leopard.
I am able to reproduce it in latest build: Product Version: NetBeans IDE Dev (Build 200811180201) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb) Userdir: /Users/petr/.netbeans/dev
Issue 153282 could be related or have a common source problem.
*** Issue 153282 has been marked as a duplicate of this issue. ***
I tried with Netbeans 6.5 and although the result is the same "the window is closed in the target plaform and in cannot be opened again", there is no NoClassDefFoundException in the messages.log. See messages_65_1.5.0.log Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb) Userdir: /Users/ecerulm/.netbeans/6.5
Created attachment 76275 [details] netbeans 6.5 and java 1.5.0_16
Trying the same thing using Netbeans 6.5 and java 1.6.0_07 yields different messages.log (the window is not closed down but it's still not updated). See attached logs at messages_6.5_1.6.0_07.log Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57 System: Mac OS X version 10.5.6 running on x86_64; MacRoman; en_US (nb) Userdir: /Users/ecerulm/.netbeans/6.5
Created attachment 76276 [details] netbeans 6.5 and java 1.6.0_07
You are advised to not use Reload in Target Platform if you encounter any problems with it. Some things work, some don't.
I've just tried to reload modified top component in 7.2. I had to close it and open new one, but yes, I can see it. Marking worksforme.