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.
-InstanceCreationException occurs when re-add the pre-registered v3 prelude server -This problem does not happen with v2.1 and tomcat servers Steps To Reproduce: 1. Download and install NB from http://smetiste.czech.sun.com/builds/netbeans/6.7/rc1/2009-05-28_00-01-07 (select All version) 2. Expand Servers node -> select to remove GlassFish v3 Prelude server 3. Right-click on Servers node, select "Add Servers" menu to re-register the GlassFish v3 Prelude server (use the default location) Note: Exception message occurs as displayed below 4. If I create a web project, I will not be able to select the GlassFish v3 Prelude server in the server list org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: 12 handlers registered, no handlers for [E:\Program Files (x86)\sges-v3-prelude\glassfish]deployer:gfv3:localhost:4848 at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstanceImpl(ServerRegistry.java:458) at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(ServerRegistry.java:354) Caused: org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish v3 Prelude. 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:114) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateFactories(GlassfishInstance.java:165) at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(GlassfishInstance.java:180) at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(GlassfishInstance.java:132) at org.netbeans.modules.glassfish.common.GlassfishInstance.create(GlassfishInstance.java:211) at org.netbeans.modules.glassfish.common.wizards.ServerWizardIterator.instantiate(ServerWizardIterator.java:168) at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.instantiate(AddServerInstanceWizard.java:363) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1527) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1481) at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:127) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2052) at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:2101) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1456) at org.openide.WizardDescriptor.access$1300(WizardDescriptor.java:127) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:2108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:451)
Created attachment 82953 [details] message.log
From what I can tell from the stack trace, this should have be another manifestation of ( issue 162741 / issue 165957 ) and should have been resolved by the patch for those. Further, it is possible the build referenced above does not contain that fix (depends on when Vince pushed it to release67 clone). In a few hours, there will be a new release67 bundle that was built today (24 hours after the one mentioned above) and my understanding is this newer build will most certainly contain the fixes required so we should retest and see if the problem is still present. I suspect (hope?) it won't be.
Created attachment 82955 [details] messages.log file for window
if this is present in the build tomorrow, it does not appear to be an rc1 stopper. NOTE: I was seeing a similar exception today... but that was a build which did not have ALL the patches. Once I updated and created a clean build, I could not reproduce the exceptions...
I can't reproduce the issue in the latest RC1 candidate (build: 2009-05-28_22-43-49). I was able to remove and register GFv3 in IDE.
BTW, I ran the scenario on Product Version: NetBeans IDE 6.7 RC1 (Build 200905282243) Java: 1.6.0_14; Java HotSpot(TM) 64-Bit Server VM 14.0-b15 System: Windows Vista version 6.0 running on amd64; Cp1250; cs_CZ (nb)
Also, can't reproduce on Win XP that was reporter's default OS.
I couldn't reproduce this in the build from http://smetiste.czech.sun.com/builds/netbeans/6.7/rc1/2009-05-28_22-43-49/ (bundle from 24 hours later than above). I believe the original build didn't have the patch for issue 165957 and this should be closed as a duplicate of that one. *** This issue has been marked as a duplicate of 165957 ***
Thanks everyone for looking into this problem