Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ant View: Error while running the target
Ant View: Error while running the target [message #102040] Tue, 07 October 2003 19:48 Go to next message
Eclipse UserFriend
Originally posted by: dbshah.hotmail.com

Eclipse 2.1.0 gives an error when I try to run an Ant Target (from any
build.xml) from "ant view" window.

I can run the same target from Dos command prompt or from external tool
window within Eclipse!!
Am I missing any settings or anything else?

Below please see dump from Eclipse Log.

Will appreciate any help.

Thanks.


!ENTRY org.eclipse.ui 4 4 Oct 07, 2003 14:43:33.226
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Oct 07, 2003 14:43:33.226
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchShor
tcut.findExistingLaunchConfigurations(AntLaunchShortcut.java :252)
at
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchShor
tcut.launch(AntLaunchShortcut.java:126)
at
org.eclipse.ui.externaltools.internal.ant.view.actions.RunTa rgetAction.run(R
unTargetAction.java:61)
at
org.eclipse.ui.externaltools.internal.ant.view.actions.RunTa rgetAction.run(R
unTargetAction.java:51)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:456)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Event(ActionCont
ributionItem.java:403)
at
org.eclipse.jface.action.ActionContributionItem.access$0(Act ionContributionI
tem.java:397)
at
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
ctionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1838)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1545)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:845)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)
Re: Ant View: Error while running the target [message #102047 is a reply to message #102040] Tue, 07 October 2003 20:13 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Are you using linked resources?
You have hit a bug in our 2.1 release.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=36356

Darins

"D Shah" <dbshah@hotmail.com> wrote in message
news:blv5a9$3bi$1@eclipse.org...
> Eclipse 2.1.0 gives an error when I try to run an Ant Target (from any
> build.xml) from "ant view" window.
>
> I can run the same target from Dos command prompt or from external tool
> window within Eclipse!!
> Am I missing any settings or anything else?
>
> Below please see dump from Eclipse Log.
>
> Will appreciate any help.
>
> Thanks.
>
>
> !ENTRY org.eclipse.ui 4 4 Oct 07, 2003 14:43:33.226
> !MESSAGE Unhandled exception caught in event loop.
> !ENTRY org.eclipse.ui 4 0 Oct 07, 2003 14:43:33.226
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
>
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchShor
> tcut.findExistingLaunchConfigurations(AntLaunchShortcut.java :252)
> at
>
org.eclipse.ui.externaltools.internal.ant.launchConfiguratio ns.AntLaunchShor
> tcut.launch(AntLaunchShortcut.java:126)
> at
>
org.eclipse.ui.externaltools.internal.ant.view.actions.RunTa rgetAction.run(R
> unTargetAction.java:61)
> at
>
org.eclipse.ui.externaltools.internal.ant.view.actions.RunTa rgetAction.run(R
> unTargetAction.java:51)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:842 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:456)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Event(ActionCont
> ributionItem.java:403)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$0(Act ionContributionI
> tem.java:397)
> at
>
org.eclipse.jface.action.ActionContributionItem$ActionListen er.handleEvent(A
> ctionContributionItem.java:72)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:1838)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1545)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
> at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
> at
>
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
> a:845)
> at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
> at org.eclipse.core.launcher.Main.run(Main.java:703)
> at org.eclipse.core.launcher.Main.main(Main.java:539)
>
>
Previous Topic:Write an eclipse plugin ...
Next Topic:IJavadocCompletionProcessor
Goto Forum:
  


Current Time: Sun Jun 30 13:49:50 GMT 2024

Powered by FUDForum. Page generated in 0.04107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top