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 203835 - NullPointerException at org.netbeans.modules.maven.j2ee.web.WebRunCustomizerPanel$7.run
Summary: NullPointerException at org.netbeans.modules.maven.j2ee.web.WebRunCustomizerP...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 14:48 UTC by Jiri Skrivanek
Modified: 2011-10-27 12:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182059


Attachments
stacktrace (561 bytes, text/plain)
2011-10-17 14:49 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-10-17 14:48:57 UTC
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)
Comment 1 Jiri Skrivanek 2011-10-17 14:49:03 UTC
Created attachment 112131 [details]
stacktrace
Comment 2 Martin Janicek 2011-10-18 15:52:07 UTC
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.
Comment 3 David Konecny 2011-10-19 07:12:21 UTC
NPE indicates that there is no WebModuleProviderImpl in project's lookup. That's weird; not sure how it can happen.
Comment 4 Martin Janicek 2011-10-20 14:07:27 UTC
Fixed in: http://hg.netbeans.org/web-main/rev/4cbe8ea02c62
Comment 5 Quality Engineering 2011-10-24 14:11:13 UTC
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