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 162177 - Exception occurs when remove GF V3 Prelude Server
Summary: Exception occurs when remove GF V3 Prelude Server
Status: RESOLVED DUPLICATE of bug 161832
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 22:49 UTC by davisn
Modified: 2009-04-08 00:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-04-07 22:49:31 UTC
InstanceRemovedException occurs when right-click to select Properties menu at the Webmodule project with having V3
Prelude server removed

Steps To Reproduce:
1. Install NB 6.7 Trunk (04/08/2009) build on winXP, jdk1.6.0_12
2. Start IDE > right-click at Server node > select JavaEE Usage
Note: (Step 4 below will not be necessary when Issue 161664 fixed)
3. Restart IDE > select Tools > Servers to register V3 prelude server
4. Create a Web module project with having GF V3 prelude as runtime
5. Run the project
6. Remove GlassFish V3 prelude server
7. Right-click at the recently created project, select Property menu to change the runtime server
BUG: (Exception occurs)

org.netbeans.modules.j2ee.deployment.devmodules.api.InstanceRemovedException: [E:\Program Files
(x86)\glassfish-v3-prelude\glassfish]deployer:gfv3:localhost:8080
	at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance.getInstanceFromRegistry(ServerInstance.java:207)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance.getJ2eePlatform(ServerInstance.java:139)
	at org.netbeans.modules.websvc.wsitconf.util.ServerUtils.getJ2eePlatform(ServerUtils.java:70)
	at org.netbeans.modules.websvc.wsitconf.spi.WsitProvider.isWsitSupported(WsitProvider.java:97)
	at org.netbeans.modules.websvc.metro.model.MetroConfigLoader.isMetroConfigSupported(MetroConfigLoader.java:97)
	at
org.netbeans.modules.websvc.metro.model.ui.TubelinesCompositePanelProvider.createCategory(TubelinesCompositePanelProvider.java:89)
	at
org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.readCategories(ProjectCustomizer.java:561)
	at
org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.getSubCategories(ProjectCustomizer.java:522)
	at org.netbeans.spi.project.ui.support.ProjectCustomizer.createCustomizerDialog(ProjectCustomizer.java:236)
	at org.netbeans.modules.web.project.ui.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:117)
	at org.netbeans.modules.web.project.ui.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:97)
	at org.netbeans.modules.web.project.ui.customizer.CustomizerProviderImpl.showCustomizer(CustomizerProviderImpl.java:93)
	at org.netbeans.modules.project.ui.actions.CustomizeProject.actionPerformed(CustomizeProject.java:149)
	at org.netbeans.modules.project.ui.actions.LookupSensitiveAction.actionPerformed(LookupSensitiveAction.java:161)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
	at java.awt.Component.processMouseEvent(Component.java:6216)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5981)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4583)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4413)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4413)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 Vince Kraemer 2009-04-07 23:47:52 UTC
the v3 plugin isn't on the stack.  looks like it is either j2eeserver and/or websvc.wsitconf
Comment 2 Vince Kraemer 2009-04-08 00:01:57 UTC

*** This issue has been marked as a duplicate of 161832 ***