[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Antwort: Re: [platform-ant-dev] Eclipse 2.1, Ant 1.5.2, log method -> NullPointerException
|
I've copied my custom jar to the directory org.apache.ant_1.5.2 and added
the corresponding entry in plugin.xml. That's all.
My task works fine outside of Eclipse.
Here is the stacktrace:
[greebo] Exception occured: java.lang.NullPointerException
[greebo] java.lang.NullPointerException
[greebo] at org.apache.tools.ant.Task.log(Task.java:324)
[greebo] at org.apache.tools.ant.Task.log(Task.java:312)
[greebo] at
oevren.ant.greebo.FetchDependencyTask.execute(FetchDependencyTask.java:127)
[greebo] at java.lang.reflect.Method.invoke(Native Method)
[greebo] at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:147)
[greebo] at org.apache.tools.ant.Task.perform(Task.java:341)
[greebo] at org.apache.tools.ant.Target.execute(Target.java:309)
[greebo] at
org.apache.tools.ant.Target.performTasks(Target.java:336)
[greebo] at
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[greebo] at
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[greebo] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:569)
[greebo] at
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:367)
[greebo] at java.lang.reflect.Method.invoke(Native Method)
[greebo] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:335)
[greebo] at
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:172)
[greebo] at java.lang.Thread.run(Unknown Source)
Oliver
******************************************************************
Oliver Wulff
Zürich Versicherungs-Gesellschaft
IA4, CoC Middleware
Postfach, 8085 Zürich
Telefon: +41- 1 628 58 07
Fax: +41 - 1 623 58 07
E-Mail: mailto:oliver.wulff@xxxxxxxxx
Darin Swanson
<Darin_Swanson@xxxxxx.c An: platform-ant-dev@xxxxxxxxxxx
om> Kopie:
Gesendet von: Thema: Re: [platform-ant-dev] Eclipse 2.1, Ant 1.5.2, log method ->
platform-ant-dev-admin@ NullPointerException
eclipse.org
01.05.2003 16:17
Bitte antworten an
platform-ant-dev
Oliver,
I am guessing a little here as you neglected to provide the stack trace but
are you including your custom tasks within the plug-in JAR as well as in
your task JARs?
Please see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=34466
or the Eclipse readme (known issues).
HTH
Darins
Oliver Wulff
<oliver.wulff@zurich
.ch> To: platform-ant-dev@xxxxxxxxxxx
Sent by: cc:
platform-ant-dev-adm
in@xxxxxxxxxxx Subject: [platform-ant-dev]
Eclipse 2.1, Ant 1.5.2, log method ->
05/01/03 03:41 AM NullPointerException
Please respond to
platform-ant-dev
Hi everybody
I've downloaded Eclipse 2.1 where Ant 1.5.2 is integrated. If I want
register custom Ant task, I deployed my jars to the ant plugin and changed
the file plugin.xml. Unfortunately, I get a NullPointerException back. I've
found the reason in the call log() inside the task. The call log() does
work outside of Eclipse. Did anybody have the same problem?
Oliver
******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.
_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev