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.

Bug 74355

Summary: MDRclassloader singleton causes problems when reloading
Product: java Reporter: pmoreau <pmoreau>
Component: UnsupportedAssignee: David Strupl <dstrupl>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Sample log file with exceptions while reloading model

Description pmoreau 2006-04-04 08:53:39 UTC
Hi all,

I am coming back on a previous post in the mailing list from Olivier Richaud:

<<I have an issue with reloading the same model within MDR. For example, I 
have a class A and I change its internal structure. Although I create a new 
instance of NBMDRepository, the reload of that class will fail.

Indeed, in BaseObjectHandler, the default class loader is a singleton which is 
not recreated, so that although I have a new instance of NBMDRepository, this 
doesn't help. One solution would be to attach the default class loader to an 
instance of NBMDRepository.>>

For now, the only workaround is to shutdown the application using MDR and then 
reload an updated model.
It is core to us to have this issue fixed, and thought it was under way.
If you need help to contribute, please let me know.

Regards,
Pierre
Comment 1 pmoreau 2006-04-04 10:09:59 UTC
Created attachment 29589 [details]
Sample log file with exceptions while reloading model
Comment 2 David Strupl 2010-09-23 09:14:48 UTC
I am closing all reports in category Java/Unsupported as wontfix. These should
be dead issues --- if the reported cases are against some live part of the
NetBeans IDE please reopen and we can discuss to which category they belong.