Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 10] New - Trace target throws NPE if antcall target does not exist.

antelope
Discussion topic

Back to topic list

[Issue 10] New - Trace target throws NPE if antcall target does not exist.

Author danson
Full name Dale Anson
Date 2004-04-12 14:44:14 PDT
Message http://antelope.tigr​is.org/issues/show_b​ug.cgi?id=10
                  Issue #:|10
                  Summary:|Trace target throws NPE if antcall target does not
                          |exist.
                Component:|antelope
                  Version:|current
                 Platform:|All
               OS/Version:|All
                      URL:|
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|www
              Assigned to:|issues@antelope
              Reported by:|danson






------- Additional comments from danson at tigris dot org Mon Apr 12 14:44:14 -0700 2004 -------
Looking through the code, that particular line is attempting to trace to a
target called from an <antcall> task. Apparently the target called by the
<antcall> doesn't exist in the project, so the NPE is thrown. I'll post this as
a bug.

Thanks for finding this!

Dale


Daniel Kirkdorffer wrote:

> Hi,
>
> Just started using Antelope 3.1.2 and some of my targets cause the
> following NullPointerException:
>
> java.lang.NullPointerException
> at ise.antelope.common.​TraceTarget.doTasks(​TraceTarget.java:151​)
> at ise.antelope.common.​TraceTarget.doTrace(​TraceTarget.java:101​)
> at ise.antelope.common.​TraceTarget.doTasks(​TraceTarget.java:152​)
> at ise.antelope.common.​TraceTarget.doTrace(​TraceTarget.java:101​)
> at ise.antelope.common.​TraceTarget.doTasks(​TraceTarget.java:152​)
> at ise.antelope.common.​TraceTarget.doTrace(​TraceTarget.java:101​)
> at ise.antelope.common.​TraceTarget.traceTar​get(TraceTarget.java​:86)
> at
> ise.antelope.common.​AntelopePanel$3.act​ionPerformed(Antelop​ePanel.java:5
> 81)
> at
> javax.swing.Abstract​Button.fireActionPer​formed(AbstractButto​n.java:1786)
> at
> javax.swing.Abstract​Button$ForwardActio​nEvents.actionPerfor​med(AbstractB
> utton.java:1839)
> at
> javax.swing.DefaultB​uttonModel.fireActio​nPerformed(DefaultBu​ttonModel.ja
> va:420)
> at
> javax.swing.DefaultB​uttonModel.setPresse​d(DefaultButtonModel​.java:258)
> at
> javax.swing.plaf.bas​ic.BasicButtonListen​er.mouseReleased(Bas​icButtonList
> ener.java:245)
> at
> java.awt.AWTEventMul​ticaster.mouseReleas​ed(AWTEventMulticast​er.java:231)
> at java.awt.Component.p​rocessMouseEvent(Com​ponent.java:5100)
> at java.awt.Component.p​rocessEvent(Componen​t.java:4897)
> at java.awt.Container.p​rocessEvent(Containe​r.java:1569)
> at java.awt.Component.d​ispatchEventImpl(Com​ponent.java:3615)
> at java.awt.Container.d​ispatchEventImpl(Con​tainer.java:1627)
> at java.awt.Component.d​ispatchEvent(Compone​nt.java:3477)
> at
> java.awt.Lightweight​Dispatcher.retargetM​ouseEvent(Container.​java:3483)
> at
> java.awt.Lightweight​Dispatcher.processMo​useEvent(Container.j​ava:3198)
> at java.awt.Lightweight​Dispatcher.dispatchE​vent(Container.java:​3128)
> at java.awt.Container.d​ispatchEventImpl(Con​tainer.java:1613)
> at java.awt.Window.disp​atchEventImpl(Window​.java:1606)
> at java.awt.Component.d​ispatchEvent(Compone​nt.java:3477)
> at java.awt.EventQueue.​dispatchEvent(EventQ​ueue.java:456)
> at
> java.awt.EventDispat​chThread.pumpOneEven​tForHierarchy(EventD​ispatchThrea
> d.java:201)
> at
> java.awt.EventDispat​chThread.pumpEventsF​orHierarchy(EventDis​patchThread.
> java:151)
> at
> java.awt.EventDispat​chThread.pumpEvents(​EventDispatchThread.​java:145)
> at
> java.awt.EventDispat​chThread.pumpEvents(​EventDispatchThread.​java:137)
> at java.awt.EventDispat​chThread.run(EventDi​spatchThread.java:10​0)
>
> I just noticed 3.1.3 and tried that and have the same result. Any
> ideas?
>
> Dan
>
> --
> Daniel Kirkdorffer
> Software Engineer - daniel dot kirkdorffer at codesic dot com
> Codesic Consulting - http://www.codesic.com/
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@an​telope.tigris.org
> For additional commands, e-mail: users-help at antelope dot tigris dot org
>

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: issues-unsubscribe@a​ntelope.tigris.org
For additional commands, e-mail: issues-help at antelope dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 10] New - Trace target throws NPE if antcall target does not exist. danson Dale Anson 2004-04-12 14:44:14 PDT
Messages per page: