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.
constructors.put (c, new SoftReference (proxyConstructor));
}
proxy = proxyConstructor.newInstance(new Object[] { this });
Object p;
try {
p = proxyConstructor.newInstance(new Object[] { this });
} catch (java.lang.NoClassDefFoundError err) {
// if for some reason the actual creation of the instance
// from constructor fails, try it once more using regular
// method, see issue 30449
p = Proxy.newProxyInstance (c.getClassLoader (), new Class[] { c }, this);
proxy = p;
} catch (Exception ex) {
IllegalStateException e = new IllegalStateException (ex.getMessage ());
ErrorManager.getDefault ().annotate (e, ex);