Community
Participate
Working Groups
Stepping Eclipse PDT through PHP Debug Configuration. First file "stepped into" Source Display resulted in" An internal error has occurred. java.lang.NullPointerException" Debug session had worked previously OK when php in initially debugged file only "stepped over" The PHP Project was created by importing resources from remote (drupal) system; also an Ecplise RSE server. Local system's PHP: PHP 5.3.2 (cli) (built: Aug 7 2010 00:04:41) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies Local system's Java: java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065) Java HotSpot(TM) Client VM (build 16.3-b01-279, mixed mode) Remote system PHP and Xdebug: Xdebug installed: 2.1.0 Server API: Apache 2.0 Handler Windows: no Zend Server: no PHP Version: 5.3.2-1 Zend API nr: 220090626 PHP API nr: 20090626 Debug Build: no Thread Safe Build: no Configuration File Path: /etc/php5/apache2 Configuration File: /etc/php5/apache2/php.ini Extensions directory: /usr/lib/php5/20090626 Remote machine's java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) -- Configuration Details -- Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product) Installed Features: org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L
Can you also append the corresponding stack trace from your workspace's .metdata/.log file or the Error Log view?
Created attachment 179902 [details] Screenshot of encountered error
Created attachment 179905 [details] Better screenshot of error
Created attachment 179906 [details] ./metadata/.log as requested
(In reply to comment #1) > Can you also append the corresponding stack trace from your workspace's > .metdata/.log file or the Error Log view? Hi Nitin. Further Googling reveals this may be a problem that's already known about and for which a fix has been made and an update imminent. Please see Bug 326227 Please excuse verbose error report - still discovering how to report Eclipse bugs! Best regards. Iain Houston.
Do you require more / better diagnostic info? A solution to this problem is very important to my current project. Best regards.
Hi Iain, thanks for report. Based on the information from the log it's a known issue, that was fixed recently. *** This bug has been marked as a duplicate of bug 324051 ***
Upgrade was achieved by adding: http://download.eclipse.org/tools/pdt/updates/2.2/milestones to Preferences >> Install/Update >> Available Software Sites. Then "work with" this site in Help >> Install New Software Select "Name" PDT 2.2.1 ..... Click Next and complete the download and update (restart required). This seems to have fixed the problem and now remote debugging seems to be working. (Thanks to Roy Ganor.)
Closing as a duplicate of bug 324051