Login | Register
My pages Projects Community openCollabNet

Discussions > users > NullPointerException Tracing target

antelope
Discussion topic

Hide all messages in topic

All messages in topic

RE: NullPointerException Tracing target

Author dankirkd
Full name Dan Kirkdorffer
Date 2004-04-12 14:52:56 PDT
Message I wonder if that is the problem. If you have an antcall to non-existant
target when you run the build it will fail. My builds don't fail for
these targets.

Dan

> -----Original Message-----
> From: Dale Anson [mailto:danson@germa​ne-software.com]
> Sent: Monday, April 12, 2004 2:44 PM
> To: users at antelope dot tigris dot org
> Subject: Re: NullPointerException Tracing target
>
>
> 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​tt
> onModel.ja
> > va:420)
> > at
> >
> javax.swing.DefaultB​uttonModel.setPresse​d(DefaultButtonModel​.java:258)
> > at
> >
> javax.swing.plaf.bas​ic.BasicButtonListen​er.mouseReleased(Bas​ic
> ButtonList
> > 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​is
> patchThrea
> > d.java:201)
> > at
> >
> java.awt.EventDispat​chThread.pumpEventsF​orHierarchy(EventDis​pa
> tchThread.
> > 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: users-unsubscribe@an​telope.tigris.org
> For additional commands, e-mail: users-help at antelope dot tigris dot org
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@an​telope.tigris.org
For additional commands, e-mail: users-help at antelope dot tigris dot org

Re: NullPointerException Tracing target

Author Dale Anson <danson at germane-software dot com>
Full name Dale Anson <danson at germane-software dot com>
Date 2004-04-12 14:44:28 PDT
Message 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: users-unsubscribe@an​telope.tigris.org
For additional commands, e-mail: users-help at antelope dot tigris dot org

RE: NullPointerException Tracing target

Author dankirkd
Full name Dan Kirkdorffer
Date 2004-04-12 14:15:38 PDT
Message Yes, I'm using Ant 1.6.0. I'm running Antelope standalone on Win XP.

Thanks,

Dan

> -----Original Message-----
> From: Dale Anson [mailto:danson@germa​ne-software.com]
> Sent: Monday, April 12, 2004 2:12 PM
> To: users at antelope dot tigris dot org
> Subject: Re: NullPointerException Tracing target
>
>
> No ideas off hand. That code hasn't been touched in a while. Are you
> using Ant 1.6.x?
>
> Thanks,
>
> 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​tt
> onModel.ja
> > va:420)
> > at
> >
> javax.swing.DefaultB​uttonModel.setPresse​d(DefaultButtonModel​.java:258)
> > at
> >
> javax.swing.plaf.bas​ic.BasicButtonListen​er.mouseReleased(Bas​ic
> ButtonList
> > 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​is
> patchThrea
> > d.java:201)
> > at
> >
> java.awt.EventDispat​chThread.pumpEventsF​orHierarchy(EventDis​pa
> tchThread.
> > 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: users-unsubscribe@an​telope.tigris.org
> For additional commands, e-mail: users-help at antelope dot tigris dot org
>


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@an​telope.tigris.org
For additional commands, e-mail: users-help at antelope dot tigris dot org

Re: NullPointerException Tracing target

Author Dale Anson <danson at germane-software dot com>
Full name Dale Anson <danson at germane-software dot com>
Date 2004-04-12 14:11:38 PDT
Message No ideas off hand. That code hasn't been touched in a while. Are you
using Ant 1.6.x?

Thanks,

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: users-unsubscribe@an​telope.tigris.org
For additional commands, e-mail: users-help at antelope dot tigris dot org

NullPointerException Tracing target

Author dankirkd
Full name Dan Kirkdorffer
Date 2004-04-12 13:39:53 PDT
Message 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
Messages per page: