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 203101 - [71cat] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Registry mismatch for [/Users/michalo/opt/glassfish3/glassfish]deployer:gfv3ee6wc:
Summary: [71cat] javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationExcep...
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 21:03 UTC by michal.owsiak
Modified: 2013-07-19 23:24 UTC (History)
18 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 181621


Attachments
stacktrace (2.41 KB, text/plain)
2011-10-04 21:03 UTC, michal.owsiak
Details
stacktrace (2.33 KB, text/plain)
2011-11-23 13:00 UTC, muellermi
Details
stacktrace (2.29 KB, text/plain)
2012-05-21 13:12 UTC, gholmer
Details
stacktrace (2.61 KB, text/plain)
2012-07-05 02:53 UTC, David Konecny
Details
stacktrace (2.88 KB, text/plain)
2012-09-11 01:23 UTC, David Konecny
Details
stacktrace (2.87 KB, text/plain)
2012-09-12 08:02 UTC, Jiri Skrivanek
Details
stacktrace (2.56 KB, text/plain)
2012-11-15 09:22 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michal.owsiak 2011-10-04 21:03:24 UTC
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)
Comment 1 michal.owsiak 2011-10-04 21:03:29 UTC
Created attachment 111484 [details]
stacktrace
Comment 2 muellermi 2011-11-23 13:00:53 UTC
Created attachment 113466 [details]
stacktrace

launching web app
Comment 3 Exceptions Reporter 2011-11-23 13:00:59 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=181621
Comment 4 gholmer 2012-05-21 13:12:08 UTC
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).
Comment 5 David Konecny 2012-07-05 02:53:05 UTC
Created attachment 121744 [details]
stacktrace
Comment 6 David Konecny 2012-07-05 03:31:30 UTC
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.
Comment 7 David Konecny 2012-09-11 01:23:14 UTC
Created attachment 124126 [details]
stacktrace

I removed gf3.1.2 and added gf3.1.2.2
Comment 8 Jiri Skrivanek 2012-09-12 08:02:14 UTC
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
Comment 9 Jiri Skrivanek 2012-11-15 09:22:30 UTC
Created attachment 127836 [details]
stacktrace

Added GlassFish instance with name A and domain2. Then removed A and added again with name A but domain3.
Comment 10 TomasKraus 2012-11-22 14:23:25 UTC
We will try to fix this in 7.3.
Comment 11 piotrik 2012-11-26 14:13:11 UTC
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.
Comment 12 TomasKraus 2013-07-19 23:24:55 UTC
Got no response until today. Closing now. Feel free to reopen if you see this problem in 7.3/7.4.