[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: An internal error occurred during: "Launching"

Kevin,

I don't know anything about JPython, but I'd have a very close look at how the classpath for your launcher is set up and especially look for entries that are supposed to refer to a project but also contain a "/" in the name and hence are referring to something within a project where a reference to a project is expected. You might even try to put a breakpoint in the WorkspaceRoot to see what path is being used to get a better idea...


Kevin B wrote:
Hi,
I have been having quite a difficult time getting the Jython part of Eclipse to work. Every time I try to do a run, I get this error:
An internal error occurred during: "Launching"
java.lang.IllegalArgumentException: Path for project must have only one segment.
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:164)


at net.redrobin.eclipse.jydt.launching.JythonClasspathProvider.defaultUserClassPath(JythonClasspathProvider.java:56)

at net.redrobin.eclipse.jydt.launching.JythonClasspathProvider.computeUnresolvedClasspath(JythonClasspathProvider.java:103)

at net.redrobin.eclipse.jydt.launching.JythonLaunchConfigurationDelegate.getClasspath(JythonLaunchConfigurationDelegate.java:93)

at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:71)

at net.redrobin.eclipse.jydt.launching.JythonLaunchConfigurationDelegate.launch(JythonLaunchConfigurationDelegate.java:46)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)

at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)

at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:944)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)


Also, I cannot get the Jython debugger to work. Any ideas?
Thanks!
Kevin