Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse for php on Mac OSX 10.5: "Animation Start" error

I am having a terrible time getting Eclipse with php/pdt installed on my older 2006 MacBook running 10.5.8.

I have MAMP installed and running php 5.3.5. That works fine. The zend debugger information shows up correctly in phpinfo() and I have dummy.php in the correct location. 127.0.0.1 is allowed in the config file.

I have eclipse itself installed. I also have tried "Eclipse for php Developers" v3.0.2.

Both installations return errors when I try and run or debug a script. I am trying to use Zend Debugger.

The error is:

"Animation Start has encountered a problem". An Internal error has occurred. An internal error has occurred. java.lang.NullPointerException

I have the php executable set as /Applications/MAMP/bin/php5.3/bin/php (CLI)

Suggestions?

like image 265
Rob Brandt Avatar asked Aug 07 '26 15:08

Rob Brandt


1 Answers

The problem with the "Animation Start has encountered a problem" error dialog doesn't have to do with the php scripts but rather is just an UI quirk/error that is irritating and is likely because of a mis-configured dock:icon property on the eclipse.ini (or whatever eclipse product the zend product uses).

  1. Find the root executable that launches eclipse-based product.
  2. Open up the application executable (.app) package contents
  3. Go to the Contents/MacOS/ folder
  4. Edit the ini file
  5. Make sure that you have this line correctly specificed:
  6. -Xdock:icon=../Resources/<NameofIconFile>.icns
  7. Then restart eclipse/zend

Now you should be able to invoke scripts and not see that invalid error dialog.

like image 182
gamerson Avatar answered Aug 10 '26 06:08

gamerson