Zend Studio Installation

来源:互联网 发布:js 字符串包含子串 编辑:程序博客网 时间:2024/06/06 11:46

 

I face some issues when I try to install zend studio 6.1.2. And I also tried other version like 7.1.2.

Unfortunately, there are many different errors  similar to this one:

Error creation extension for extension-point org.eclipse.php.server.ui.serverTabs
  Plug-in "org.eclipse.php.server.ui" was unable to instantiate class "org.eclipse.php.internal.server.ui.launching.PHPWebPageLaunchConfigurationTab".
  org/eclipse/php/internal/debug/core/debugger/AbstractDebuggerConfiguration

Plug-in org.eclipse.php.debug.core was unable to load class org.eclipse.php.internal.debug.core.launching.PHPLaunchDelegateProxy.
An error occurred while automatically activating bundle org.eclipse.php.debug.core (428).

And some other strange behaviours got when I am switching between different menu items from:

Windows->Preferences->PHP –> Debug/Editor/File Network

After googling, I identify the root cause as follows:

http://dev.eclipse.org/newslists/news.eclipse.tools.pdt/msg01144.html

With deleting all the .prefs files, I got Zend Studio working perfectly.

This issue disturbs me for a long peroid which draws me crazy. :)  Glad to see it fixed.

-------------------------------------------------------------->

Sorry about the double post - I had some strange config settings in my list of php executables. Turns out my workspace had some .prefs from an old version of PDT. Blew them away, and it's working fine now.

Cheers,-Paul

-----The fingers of Paul Lew struck forth on 12/9/07 3:24 PM:

I'm on the latest JVM (1.5.0_07) available from Apple. They have a RC of Java 6 available - I might download that and give it a try.

Also, here's a few lines from the eclipse error log for this problem:

!SUBENTRY 1 org.eclipse.equinox.registry 4 1 2007-09-12 13:48:52.886
!MESSAGE Plug-in "org.eclipse.php.debug.ui" was unable to instantiate class "org.eclipse.php.internal.debug.ui.launching.PHPExecutableLaunchTab".
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 0
at org.eclipse.php.internal.debug.core.preferences.PHPexes.load(Unknown Source)
at org.eclipse.php.internal.debug.core.preferences.PHPexes.<init>(Unknown Source)
at org.eclipse.php.internal.debug.core.preferences.PHPexes.getInstance(Unknown Source)
at org.eclipse.php.internal.debug.ui.preferences.phps.PHPsComboBlock.<init>(Unknown Source)
at org.eclipse.php.internal.debug.ui.preferences.phps.PHPsComboBlock.<init>(Unknown Source)
at org.eclipse.php.internal.debug.ui.launching.PHPExecutableLaunchTab.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)

at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.php.internal.debug.ui.launching.LaunchConfigurationsTabsRegistry$TabFactory$1.run(Unknown Source)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.php.internal.debug.ui.launching.LaunchConfigurationsTabsRegistry$TabFactory.createFragmentFactory(Unknown Source)
at org.eclipse.php.internal.debug.ui.launching.LaunchConfigurationsTabsRegistry.getLaunchTabs(Unknown Source)
at org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchConfigurationTabGroup.createTabs(Unknown Source)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.createTabs(LaunchConfigurationTabGroupWrapper.java:62)

at org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:72)
at org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:103)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
Thanks,-Paul
-----The fingers of Dave Kelsey struck forth on 12/9/07 2:38 PM:
What version of Java are you using ? you must use 5.0 (1.5) or higher and this
might be the cause.
Dave Kelsey

Paul Lew wrote:
Hi,

My fresh installation of PDT has trouble setting up a Run profile for PHP.
When I open the Run dialog, and try to create a run configuration of type "PHP Script", I get this error:
---
Error creation extension for extension-point org.eclipse.php.server.ui.serverTabs
Plug-in "org.eclipse.php.debug.ui" was unable to instantiate class "org.eclipse.php.internal.debug.ui.launching.PHPExecutableLaunchTab"
---

Running as PHP Web page works OK, but I'm trying to a develop a CLI application at the moment, so I'd prefer debugging as a script.
I'm using PDT Version 1.0.0.v20070910-79, Eclipse 3.3, on Mac OSX 10.4.10
Is anyone else getting this?
Thanks,-Paul

 

原创粉丝点击