Bug 298689 - php remote debugging generates internal error
Summary: php remote debugging generates internal error
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P1 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Roy Ganor CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-31 15:12 EST by brian CLA
Modified: 2020-05-14 10:16 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian CLA 2009-12-31 15:12:30 EST
What steps will reproduce the problem?
1. php remote debugging on linux server
2. set breakpoint, debug, on each step this error occurs. No problems noticed, able to debug as usual.


-- Error Details --
Date: Thu Dec 31 12:13:22 PST 2009
Message: An internal error occurred during: "Searching for local file...".
Severity: Error
Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.php.product)
Plugin: org.eclipse.core.jobs
Session Data:
eclipse.buildId=M20090917-0800
java.version=1.6.0_17
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.php.product -keyring /Users/brian/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.php.product -keyring /Users/brian/.eclipse_keyring -showlocation


Exception Stack Trace:
java.lang.IllegalArgumentException: Illegal or not full path:
at org.eclipse.php.internal.debug.core.pathmapper.VirtualPath.<init>(VirtualPath.java:62)
at org.eclipse.php.internal.debug.core.pathmapper.PathMapper.getLocalFile(PathMapper.java:81)
at org.eclipse.php.internal.debug.core.pathmapper.DebugSearchEngine$1.run(DebugSearchEngine.java:141)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Kentarou Fukuda CLA 2010-03-23 10:09:48 EDT
It might be a report to PDT.
Comment 2 Jay Ward CLA 2010-08-04 10:06:16 EDT
Getting the same issue on Linux though it seems intermittent for me, sometimes when I close eclipse and get back in it doesn't do this, other times it does. It is consistent per session though, once it starts, it is going to do it at least until eclipse is closed.  All projects are being edited in the same path as the webserver, so there is no weird path mapping going on, and none that I have specified.

eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.php.product


Error
Wed Aug 04 09:49:44 EDT 2010
An internal error occurred during: "Searching for local file...".

java.lang.IllegalArgumentException: Illegal or not full path: 
	at org.eclipse.php.internal.debug.core.pathmapper.VirtualPath.<init>(VirtualPath.java:62)
	at org.eclipse.php.internal.debug.core.pathmapper.PathMapper.getLocalFile(PathMapper.java:81)
	at org.eclipse.php.internal.debug.core.pathmapper.DebugSearchEngine$1.run(DebugSearchEngine.java:141)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 3 Anthony PERRIN CLA 2011-07-28 05:16:43 EDT
Same Issue on :
Windows XP SP3
Apache 2.2.14
Php 5.2.11
Xdebug php_xdebug-2.1.1-5.2-vc6.dll
Eclipse 3.7.0.v201106131736
PDT 3.0.0.v20110516-1100-7V--F8NcJTTK4UE9TTJJ
Comment 4 Derek CLA 2011-10-12 20:21:08 EDT
Same error, Ubuntu.

java.lang.IllegalArgumentException: Illegal or not full path: 
	at org.eclipse.php.internal.debug.core.pathmapper.VirtualPath.<init>(VirtualPath.java:62)
	at org.eclipse.php.internal.debug.core.pathmapper.PathMapper.getLocalFile(PathMapper.java:81)
	at org.eclipse.php.internal.debug.core.pathmapper.DebugSearchEngine$1.run(DebugSearchEngine.java:141)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


Sesh Data:

eclipse.buildId=unknown
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.php.product
Comment 5 Brian Pitt CLA 2014-04-24 14:45:55 EDT
This bug is pretty old but apparently still happening in the latest version.  I am running Luna 20131219-0014 on Windows 8.1 debugging an Ubuntu server on my network.  My setup is as follows:

Eclipse Luna with XDebug on Windows 8.1
Apache webserver running on Ubuntu with XDebug installed
Easy XDebug Add-on for Firefox

Steps to reproduce:
1)  Set breakpoint in a file in Eclipse
2)  Close all other files except the one with the breakpoint
3)  Launch website in Firefox with XDebug enabled
4)  View the Stack Trace and click on one of the stack trace entries that links to a different file.

When Eclipse opens the file and tries to bring you to the line in question the error pops up.  This will also happen if you step into a function call that brings you to a different file.  If you dismiss the error and click the stacktrace line again it navigates you to the line without an error.

In short, any time Eclipse needs to open a different file from the one in view it throws this error.
Comment 6 Alexandr Kochubey CLA 2015-07-04 03:52:14 EDT
Hi, guys! I've downloaded the Mars PDT version, I don't understand should I use the earlier version, because I've read a lot of blogs, there no such errors, and everything works fine, but the errors are often strict. ;) What I do - In preferences create a new server with XDEbug settings - port 9000, bgdp, then don't make changes to TOKEN and the perspektive don't open, what's this?