Copy link to clipboard
Copied
Hello All,
I can create a Flex/PHP project but when I go to the project - Properties - Flex/PHP Support I get the following message "The currently displayed page contain invalid values" and the page never opens - which makes it impossible to see said values. OK, right click on project, go to 'add/change project type' and change to a flex project. Go back to 'add/change project type' and select 'add flex and php project type', which shoots you back to Properties - Flex/PHP Support page. Now I've got the fields available for editing, but no combination of values or the order in which I submit them will validate??? I'm running Flash Builder as root and I recieve this command line output everytime try to validate or select a project via the "PHP Project name:' drop down list:
!ENTRY org.eclipse.ui 4 0 2011-06-30 21:00:37.186
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.f(PHPSupportPropertyPage.java)
at com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage$8.handleEvent(PHPSupportPropertyPage.java)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1371)
at org.eclipse.swt.widgets.Text.setText(Text.java:1891)
at com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.c(PHPSupportPropertyPage.java)
at com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.b(PHPSupportPropertyPage.java)
at com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage.a(PHPSupportPropertyPage.java)
at com.zend.php.flashbuilder.ui.propertypages.PHPSupportPropertyPage$6.widgetSelected(PHPSupportPropertyPage.java)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.zend.php.flashbuilder.ui.actions.PHPAttachAction.run(PHPAttachAction.java)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3776)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1367)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1390)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1187)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3622)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3277)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.java:108)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Thanks for your help in advance!
Hi,
Are you using FB in plugin mode? From the stack trace, it appears that your eclipse is using an older version of JRE (a version prior to v1.6). If that is so, try pointing your eclipse JRE version to 1.6. This can be done by through -vm option in eclipse.ini file in your eclipse folder.
-Sudhir
Copy link to clipboard
Copied
ohh yes,
Mac 10.5.8
Flash Builder for PHP 4.5.1
Zend Server CE
Also, the reason why I ended up trying to troubleshoot Flex/PHP support was because my service classes would not regenerate... and still don't.
Thanks,
J
Copy link to clipboard
Copied
Hi,
Are you using FB in plugin mode? From the stack trace, it appears that your eclipse is using an older version of JRE (a version prior to v1.6). If that is so, try pointing your eclipse JRE version to 1.6. This can be done by through -vm option in eclipse.ini file in your eclipse folder.
-Sudhir
Copy link to clipboard
Copied
Hello Sudhir,
Thanks for your help; the problem is fixed. I believe your suggestion targeted the source of the issue, but I ended up upgrading my OS so it's really hard to say. Also, I'm running the standalone version of FB for PHP.
For any interested folk:
- first I updated Java on my machine but the no luck... got this:
XXX:~ jh$ /Applications/Adobe\ Flash\ Builder\ 4.5/Adobe\ Flash\ Builder\ 4.5.app/Contents/MacOS/Adobe\ Flash\ Builder\ 4.5
JavaVM: Failed to load JVM: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bundle/Libraries/libserver.dylib
JavaVM FATAL: Failed to load the jvm library.
- for a test, I installed Flash Builder on a 10.6 machine and there were no issues
- upgraded my machine to 10.6, Flex/PHP support works
Seems like the apple distribution of Java 1.6 is either different between 10.5 and 10.6 or my install of Java 1.6 was faulty; someone knows, just not me.
Thanks again for your help!
J