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.
This issue was reported manually by epdv. It already has 1 duplicates Build: NetBeans IDE Dev (Build nbms-and-javadoc-7133-on-20110503) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows XP Stacktrace: java.lang.IllegalAccessError: tried to access method org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration.<init>(Lorg/netbeans/modules/j2ee/deployment/devmodules/api/J2eeModule;)V from class org.netbeans.modules.j2ee.sun.ide.j2ee.ModuleConfigurationImpl at org.netbeans.modules.j2ee.sun.ide.j2ee.ModuleConfigurationImpl.<init>(ModuleConfigurationImpl.java:107) at org.netbeans.modules.j2ee.sun.ide.j2ee.ModConFactory.create(ModConFactory.java:66) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:790) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:769) at org.openide.util.Mutex.readAccess(Mutex.java:288) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getModuleConfiguration(ConfigSupportImpl.java:769)
Created attachment 108312 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=178866
Created attachment 108900 [details] stacktrace To reproduce: - install GlassFish v2 support plugin - restart IDE - try to add GlassFish2.1.1 server as a new instance but it throws the exception when finishing the wizard
Actually it throws the exception when you try to create a java web application with GlassFish 2.1.1. Registration of server instance went well. Please, look at this issu. It seems to be a regressing since I am not able to repeat the problem in NB7.0. Thank you.
Created attachment 108949 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=178866
Please, evaluate. It seems to be a stopper for 7.0.1. It is not possible to create web application with GlassFish 2.1.1. To reproduce: - install GlassFish v2 support plugin - restart IDE - add GlassFish2.1.1 server as a new instance in Services tab - try to create java web application but it throws the exception when finishing the wizard Product Version: NetBeans IDE 7.0.1 Dev (Build 201106192100) Java: 1.6.0_26; Java HotSpot(TM) Client VM 20.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Cc also Petr Hejl.
Adjusting category.
I'm not able to reproduce so far. Might be related to http://hg.netbeans.org/web-main/rev/193169.
Changing the component to the right value.
I think this really might be related to certain incompatible changes in mentioned changeset.
> Please, evaluate. It seems to be a stopper for 7.0.1 I am not sure this will affect 7.0.1. Until recently, 7.0.1 builds were using an update center from 7.0, which is incorrect. There is a separate update center URL for 7.0.1, and GlassFish 2.1 plugin is not published there yet. So let's wait until GF 2.1 plugin is properly available for 7.0.1, and then test with this build.
With new GF 2.1 plugin from http://updates.netbeans.org/netbeans/updates/7.0/uc/final/certified/catalog_stage.xml.gz (see bug 195117), I am still able to reproduce this bug.
I just did a pull and build of 7.0.1 RC1 from releases. I started the built IDE and used the UC to get the GF 2 plugin from the UC. I registered an instance of gf v2. I created a project that uses the registered v2 instance. I ran the project that I created successfully. I noticed that the UC URL is now http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/certified/catalog.xml.gz. So, I guess that http://hg.netbeans.org/releases/rev/e422ab10471f addressed this. Marking as works for me. Reopen with pointer to recent 7.0.1 build that demonstrates this issue if there is still a problem in the bits from release engineering and I can do more investigation.
The problem is reproducible only with GlassFish v1, v2.x plugin version 1.13.1.1 in NB7.0.1 builds. These combinations work: Product Version: NetBeans IDE 7.0 (Build 201104080000) Plugin: 1.13.0.1 Product Version: NetBeans IDE 7.0 (Build 201104080000) Plugin: 1.13.1.1 Product Version: NetBeans IDE 7.0.1 RC1 (Build 201106222100) Plugin: 1.13.0.1 Only this fails: Product Version: NetBeans IDE 7.0.1 RC1 (Build 201106222100) Plugin: 1.13.1.1
(In reply to comment #16) > The problem is reproducible only with GlassFish v1, v2.x plugin version > 1.13.1.1 in NB7.0.1 builds. > [snip] > Only this fails: > > Product Version: NetBeans IDE 7.0.1 RC1 (Build 201106222100) > Plugin: 1.13.1.1 Do you have a link to the latest NB 701 RC build? One that I can use to download the actual bits that users are getting if they download the RC build today?
(In reply to comment #16) > The problem is reproducible only with GlassFish v1, v2.x plugin version > 1.13.1.1 in NB7.0.1 builds. > > These combinations work: > > Product Version: NetBeans IDE 7.0 (Build 201104080000) > Plugin: 1.13.0.1 > > Product Version: NetBeans IDE 7.0 (Build 201104080000) > Plugin: 1.13.1.1 > > Product Version: NetBeans IDE 7.0.1 RC1 (Build 201106222100) > Plugin: 1.13.0.1 > > Only this fails: > > Product Version: NetBeans IDE 7.0.1 RC1 (Build 201106222100) > Plugin: 1.13.1.1 7.0.1 rc1 uses the 7.0.1 UC. (http://updates.netbeans.org/netbeans/updates/7.0.1/uc/final/certified/catalog.xml.gz) That UC has plugin 1.13.0.1. Where would a user get 1.13.1.1 from? What path of user actions will get 1.13.1.1 into 701 rc1? I downloaded rc1 and then used the preconfigured certified UC for 7.0.1 and I was not be able to reproduce this issue. Closing as incomplete. Please reopen with step-by-step instructions on how I can reproduce the problem.
I believe the update center for 7.0.1 RC uses the release701 branch, so it sounds like the fix for 195117 should have been also committed to the release701 branch, not only release70_fixes :-( Do you think that would help? Sorry for the confusion.
(In reply to comment #19) > I believe the update center for 7.0.1 RC uses the release701 branch, so it > sounds like the fix for 195117 should have been also committed to the > release701 branch, not only release70_fixes :-( Do you think that would help? > Sorry for the confusion. Getting step-by-step instruction on how I can reproduce a problem that is a 7.0.1 stopper would be very helpful. At this point, I cannot use 7.0.1 RC1 and the certified UC for 7.0.1 RC1 to reproduce this issue... so, I am not sure what I am trying to resolve...
My assumption is that the plugin fixed in 195117 should be available on NetBeans 7.0.1 update center. It means version 1.13.1.1 should be there. Probably Petr Gebauer should arrange it. When it is done users will be faced with described issue. Until than please, follow these steps and install plugin from NB7.0 update center: - run NetBeans 7.0.1 RC (http://smetiste.czech.sun.com/builds/netbeans/7.0.1/daily/latest) - open Tools|Plugins - choose Settings tab - click Add button - copy http://updates.netbeans.org/netbeans/updates/7.0/uc/final/certified/catalog.xml.gz to the URL field and click OK - switch to Available Plugins - search for GlassFish v1, v2.x plugin and select it - check version is 1.13.1.1 - tick the plugin and click Install button - finish installation - restart the IDE - add GlassFish2.1.1 server as a new instance in Services tab - try to create java web application but it throws the exception when finishing the wizard
The fix for issue 195117 was committed to the trunk on 29 March 2011... https://netbeans.org/bugzilla/show_bug.cgi?id=195117#c14. Those changes were ported into the release70_fixes branch 7.0.1 was branched from the trunk on 13 May 2011.... http://hg.netbeans.org/main-golden/rev/cea21310ed68 This implies that the fix for 195117 is available in the GlassFish v1,v2 plugin that is available on the UC for 7.0.1 There is no reason to migrate the plugin from the 7.0 UC to the 7.0.1 UC.
OK, if the plugin on 7.0.1 UC remains version 1.13.0.1 then everything works without problems.
It still affects my NetBeans. It's automatically upgraded to 7.0.1 from 7.0. So the that GlassFish v1,v2 plugin is still the version from 7.0. You still need upgrade the version in 7.0.1 ASAP. Thanks Wind
the problem that you are running into is being tracked by issue 200621