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.

Bug 166228 - Exception occurs when re-registered a v3 server
Summary: Exception occurs when re-registered a v3 server
Status: RESOLVED DUPLICATE of bug 165957
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 02:09 UTC by davisn
Modified: 2009-05-29 17:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message.log (344.85 KB, text/plain)
2009-05-29 02:31 UTC, davisn
Details
messages.log file for window (350.68 KB, text/plain)
2009-05-29 03:07 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-05-29 02:09:55 UTC
-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)
Comment 1 davisn 2009-05-29 02:31:25 UTC
Created attachment 82953 [details]
message.log
Comment 2 _ pcw 2009-05-29 02:50:47 UTC
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.
Comment 3 davisn 2009-05-29 03:07:55 UTC
Created attachment 82955 [details]
messages.log file for window
Comment 4 Vince Kraemer 2009-05-29 06:07:46 UTC
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...
Comment 5 Petr Blaha 2009-05-29 09:33:52 UTC
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.
Comment 6 Petr Blaha 2009-05-29 09:34:50 UTC
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)
Comment 7 Petr Blaha 2009-05-29 09:37:06 UTC
Also, can't reproduce on Win XP that was reporter's default OS.
Comment 8 _ pcw 2009-05-29 17:02:59 UTC
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 ***
Comment 9 davisn 2009-05-29 17:31:31 UTC
Thanks everyone for looking into this problem