[ phpeclipse-Bugs-1506273 ] xdebug exception: "Path for proj must have only 1 segment"

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.ide.eclipse.phpeclipse.devel
Message-ID <[email protected]>
Bugs item #1506273, was opened at 2006-06-14 11:55
Message generated for change (Settings changed) made by openmacnews
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1506273&group_id=57621

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Debugger
Group: None
>Status: Deleted
>Resolution: Out of Date
Priority: 7
Private: No
Submitted By: OpenMacNews (openmacnews)
Assigned to: Axel C. Kramer (axelcl)
Summary: xdebug exception: "Path for proj must have only 1 segment"

Initial Comment:
hi all,

i've eclipse 3.2rc7 w/ phpeclipse-cvs + xdebug (built
from source) on OSX 10.4.6.

in workbench's PHP perspective, when i click "Debug",
as expected, a dialog to "Create, manage & run configs"
opens.

When i attempt to create a new PHP XDebug config, i get
a generic "Error has occurred" dialog.

my .metadata/.log shows:


=======================================================================

!ENTRY org.eclipse.jface 4 2 2006-06-14 10:38:19.258
!MESSAGE Problems occurred when invoking code from
plug-in: "org.eclipse.jface".
!STACK 0
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.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPMainTab.isValid(PHPMainTab.java:290)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.refresh(LaunchConfigurationTabGroupViewer.java:487)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.updateButtons(LaunchConfigurationsDialog.java:1423)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.refreshStatus(LaunchConfigurationTabGroupViewer.java:885)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:668)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$6.run(LaunchConfigurationTabGroupViewer.java:548)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:565)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:529)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:928)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:547)
        at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:839)
        at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at
org.eclipse.core.runtime.Platform.run(Platform.java:843)
        at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
        at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:837)
        at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1143)
        at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1163)
        at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:236)
        at
org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:230)
        at
org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:404)
        at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
        at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3181)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2936)
        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.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
        at
org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:375)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:379)
        at
org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:321)
        at
org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction.run(AbstractLaunchToolbarAction.java:79)
        at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
        at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
        at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
        at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
        at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
        at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
        at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
        at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
        at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
        at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.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(EclipseStarter.java:400)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)
=======================================================================


although there's only one mention of:

net.sourceforge.phpeclipse.xdebug.ui.php.launching.PHPMainTab.isValid(PHPMainTab.java:290)

the folks @ #eclipse suggest this *is* a phpeclipse issue.

thoughts/suggestions?

thx.


richard

----------------------------------------------------------------------

Comment By: OpenMacNews (openmacnews)
Date: 2006-06-14 15:19

Message:
Logged In: YES 
user_id=1401559

after a cvs update of xdebug src, andclean rebuild, i now
see a *different* behavior.

i no longer get the error above.

rather, on click of "Debug New Config" button, i get a dialog:

"An internal error odducrred during: "Launching""

and, .log reports:

!ENTRY org.eclipse.core.jobs 4 2 2006-06-14 15:14:25.207
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: null
argument:
        at
org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
        at
org.eclipse.core.runtime.Assert.isNotNull(Assert.java:72)
        at
org.eclipse.core.runtime.Path.initialize(Path.java:574)
        at org.eclipse.core.runtime.Path.<init>(Path.java:184)
        at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:162)
        at
net.sourceforge.phpeclipse.xdebug.php.launching.PHPLaunchConfigurationDelegate.launch(PHPLaunchConfigurationDelegate.java:65)
        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)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1506273&group_id=57621

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.