Home » Language IDEs » PHP Development Tools (PDT) » Can't set up PHP run profile
Can't set up PHP run profile [message #50744] |
Wed, 12 September 2007 13:04 |
Eclipse User |
|
|
|
Originally posted by: paul.paullew.com
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.PHPExecutableLau nchTab "
---
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
|
|
| |
Re: Can't set up PHP run profile [message #50914 is a reply to message #50804] |
Wed, 12 September 2007 14:23 |
Eclipse User |
|
|
|
Originally posted by: paul.paullew.com
I'm on the latest JVM (1.5.0_07) available from Apple:
They have a RC of Java 6 available - I'll 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.PHPExecutableLau nchTab ".
!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.getI nstance(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.launching.PHPExecutableLau nchTab. <init>(Unknown
Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
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.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory$1.run(Unknown
Source)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory.createFragmentFactory(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry.getLaunchTabs(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchConf igurationTabGroup.createTabs(Unknown
Source)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.createTabs(LaunchConfigurationTabG roupWrapper.java:62)
at
org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:72)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.java:103)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
Cheers,
-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.PHPExecutableLau nchTab "
>> ---
>>
>> 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
|
|
|
Re: Can't set up PHP run profile [message #50942 is a reply to message #50804] |
Wed, 12 September 2007 14:24 |
Eclipse User |
|
|
|
Originally posted by: paul.paullew.com
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.PHPExecutableLau nchTab ".
!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.getI nstance(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.launching.PHPExecutableLau nchTab. <init>(Unknown
Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
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.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory$1.run(Unknown
Source)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory.createFragmentFactory(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry.getLaunchTabs(Unknown
Source)
at
org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchConf igurationTabGroup.createTabs(Unknown
Source)
at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.createTabs(LaunchConfigurationTabG roupWrapper.java:62)
at
org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:72)
at
org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.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.PHPExecutableLau nchTab "
>> ---
>>
>> 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
|
|
|
Re: Can't set up PHP run profile [message #50970 is a reply to message #50942] |
Wed, 12 September 2007 15:03 |
Eclipse User |
|
|
|
Originally posted by: paul.paullew.com
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.PHPExecutableLau nchTab ".
> !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.getI nstance(Unknown
> Source)
> at
> org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
> Source)
> at
> org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
> Source)
> at
> org.eclipse.php.internal.debug.ui.launching.PHPExecutableLau nchTab. <init>(Unknown
> Source)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> 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.createE xecutableExtension(ExtensionRegistry.java:788)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>
> at
> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>
> at
> org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory$1.run(Unknown
> Source)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory.createFragmentFactory(Unknown
> Source)
> at
> org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry.getLaunchTabs(Unknown
> Source)
> at
> org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchConf igurationTabGroup.createTabs(Unknown
> Source)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.createTabs(LaunchConfigurationTabG roupWrapper.java:62)
>
> at
> org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:72)
>
> at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.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.PHPExecutableLau nchTab "
>>> ---
>>>
>>> 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
|
|
| |
Re: Can't set up PHP run profile [message #53257 is a reply to message #50970] |
Wed, 19 September 2007 23:51 |
Damian Messages: 1 Registered: July 2009 |
Junior Member |
|
|
Cheers Paul, this put me onto the right track to solve my experience
with the same issue on my installation.
Regards,
- Damian
Paul Lew wrote:
>
> 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.PHPExecutableLau nchTab ".
>> !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.getI nstance(Unknown
>> Source)
>> at
>> org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
>> Source)
>> at
>> org.eclipse.php.internal.debug.ui.preferences.phps.PHPsCombo Block. <init>(Unknown
>> Source)
>> at
>> org.eclipse.php.internal.debug.ui.launching.PHPExecutableLau nchTab. <init>(Unknown
>> Source)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
>> Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>>
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
>> 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.createE xecutableExtension(ExtensionRegistry.java:788)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
>>
>> at
>> org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
>>
>> at
>> org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory$1.run(Unknown
>> Source)
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at
>> org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry$TabFactory.createFragmentFactory(Unknown
>> Source)
>> at
>> org.eclipse.php.internal.debug.ui.launching.LaunchConfigurat ionsTabsRegistry.getLaunchTabs(Unknown
>> Source)
>> at
>> org.eclipse.php.internal.debug.ui.launching.PHPExeLaunchConf igurationTabGroup.createTabs(Unknown
>> Source)
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.LaunchCon figurationTabGroupWrapper.createTabs(LaunchConfigurationTabG roupWrapper.java:62)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.CreateLau nchConfigurationAction.performAction(CreateLaunchConfigurati onAction.java:72)
>>
>> at
>> org.eclipse.debug.internal.ui.launchConfigurations.AbstractL aunchConfigurationAction$1.run(AbstractLaunchConfigurationAc tion.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.PHPExecutableLau nchTab "
>>>> ---
>>>>
>>>> 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
|
|
|
Goto Forum:
Current Time: Thu Dec 26 15:07:56 GMT 2024
Powered by FUDForum. Page generated in 0.03281 seconds
|