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.
Summary: | NullPointerException: The delegate parameter cannot be null | ||
---|---|---|---|
Product: | serverplugins | Reporter: | emiddio <emiddio> |
Component: | Infrastructure | Assignee: | Petr Hejl <phejl> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | adam_myatt, alexript, arthurbuliva, cjoasis, dwuysan, emiddio, giorgoch, hannerortiz, isantolin, jrechtacek, mclaborn, pjiricka, sahane |
Priority: | P1 | ||
Version: | 7.0.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 179674 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace |
Description
emiddio
2011-07-02 22:56:31 UTC
Created attachment 109216 [details]
stacktrace
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=179674 Created attachment 110091 [details]
stacktrace
Created attachment 110093 [details]
stacktrace
Created attachment 110677 [details]
stacktrace
on startup
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=179674 The whole thing looks like problem with update. Before this particular exception there is instantiating exception in the log. The only explanation I have for this is there is old layer.xml used, but new classes. So non existent method is called. I'm not able to reproduce this so far :/ Created attachment 110716 [details]
stacktrace
(In reply to comment #7) > The whole thing looks like problem with update. Before this particular > exception there is instantiating exception in the log. The only explanation I > have for this is there is old layer.xml used, but new classes. So non existent > method is called. > > I'm not able to reproduce this so far :/ Petre, I'm sorry I haven't seen any reason why update is involved here, no suspected messages or steps containing updates. I have no place what I should fix. Try find some of reporters who can reproduce it and ask him for steps causing it. Btw, what does mean a warning below? Could this be a cause of problem? WARNING [glassfish-eecommon]: Cannot identify version of target application server. Defaulting to 'GlassFish Server 3.0' for descriptor files. INFO [org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils]: investigate java.lang.Exception at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.getDeploymentManager(ResourceUtils.java:1129) ... For the record. The real cause is following: java.lang.InstantiationException: org.netbeans.modules.tomcat5.ide.OptionalFactory.create50 at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.methodValue(core.jar:670) at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(core.jar:556) at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(core.jar:402) at org.openide.filesystems.MultiFileObject.getAttribute(org-openide-filesystems.jar:911) at org.openide.filesystems.MultiFileObject.getAttribute(org-openide-filesystems.jar:844) at org.openide.filesystems.MultiFileObject.getAttribute(org-openide-filesystems.jar:907) at org.openide.filesystems.MultiFileObject.getAttribute(org-openide-filesystems.jar:844) at org.openide.filesystems.MultiFileObject.getAttribute(org-openide-filesystems.jar:772) at org.netbeans.core.startup.layers.BinaryFS$FileMap.get(core.jar:981) at org.netbeans.modules.j2ee.deployment.plugins.spi.support.ProxyOptionalFactory.getDelegate(org-netbeans-modules-j2eeserver.jar:167) at org.netbeans.modules.j2ee.deployment.plugins.spi.support.ProxyOptionalFactory.isCommonUIRequired(org-netbeans-modules-j2eeserver.jar:95) at org.netbeans.modules.j2ee.deployment.impl.bridge.ServerWizardProviderLookup.createBridgingInstance(org-netbeans-modules-j2eeserver.jar:69) at org.netbeans.modules.j2ee.deployment.impl.bridge.ServerWizardProviderLookup.createBridgingInstance(org-netbeans-modules-j2eeserver.jar:52) at org.netbeans.modules.j2ee.deployment.impl.bridge.AbstractServerLookup.stateChanged(org-netbeans-modules-j2eeserver.jar:160) at org.netbeans.modules.j2ee.deployment.impl.bridge.AbstractServerLookup.init(org-netbeans-modules-j2eeserver.jar:137) at org.netbeans.modules.j2ee.deployment.impl.bridge.AbstractServerLookup.beforeLookup(org-netbeans-modules-j2eeserver.jar:117) at org.openide.util.lookup.AbstractLookup$R.beforeLookup(org-openide-util-lookup.jar:1126) at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(org-openide-util-lookup.jar:676) at org.openide.util.lookup.ProxyLookup$R.beforeLookup(org-openide-util-lookup.jar:687) at org.openide.util.lookup.ProxyLookup$R.myBeforeLookup(org-openide-util-lookup.jar:676) at org.openide.util.lookup.ProxyLookup$R.computeResult(org-openide-util-lookup.jar:526) at org.openide.util.lookup.ProxyLookup$R.allItems(org-openide-util-lookup.jar:517) at org.netbeans.modules.server.ServerRegistry.getInstance(org-netbeans-modules-server.jar:84) at org.netbeans.modules.server.ui.node.RootNode$ChildFactory$1.run(org-netbeans-modules-server.jar:185) at org.openide.util.RequestProcessor$Task.run(org-openide-util.jar:1424) at org.openide.util.RequestProcessor$Processor.run(org-openide-util.jar:1968) The problem is there is no org.netbeans.modules.tomcat5.ide.OptionalFactory.create50 in both layer.xml and OptionalFactory class. Perhaps this is the issue with old plugin portal module for Tomcat 5. Reporters can you confirm that? The issue should disappear when this module is uninstalled in 7.1 (Tomcat 5 should be available even without this module in 7.1). I'm working on a fix for 7.1. Should be fixed in web-main 85a82c7a9e82. Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/85a82c7a9e82 User: phejl@netbeans.org Log: #199861 NullPointerException: The delegate parameter cannot be null *** Bug 204622 has been marked as a duplicate of this bug. *** |