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 236616 - NullPointerException at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.addContextParam
Summary: NullPointerException at org.netbeans.modules.spring.webmvc.SpringWebModuleExt...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-01 18:01 UTC by Sam.MIT
Modified: 2013-12-04 02:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204307


Attachments
stacktrace (1.63 KB, text/plain)
2013-10-01 18:01 UTC, Sam.MIT
Details
stacktrace (1.63 KB, text/plain)
2013-10-01 18:03 UTC, Sam.MIT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam.MIT 2013-10-01 18:01:06 UTC
This bug was originally marked as duplicate of bug 156987, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 RC1 (Build 201309162201)
VM: Java HotSpot(TM) Client VM, 25.0-b33, Java(TM) SE Runtime Environment, 1.8.0-ea-b91
OS: Windows 7

User Comments:
Sam.MIT: When creating sample web jee7 project with hibernate and spring apis this error occured




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.addContextParam(SpringWebModuleExtender.java:479)
   at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.run(SpringWebModuleExtender.java:275)
   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:229)
   at org.netbeans.modules.web.project.ui.wizards.NewWebProjectWizardIterator.instantiate(NewWebProjectWizardIterator.java:193)
Comment 1 Sam.MIT 2013-10-01 18:01:09 UTC
Created attachment 140701 [details]
stacktrace
Comment 2 Sam.MIT 2013-10-01 18:03:50 UTC
Created attachment 140702 [details]
stacktrace

When creating sample web jee7 project with hibernate,spring,strust apis this error occured
Comment 3 Martin Fousek 2013-12-03 09:54:59 UTC
Should be fixed in web-main #2c7e9f77e918.
Comment 4 Quality Engineering 2013-12-04 02:44:29 UTC
Integrated into 'main-silver', will be available in build *201312040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2c7e9f77e918
User: Martin Fousek <marfous@netbeans.org>
Log: #236616 - NullPointerException at org.netbeans.modules.spring.webmvc.SpringWebModuleExtender$CreateSpringConfig.addContextParam