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 258474

Summary: NullPointerException: The file parameter cannot be null
Product: javaee Reporter: ajeets1978
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216604
Attachments: stacktrace

Description ajeets1978 2016-03-22 02:38:44 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Mac OS X

User Comments:
GUEST: Created jsp under the root of a source node of a netbeans-gradle-javaee project

GUEST: During jsp creation

GUEST: Tried to create jsp in netbeans-gradle-javaee project

ajeets1978: - Created a gradle project, added xyz package.
- Tried to add .jsp file on package, with context menu.

GUEST: Create jsp in gradle project




Stacktrace: 
java.lang.NullPointerException: The file parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.web.api.webmodule.WebModule.getWebModule(WebModule.java:132)
   at org.netbeans.modules.web.wizards.targetpanel.providers.AbstractOptionPanelManager.initValues(AbstractOptionPanelManager.java:84)
   at org.netbeans.modules.target.iterator.api.TargetChooserPanelGUI.initValues(TargetChooserPanelGUI.java:124)
   at org.netbeans.modules.target.iterator.api.TargetChooserPanel.readSettings(TargetChooserPanel.java:192)
   at org.netbeans.modules.j2ee.core.api.support.wizard.DelegatingWizardDescriptorPanel.readSettings(DelegatingWizardDescriptorPanel.java:107)
Comment 1 ajeets1978 2016-03-22 02:38:46 UTC
Created attachment 158958 [details]
stacktrace