Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Could not locate the Launch Configuration : DebugException(Even though the launch configuration file exists on the disk, Eclipse Import project can not recognize the file.)
icon9.gif  Could not locate the Launch Configuration : DebugException [message #538840] Tue, 08 June 2010 14:18
SureshKrishna is currently offline SureshKrishna
Messages: 2
Registered: July 2009
Junior Member
Following is the stack trace i get when i import the project. Not sure what the problem is.
# I tried to make all the directories and individual files as WRITEable.
# The launch configuration do exist.
# I copied the complete path from this exception and also tried it on the windows explorer to double check.

This happens on a client place and your help is highly appreciated. I personally tried all the options that i know of, but no luck.

org.eclipse.debug.core.DebugException: Launch configuration Batch SubmitJob (ANIMATE) at c:\spl\V230_CCB\SPLSDKCommon\eclipseLaunchScripts\Batch SubmitJob (ANIMATE).launch does not exist.
at org.eclipse.debug.internal.core.LaunchManager.createDebugExc eption(LaunchManager.java:778)
at org.eclipse.debug.internal.core.LaunchManager.getInfo(Launch Manager.java:1175)
at org.eclipse.debug.internal.core.LaunchConfiguration.getInfo( LaunchConfiguration.java:356)
at org.eclipse.debug.internal.core.LaunchConfiguration.getType( LaunchConfiguration.java:487)
at org.eclipse.debug.internal.core.LaunchManager.isValid(Launch Manager.java:1696)
at org.eclipse.debug.internal.core.LaunchManager.launchConfigur ationAdded(LaunchManager.java:1719)
at org.eclipse.debug.internal.core.LaunchManager.projectOpened( LaunchManager.java:1819)
at org.eclipse.debug.internal.core.LaunchManager$LaunchManagerV isitor.visit(LaunchManager.java:344)
at org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67)
at org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48)
at org.eclipse.debug.internal.core.LaunchManager.resourceChange d(LaunchManager.java:1923)
at org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:280)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:274)
at org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:256)
at org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:958)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Re source.java:1413)
at org.eclipse.core.internal.resources.Resource.createLink(Reso urce.java:610)
at org.eclipse.core.internal.resources.Project.reconcileLinks(P roject.java:935)
at org.eclipse.core.internal.resources.Project.open(Project.jav a:849)
at org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsI mportPage.createExistingProject(WizardProjectsImportPage.jav a:1125)
at org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsI mportPage.access$15(WizardProjectsImportPage.java:1067)
at org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsI mportPage$16.execute(WizardProjectsImportPage.java:1026)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)


In the same environment, i am also not able to save a launch configuration. I can say "Apply" but the "Run" does not do anything. It throws an exception.

java.lang.NullPointerException
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCo py.writeNewFile(LaunchConfigurationWorkingCopy.java:256)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCo py.doSave0(LaunchConfigurationWorkingCopy.java:196)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCo py.access$0(LaunchConfigurationWorkingCopy.java:182)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCo py$1.run(LaunchConfigurationWorkingCopy.java:165)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCo py.doSave(LaunchConfigurationWorkingCopy.java:169)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupViewer.handleApplyPressed(LaunchConfigurat ionTabGroupViewer.java:1179)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.handleLaunchPressed(LaunchConfigurationsDi alog.java:949)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.buttonPressed(LaunchConfigurationsDialog.j ava:304)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationsDialog.open(LaunchConfigurationsDialog.java:1086)
at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:38 3)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:387)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDia logOnGroup(DebugUITools.java:329)
at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(Open LaunchDialogAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952

[Updated on: Tue, 08 June 2010 14:29]

Report message to a moderator

Previous Topic:Searching for Parameter Types (Generics)
Next Topic:Visual Editor Project & Mig Layout
Goto Forum:
  


Current Time: Thu Aug 28 19:19:37 EDT 2014

Powered by FUDForum. Page generated in 0.01719 seconds