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 201525 - NullPointerException at org.netbeans.modules.ant.debugger.AntDebugger.findTarget
Summary: NullPointerException at org.netbeans.modules.ant.debugger.AntDebugger.findTarget
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 18:33 UTC by sreder
Modified: 2011-09-03 14:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180351


Attachments
stacktrace (1.06 KB, text/plain)
2011-09-01 18:33 UTC, sreder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreder 2011-09-01 18:33:50 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
GUEST: Trying to step through while debugging a custom-build ant task

sreder: Stepping through ant script in debugger




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.ant.debugger.AntDebugger.findTarget(AntDebugger.java:787)
   at org.netbeans.modules.ant.debugger.AntDebugger.targetStarted(AntDebugger.java:330)
   at org.netbeans.modules.ant.debugger.DebuggerAntLogger.targetStarted(DebuggerAntLogger.java:150)
   at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.targetStarted(NbBuildLogger.java:434)
   at org.apache.tools.ant.Project.fireTargetStarted(Project.java:2146)
   at org.apache.tools.ant.Target.performTasks(Target.java:409)
Comment 1 sreder 2011-09-01 18:33:53 UTC
Created attachment 110321 [details]
stacktrace
Comment 2 Martin Entlicher 2011-09-02 11:51:54 UTC
Fixed by changeset:   200756:b19673d47e52
http://hg.netbeans.org/main/rev/b19673d47e52
Comment 3 Quality Engineering 2011-09-03 14:29:44 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/b19673d47e52
User: mentlicher@netbeans.org
Log: #201525 Handle the case when AntProjectCookie is not found.