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 Dev (Build 201110160600) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: jskrivanek: To reproduce: - add GlassFish and WebLogic servers to IDE - create Maven web project with GlassFish server (Java EE 5) - open project properties - go to Run category - select WebLogic server and click OK Stacktrace: java.lang.NullPointerException at org.netbeans.modules.maven.j2ee.web.WebRunCustomizerPanel$7.run(WebRunCustomizerPanel.java:543) at org.openide.util.Mutex.leaveImpl(Mutex.java:906) at org.openide.util.Mutex.leave(Mutex.java:839) at org.openide.util.Mutex.writeAccess(Mutex.java:399) at org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener$2.run(CustomizerDialog.java:294) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
Created attachment 112131 [details] stacktrace
I'm trying to reproduce this, but everything works just fine for me (I'm using GF3, WebLogic 10.3 I think). Are you able to reproduce this every time when you are creating Maven web project Jirka? I'm asking because this might be synchronization issue, maybe somehow related to the recent commit (see issue 202760) made in WebRunCustomizerPanel class.
NPE indicates that there is no WebModuleProviderImpl in project's lookup. That's weird; not sure how it can happen.
Fixed in: http://hg.netbeans.org/web-main/rev/4cbe8ea02c62
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/4cbe8ea02c62 User: Martin Janicek <mjanicek@netbeans.org> Log: #203835 - NullPointerException at org.netbeans.modules.maven.j2ee.web.WebRunCustomizerPanel$7.run