Bug 29869 - [AntView] NPE when run targets
Summary: [AntView] NPE when run targets
Status: RESOLVED DUPLICATE of bug 26690
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-21 05:04 EST by Andrew Utkin CLA
Modified: 2003-01-21 09:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Utkin CLA 2003-01-21 05:04:09 EST
The following exception occurs every time I try to run target from AntView:
java.lang.NullPointerException
	at 
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchShortcu
t.findExistingLaunchConfigurations(AntLaunchShortcut.java:264)
	at 
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchShortcu
t.launch(AntLaunchShortcut.java:123)
	at 
org.eclipse.ui.externaltools.internal.ant.view.actions.RunTargetAction.run
(RunTargetAction.java:55)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:804)
	at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:422)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:374)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:368)
....

or:

java.lang.NullPointerException
	at 
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchShortcu
t.findExistingLaunchConfigurations(AntLaunchShortcut.java:264)
	at 
org.eclipse.ui.externaltools.internal.ant.launchConfigurations.AntLaunchShortcu
t.launch(AntLaunchShortcut.java:123)
	at 
org.eclipse.ui.externaltools.internal.ant.view.actions.RunActiveTargetsAction$2
.run(RunActiveTargetsAction.java:118)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:31)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java:94)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1669)
Comment 1 Darin Swanson CLA 2003-01-21 08:31:48 EST
A few more details will help: 
What Eclipse build?
Is this a "normal" project or one you have imported from outside the workspace.

I suspect this is a duplicate of bug 26690.
Comment 2 Andrew Utkin CLA 2003-01-21 08:52:23 EST
Build id: 200301151011. It is integration build I20030115.
It is not imported projects. But the projects is not located 
under 'eclipse/workspace' directory.
Comment 3 Darin Swanson CLA 2003-01-21 09:33:13 EST
Thanks.

*** This bug has been marked as a duplicate of 26690 ***