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 268786 - NullPointerException: The folder parameter cannot be null
Summary: NullPointerException: The folder parameter cannot be null
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-02 11:16 UTC by weerapan
Modified: 2016-11-02 11:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172415


Attachments
stacktrace (979 bytes, text/plain)
2016-11-02 11:16 UTC, weerapan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description weerapan 2016-11-02 11:16:45 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b14, Java(TM) SE Runtime Environment, 1.8.0_91-b14
OS: Windows 8.1

User Comments:
GUEST: Tried to run a HTML file generated in target folder.

weerapan: startup

GUEST: dont know y  i m getting this

GUEST: Editing the pom.xml and wanted to run a single jsp-file

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: compilation of web maven project

GUEST: asd

GUEST: Open simple .jsp page in netbeans

GUEST: help




Stacktrace: 
java.lang.NullPointerException: The folder parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1447)
   at org.openide.filesystems.FileUtil.getRelativePath(FileUtil.java:1194)
   at org.netbeans.modules.maven.j2ee.web.WebReplaceTokenProvider.createReplacements(WebReplaceTokenProvider.java:146)
   at org.netbeans.modules.maven.ActionProviderImpl.replacements(ActionProviderImpl.java:331)
   at org.netbeans.modules.maven.ActionProviderImpl.invokeAction(ActionProviderImpl.java:305)
Comment 1 weerapan 2016-11-02 11:16:46 UTC
Created attachment 162727 [details]
stacktrace