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.
Summary: | org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: No handlers for [C:\Program Files\glassfish-3.1.2\glassfish;C:\Program Files\glassfish-3.1.2\glassfish\domains\domain1]deplo | ||
---|---|---|---|
Product: | serverplugins | Reporter: | sunbiz <sunbiz> |
Component: | GlassFish | Assignee: | TomasKraus |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alesak, Alniks, areasas, averri, cdicarlo, dkonecny, everflux, gholmer, gtzabari, jaska_tl, jbsabmello, jlahoda, jonathanvilalopez, jskrivanek, kganfield, marfous, michal.owsiak, mkhramov, muellermi, musilt2, olives, pblakez, pjiricka, sunbiz, tim_sa, viggonavarsete, vkraemer, vriha, weolopez, williambacchi, xtecuan, ytn01, zdenek.rod |
Priority: | P1 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 186661 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
sunbiz
2012-04-05 05:44:52 UTC
Created attachment 117854 [details]
stacktrace
Created attachment 117860 [details]
stacktrace
Opening a java web project after new installation
Created attachment 117870 [details]
stacktrace
during scanning at NetBeans start
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=186661 Created attachment 117891 [details]
stacktrace
Restarted IDE with registered GlassFish.
Created attachment 117921 [details]
stacktrace
Created attachment 117937 [details]
stacktrace
Exception dialog appeared during first start of build 201204050400 after installation.
Created attachment 117950 [details]
stacktrace
creating webapp (activation of javaee modules)
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=186661 Created attachment 117975 [details]
stacktrace
Installed a new nightly build of NetBeans JEE bundle.
Upon first and successive launch of the IDE, the error started to happen.
Just after the IDE launched & the error message appeard,... the IDE refused to quit normally,... had to kill it from the activity monitor.
Created attachment 117986 [details]
stacktrace
Created attachment 117987 [details]
stacktrace
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=186661 Created attachment 118012 [details]
stacktrace
installed netbeans 7.2 dev "java ide" edition, importing plugins and settings from netbeans 7.1.1 "java ee" edition
Is this behavior related to http://hg.netbeans.org/web-main/rev/722614006deb Were there other changes in the j2eeserver project or the server project that might have triggered this? Please investigate. Created attachment 118017 [details]
stacktrace
Starting this version of NB for the first time
Created attachment 118026 [details]
stacktrace
Created attachment 118032 [details]
stacktrace
1, Started IDE, registered GlassFish
-> since next IDE start still these exceptions happen
Created attachment 118042 [details]
stacktrace
1. Install most recent Java release
2. Open NetBeans
3. Create simple JavaApplication
After project is created and scanning is complete exception is thrown
Created attachment 118058 [details]
stacktrace
started IDE with fresh userdir and then opened an existing Maven Java project
This might be actually caused by #210932 Created attachment 118082 [details]
stacktrace
Restart of Netbeans after crash.
Created attachment 118085 [details]
stacktrace
starting this version
*** Bug 210885 has been marked as a duplicate of this bug. *** This is causing too much noise and whatever change caused it should be promptly reverted or hotfixed. Btw. looking at some IDE logs (eg. http://statistics.netbeans.org/exceptions/messageslog?id=572463 ) there is StackOverflowError so likely this issue and issue 210932 are about the same problem. This got to the state that I was not able to start IDE anymore. Reverting the fix from issue 205319 removes this exception. Done in web-main as: changeset: 219455:1cb303917a69 parent: 218759:722614006deb user: David Konecny <dkonecny@netbeans.org> date: Wed Apr 11 12:08:01 2012 +1200 summary: Backed out changeset 722614006deb I was testing 205319 fix with JDK 1.6 and saw no problems. Will try with last 1.7 again to find what was causing troubles because I would like to keep those changes. Tested again with Product Version: NetBeans IDE Dev (Build 20120411-81608b13788d) Java: 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02 System: Linux version 2.6.38-8-generic running on amd64; UTF-8; en_US (nb) User directory: /home/kratz/.netbeans/dev Cache directory: /home/kratz/.cache/netbeans/dev + 205319 diff applied and everything works fine. This looks like some Win 64 + JDK 1.7 only related problem and explains why I hand no chance to see it before push. Tomas: As input, I run Ubuntu 11.10, so it's not only a windows problem... *** Bug 210932 has been marked as a duplicate of this bug. *** Yes, I was finally able to reproduce it on Ubuntu too and I have new fix that will also resolve 205319. But I would like to check it with another guy in US before pushing it into repository. Created attachment 118140 [details]
stacktrace
created new maven project
changeset: 219483:fa7930503972 user: Tomas Kraus <TomasKraus@netbeans.org> date: Wed Apr 11 16:31:57 2012 +0200 files: glassfish.common/src/org/netbeans/modules/glassfish/common/GlassfishInstanceProvider.java description: Bug# 205319 - IDE hangs after fresh install upon click to expand 'servers' Bug# 210741 - InstanceCreationException caused by bug# 205319 fix. Removed deadlock condition in org.netbeans.modules.glassfish.common.GlassfishInstanceProvider and org.netbeans.modules.j2ee.deployment.impl.ServerRegistry This seems to not break anything. One more change to avoid theoretical deadlock: changeset: 219600:ae6cb02f6d83 user: Tomas Kraus <TomasKraus@netbeans.org> date: Wed Apr 11 17:08:09 2012 +0200 files: glassfish.common/src/org/netbeans/modules/glassfish/common/GlassfishInstanceProvider.java description: Bug# 205319 - IDE hangs after fresh install upon click to expand 'servers' Bug# 210741 - InstanceCreationException caused by bug# 205319 fix. Previos attempt to fix deadlock may not work so using more conservative fix. *** Bug 210967 has been marked as a duplicate of this bug. *** |