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 201402180001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b67, Java(TM) SE Runtime Environment, 1.8.0-b126 OS: Windows 7 User Comments: ssazonov: I tried to add Spring MVC framework instead I got this error Stacktrace: java.lang.NullPointerException at org.netbeans.modules.spring.webmvc.SpringConfigPanelVisual.getSpringLibrary(SpringConfigPanelVisual.java:285) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.run(SpringWebModuleExtender.java:305) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:609) at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender.extend(SpringWebModuleExtender.java:231) at org.netbeans.modules.maven.j2ee.ui.customizer.impl.CustomizerFrameworks$6$1.run(CustomizerFrameworks.java:497)
Created attachment 145486 [details] stacktrace
I created maven web application, than right click the project > properties > frameworks > add... > spring web mvc >> web.xml has been configurated, but framework has not been added
(In reply to ssazonov from comment #2) > I created maven web application, than right click the project > properties > > frameworks > add... > spring web mvc > > >> web.xml has been configurated, but framework has not been added Thanks for your report. You are right, it's possible to finish the wizard before the library was found. Fixed in web-main #8e87b0c41711.
Integrated into 'main-silver', will be available in build *201402250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8e87b0c41711 User: Martin Fousek <marfous@netbeans.org> Log: #242214 - NullPointerException at org.netbeans.modules.spring.webmvc.SpringConfigPanelVisual.getSpringLibrary
Cannot reproduce steps from comment #2, verified Product Version: NetBeans IDE Dev (Build 201404170001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted as releases #aa088befe745. Spec.version, long description change in releases #1ffd7be880e3.
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/aa088befe745 User: Martin Fousek <marfous@netbeans.org> Log: #242214 - NullPointerException at org.netbeans.modules.spring.webmvc.SpringConfigPanelVisual.getSpringLibrary (transplanted from 8e87b0c417113e69e1792965702767eb0e8287c5)