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: | org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: no handlers | ||
---|---|---|---|
Product: | serverplugins | Reporter: | sunbiz <sunbiz> |
Component: | Sun Appserver 9 | Assignee: | Vince Kraemer <vkraemer> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | abajja, aldobrucale, big_al, davisn, gholmer, giorgio42, jtulach, mmirilovic, mmocnak, pjiricka |
Priority: | P2 | Keywords: | ERGONOMICS, RANDOM |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=147818 | ||
Issue Type: | DEFECT | Exception Reporter: | 147818 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
sunbiz
2009-03-18 18:26:26 UTC
Created attachment 78402 [details]
stacktrace
Seems this could be GF related. Perhaps even ergonomics issue... Feel free to reassign back to me if you think it belongs to j2eeserver. this is related to issue 156351. The stack reads like the following is happening... while the ServerRegistry is being created there is a call to createInstancePropertiesWithoutUI, that has a URL that is not handled by any integration module that has been registered... so far. (basically, there is a race in the servers Map...) I am not sure that we can completely prevent this from happening... i have added some more diagnostic info to the exception message... maybe this will help us track this down. Build: NetBeans IDE Dev (Build 200902231810) VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153 OS: Mac OS X, 10.5.6, x86_64 User Comments: Opening the web.xml of the war project Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish v3 Prelude Domain. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:356) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:112) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:157) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:125) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:196) Created attachment 78494 [details]
stacktrace
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/10832181ad3d User: Vince Kraemer <vkraemer@netbeans.org> Log: #160579: not a fix. adding diagnostics OK. I am starting to see feedback that indicates that the instance is being registered BEFORE any j2eeserver server plugins have been registered... which is just plain strange... still looking for fix. Build: NetBeans IDE Dev (Build 200903310200) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.27-11-generic, amd64 User Comments: while opening file nb-quality/tools/nbclocCounter/support/src.sql Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:356) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:112) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:157) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:125) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:196) Created attachment 79136 [details]
stacktrace
vrakemer, isn't that an ergonomics related issue ? 29 duplicates in last 30 dates -> P2 Build: NetBeans IDE Dev (Build 200903310200) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.24-23-generic, i386 User Comments: First startup of 200903310200 after installation. New userdir, imported from 6.5. Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:356) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:112) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:157) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:125) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:196) Created attachment 79146 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200903310200) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-11-generic, i386 User Comments: Openin projects created with nb 6.5 Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:356) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:112) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:157) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:125) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:196) Created attachment 79158 [details]
stacktrace
regarding http://www.netbeans.org/issues/show_bug.cgi?id=160579#desc11 It is very likely that this is related to Ergonomics... but I haven't been able to replicate the issue, so making that determination is a hunch... not something that I can demonstrate and pass-off... Marking as P1. It's a stopper for M3 actually. Downgrading to P2 ;) it's not stopper for M3, but it should be nice to fix it for next M IDE works as expected after closing exceptions window - nasty but not a stopper for M3, definitely stopper for FCS. Build: NetBeans IDE Dev (Build 090327) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: SunOS, 5.11, x86 User Comments: Tried to create a new Java web application project. Exception happened while J2EE functionality was being activated. Stacktrace: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3. See the server log file for details. at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:356) at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.createInstancePropertiesWithoutUI(InstanceProperties.java:260) at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(JavaEEServerModuleFactory.java:112) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:157) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:125) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:196) Created attachment 79218 [details]
stacktrace
This has IMO same cause as issue 161146. GF is loading all instance in code creating the provider in order to register it. This leads to deadlock or race condition. likely fixed by http://hg.netbeans.org/web-main/rev/55b6b94e9165 Integrated into 'main-golden', will be available in build *200904071400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/55b6b94e9165 User: Vince Kraemer <vkraemer@netbeans.org> Log: #160579 161146 161885: races and deadlocks in startup processing change in main-golden |