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 7.1 Beta (Build 201109252201) VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-383, Java(TM) SE Runtime Environment, 1.6.0_26-b03-383-11A511 OS: Mac OS X User Comments: michal.owsiak: Error was a total surprise! It looks, like NetBeans preserves the settings for the project after it was removed. Use-case: 1. I had a project deployed to remote server 2. I have removed the project and the server from Services -> Servers 3. I have added default GlassFish Server installed together with NetBeans 4. I have downloaded and opened an example project from: http://netbeans.org/kb/docs/java/debug-multithreaded.html#Exercise_00 I have installed project via SVN as described in the tutorial 5. I have started Debug - an exception occured Stacktrace: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Registry mismatch for [/Users/michalo/opt/glassfish3/glassfish]deployer:gfv3ee6wc:buxus.man.poznan.pl:4848 at org.netbeans.modules.glassfish.javaee.Hk2DeploymentFactory.getDeploymentManager(Hk2DeploymentFactory.java:148) at org.netbeans.modules.j2ee.deployment.plugins.spi.support.ProxyDeploymentFactory.getDeploymentManager(ProxyDeploymentFactory.java:116) at org.netbeans.modules.j2ee.deployment.impl.Server.getDeploymentManager(Server.java:191) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getDeploymentManager(ServerInstance.java:284) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetMap(ServerInstance.java:566) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:524)
Created attachment 111484 [details] stacktrace
Created attachment 113466 [details] stacktrace launching web app
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=181621
Created attachment 119686 [details] stacktrace Error dialog appeared immediately I selected "attach to debugger" for GlassFish 3.1.2. Possibly helpful background information: userdir was imported when installing this build; it had a 3.1.1 instance. After installation, I created a 3.1.2 server instance, then deleted the 3.1.1 instance (all of this was before I tried to attach). The debugger did attach successfully (i.e. breakpoints were hit normally).
Created attachment 121744 [details] stacktrace
I had GF 3.1.1 registered in the IDE and I removed it and added GF 3.1.2. After that any deployment of a project resulted into this exception.
Created attachment 124126 [details] stacktrace I removed gf3.1.2 and added gf3.1.2.2
Created attachment 124213 [details] stacktrace My steps: - register GlassFish 3.1.2.2 - register GlassFish 3.1.2.2 - different domain - register GlassFish 3.1.1 - create "HTML/JavaScript|HTML 5 Application" - create new html file - remove GlassFish 3.1.1 - run html file and exception appears
Created attachment 127836 [details] stacktrace Added GlassFish instance with name A and domain2. Then removed A and added again with name A but domain3.
We will try to fix this in 7.3.
Is anybody able to reproduce it on latest builds (7.3. beta 2 or later)? I tried steps from Jiri Skrivanek, but had no luck.
Got no response until today. Closing now. Feel free to reopen if you see this problem in 7.3/7.4.