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 - NullPointerException: The file parameter cannot be null
Summary: NullPointerException: The file parameter cannot be null
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-22 02:38 UTC by ajeets1978
Modified: 2016-03-22 02:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216604


Attachments
stacktrace (3.48 KB, text/plain)
2016-03-22 02:38 UTC, ajeets1978
Details

Note You need to log in before you can comment on or make changes to this bug.
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