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 269704 - NullPointerException at org.apache.tools.ant.module.api.support.TargetLister$Script.replaceMacroParams
Summary: NullPointerException at org.apache.tools.ant.module.api.support.TargetLister$...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 10:06 UTC by scanti
Modified: 2017-02-01 10:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150140


Attachments
stacktrace (1.16 KB, text/plain)
2017-02-01 10:06 UTC, scanti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description scanti 2017-02-01 10:06:38 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Windows 10

User Comments:
scanti: Launched unit tests

GUEST: Selected New Project from File menu, trying to create a new freeform web project, for the first box (Location) used the file chooser (Browse) to find the directory of the project and then got this exception

mstarnacki: That issue shows under compilation




Stacktrace: 
java.lang.NullPointerException
   at org.apache.tools.ant.module.api.support.TargetLister$Script.replaceMacroParams(TargetLister.java:520)
   at org.apache.tools.ant.module.api.support.TargetLister$Script.interpretTasks(TargetLister.java:442)
   at org.apache.tools.ant.module.api.support.TargetLister$Script.<init>(TargetLister.java:341)
   at org.apache.tools.ant.module.api.support.TargetLister.getTargets(TargetLister.java:118)
   at org.apache.tools.ant.module.nodes.AntProjectChildren.refreshKeys(AntProjectChildren.java:105)
   at org.apache.tools.ant.module.nodes.AntProjectChildren.stateChanged(AntProjectChildren.java:139)
Comment 1 scanti 2017-02-01 10:06:41 UTC
Created attachment 163531 [details]
stacktrace