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 196186

Summary: NullPointerException at org.netbeans.modules.gwt4nb.GWTFrameworkProvider$EnableGWTAction.run
Product: javaee Reporter: Sveromm
Component: GWTAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: normal CC: ballbreaker, majiknet, quidryan, quintesse, sridher
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 138643
Attachments: stacktrace

Description Sveromm 2011-03-02 08:55:00 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
GUEST: I added GWT as a framework to a Maven2 project

quidryan: Adjusting Project properties, adding Gwt as framework

GUEST: Adding a GWT Framework to existing project

GUEST: I tried to add framework GWT from project properties..

ballbreaker: Tried to add GWT support to a maven web project in the project proerties window.

GUEST: Tried to enable gwt on maven project

quintesse: Using the Maven and GWT4NB module together doesn't seem to work.
I created a new Maven project and added the Google Web Toolkit framework and this exception occurred.

ballbreaker: Add GWT functionality to maven war project on the project properties window (frameworks node).

GUEST: Tryin to add gwt framework into mavew webapp project

GUEST: Cannot add GWT as framework to an existing maven project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.gwt4nb.GWTFrameworkProvider$EnableGWTAction.run(GWTFrameworkProvider.java:119)
   at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:125)
   at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566)
   at org.netbeans.modules.gwt4nb.GWTFrameworkProvider.extend(GWTFrameworkProvider.java:93)
   at org.netbeans.modules.web.webmodule.WebModuleExtenderBridge.extend(WebModuleExtenderBridge.java:114)
   at org.netbeans.modules.maven.webframeworks.WebFrameworksPanel.applyChanges(WebFrameworksPanel.java:131)
Comment 1 Sveromm 2011-03-02 08:55:05 UTC
Created attachment 106624 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 08:56:02 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss