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.
Build: NetBeans IDE Dev (Build 200903170201) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Linux, 2.6.27.19-3.2-pae, i386 User Comments: rgarske: Trying to execute View Data on a View from an Oracle database. This was from the Services window of the ide, on an open database connection. First there was an indication that BPEL was beeing aktivated, then came this exception. GUEST: activating Web applications davisn: 1. Install NB Trunk All version build, dated 02/19/2009 2. Launch the IDE 2. Select to activate GlassFish V2 server pluign While the activation is happing, select to activate GlassFish V3 Prelude server GUEST: Activating GlassFish v1,v2 in the Plugins yousef130: While using Execute Command, in jdbc for mysql connection GUEST: Started wizard for new web application pribyl: I activated J2EE plugin support after fresh instal of NB (I uninstalled previous version and both servers, deleted the userdir a downloaded latest build from the trunk). chrislundin: activating plugin "Glassfish v3 Prelude" sunbiz: Opening maven project threw this exception nclavreul: I'm trying to activate web server mjreged: Trying to turn on web plugins ihsiak: I have installed fresh full-java 6.7m2 install. Then I have opened exsiting web project. Ide displayed info "Activating java EE" in statusbar, then exception occured. GUEST: opening web.xml stroudcuster: Activating Web & J2EE plugins pribyl: I installed latest build ("Java", with J2EE support and server installation) and started with clean userdir. When I selected New Project - Java Web - Web Application, I was prompted to activate the appropriate module. After hitting "Activate" button, this NPE was thrown. Note: I had some issues with Glasfish v3 before, so I uninstall it with the IDE and tried to reinstall it. Obviously, there is still something wrong with that. 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 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