Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326600 - PHP Debug Source Display resulted in "java.lang.NullPointerException"
Summary: PHP Debug Source Display resulted in "java.lang.NullPointerException"
Status: CLOSED DUPLICATE of bug 324051
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 17:18 EDT by Iain Houston CLA
Modified: 2020-05-14 11:24 EDT (History)
4 users (show)

See Also:


Attachments
Screenshot of encountered error (212.41 KB, image/png)
2010-09-29 17:45 EDT, Iain Houston CLA
no flags Details
Better screenshot of error (214.46 KB, image/png)
2010-09-29 18:08 EDT, Iain Houston CLA
no flags Details
./metadata/.log as requested (245.36 KB, text/plain)
2010-09-29 18:17 EDT, Iain Houston CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Houston CLA 2010-09-29 17:18:06 EDT
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
Comment 1 Nitin Dahyabhai CLA 2010-09-29 17:36:04 EDT
Can you also append the corresponding stack trace from your workspace's .metdata/.log file or the Error Log view?
Comment 2 Iain Houston CLA 2010-09-29 17:45:15 EDT
Created attachment 179902 [details]
Screenshot of encountered error
Comment 3 Iain Houston CLA 2010-09-29 18:08:26 EDT
Created attachment 179905 [details]
Better screenshot of error
Comment 4 Iain Houston CLA 2010-09-29 18:17:30 EDT
Created attachment 179906 [details]
./metadata/.log as requested
Comment 5 Iain Houston CLA 2010-09-29 19:22:01 EDT
(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.
Comment 6 Iain Houston CLA 2010-10-10 05:05:14 EDT
Do you require more / better diagnostic info?
A solution to this problem is very important to my current project.
Best regards.
Comment 7 Jacek Pospychala CLA 2010-10-11 02:31:34 EDT
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 ***
Comment 8 Iain Houston CLA 2010-10-12 18:28:21 EDT
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.)
Comment 9 Kalin CLA 2011-08-01 07:45:06 EDT
Closing as a duplicate of bug 324051