Please help!!! generate sample php service in flash builder 4.5
Hi all complete noob here. I have gone trough several tutorials and this keeps popping up.
On most of these tutorials after clicking new data service and selecting PHP the tutorials have a link generate sample php.
I am using flash builder 4.5 for php premium and I don’t have that link. Was this link possibly moved? I really need this functionality please can someone help me?
Hi Anju
no wasnt what I was looking for but did find it after clicking all the buttons in the UI.
For other users it is located on the Data/Service tab. on the right hand side is a little triangle pointing down. click on it and will have connection options. Select connect to PHP. Not sure why its not on the other tab.
But thank you for the reply
Similar Messages
-
Generate sample php service in flash builder 4.5.
Hi all complete noob here. I have gone trough several tutorials and this keeps popping up.
On most of these tutorials after clicking new data service and selecting PHP the tutorials have a link generate sample php.
I am using flash builder 4.5 for php premium and I don’t have that link. Was this link possibly moved?
I really need this functionality please can someone help me?Same here with Flash Builder 4.6 Premium for PHP, I see no way to generate a sample service!
-
Generate sample PHP service from db could not set primary key
Hi,
Some information about my system:
OS :Windows 7 64 bit
Computer type: HP Pavilion dv6-3013cl laptop
Eclipse 3.5+Flash Builder 4 plugin
DB: MySQL 5.0 local server
Web Server: Apache 2.2+PHP 5.2.14
Zend Frame work 1.10.1 (installed by Flash Builder)
I am trying to configure a PHP service in the Connect to Data/Service wizard. I clicked "click here to generate a sample" to generate a Sample PHP service. I selected Generate from database radio button and entered the db connection information in all fields. I am able to connect to my local database and select the table I want to create the service. But after I selected the primary key from the dropdown, the Ok button is still disabled and a warning note at the bottom of the screen still prompt for selecting the table's primary key. At this point, the log in eclipse metadata folder in the workspace has the following error:
!ENTRY org.eclipse.ui 4 0 2010-09-13 09:05:23.565
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.setType(ColumnModel.jav a:204)
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.buildFromColumn(ColumnM odel.java:218)
at com.adobe.flexbuilder.services.PHPService.PHPService.setPrimaryKeyColumn(PHPService.java: 185)
at com.adobe.flexbuilder.services.PHPService.serverproto.MySQLConfigurationDialog$4.widgetSe lected(MySQLConfigurationDialog.java:419)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.services.PHPService.PHPConfigurationPage$6.widgetSelected(PHPConfig urationPage.java:240)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
I figured this explains why the OK button is not enabled. I could trick the screen by clicking the Generate from template radio button and back to clicking the Generate from database button which will enable the OK button. I clicked OK, and a Security Information warning about ricks of generating the service php file popped up asking if I want to continue. I clicked OK and back to the generate sample PHP service screen. After this, the process entered an endless Ok-warning-OK-warning-OK loop and could never proceed to actually generating the service file. In the Eclipse log file, I see more Unhandled event loop exception:
!ENTRY org.eclipse.ui 4 0 2010-09-13 11:11:30.482
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.setType(ColumnModel.jav a:204)
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.buildFromColumn(ColumnM odel.java:218)
at com.adobe.flexbuilder.services.PHPService.PHPService.setPrimaryKeyColumn(PHPService.java: 185)
at com.adobe.flexbuilder.services.PHPService.serverproto.MySQLConfigurationDialog$4.widgetSe lected(MySQLConfigurationDialog.java:419)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.services.PHPService.PHPConfigurationPage$6.widgetSelected(PHPConfig urationPage.java:240)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!ENTRY org.eclipse.ui 4 0 2010-09-13 11:12:07.460
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.setType(ColumnModel.jav a:204)
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.buildFromColumn(ColumnM odel.java:218)
at com.adobe.flexbuilder.services.PHPService.PHPService.fillUpModel(PHPService.java:221)
at com.adobe.flexbuilder.services.PHPService.PHPService.createFlexService(PHPService.java:27 7)
at com.adobe.flexbuilder.services.PHPService.serverproto.MySQLConfigurationDialog.okPressed( MySQLConfigurationDialog.java:948)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.services.PHPService.PHPConfigurationPage$6.widgetSelected(PHPConfig urationPage.java:240)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!ENTRY org.eclipse.ui 4 0 2010-09-13 11:14:34.534
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.setType(ColumnModel.jav a:204)
at com.adobe.flexbuilder.services.PHPService.serverproto.ColumnModel.buildFromColumn(ColumnM odel.java:218)
at com.adobe.flexbuilder.services.PHPService.PHPService.setPrimaryKeyColumn(PHPService.java: 185)
at com.adobe.flexbuilder.services.PHPService.serverproto.MySQLConfigurationDialog$4.widgetSe lected(MySQLConfigurationDialog.java:419)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.services.PHPService.PHPConfigurationPage$6.widgetSelected(PHPConfig urationPage.java:240)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.show(ServiceWizard.java:190)
at com.adobe.flexbuilder.DCDService.ui.wizard.ServiceWizard.createService(ServiceWizard.java :152)
at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView$1.handleEvent(ServiceExplorerView.j ava:528)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1004)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4877)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1757)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4507)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4000)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2312)
at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:1917)
at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4301)
at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:842)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3982)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2409)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
I was able to do this on my old windows xp (Media Center OS) laptop. I wonder if this problem has anything to do with the Windows 7's system permission security feature. I 've stuck for 2 days now. Can someone help?! Thanks so much!Thanks for reporting the bug.
I have filed another bug on, FB not validating PHP installation before generating sample https://bugs.adobe.com/jira/browse/FB-27522 .
https://bugs.adobe.com/jira/browse/FB-27522Please vote/comment for the issue.
Thanks,
Radhakrishna -
Php service issue (flash builder 4)
I started playing with Data/Services panel in FB4. Works pretty nice so far but there are a few issues I have:
1. How can I manualy configure input types for the service? The dialog that appears is buggy - size is very small and I can't select input types there. Also changing method definithion in services.myservice._Super_MyService.as file (which is auto-generated) doesn't work - when I refresh or do something else FB4 just rewrites this file...
2. Second issue is PHP related. I didn't use PHP for several years so my knowledge is still limited. I've created a service class like this:
<?php
class MyService {
public function addUser($username, $password) {
$connection =
mysqli_connect('127.0.0.1', 'root', 'root', myDB, 3306) or
die(mysqli_connect_error());
$query = "INSERT INTO users (username,
password, role)
VALUES ('$username', PASSWORD('$password'),
'visitor')";
mysqli_query($connection, $query) or
die(mysqli_error($connection));
?>
and it works. But if I move $connection variable outside function (to use it with other methods) I get some errors.. Anyone knows why and how to do this? Tried it with different access modifiers, wrapping it in separate function, but nothing helps..
ThanksThanks for your inputs. I will look into that construct thingie (:
As for 'Configure Input Types' dialogue, I can also use it in most cases, but some times it's static size isn't sufficient. For example, try adding this function to service:
public function addUserData($username, $firstName, $lastName, $company, $jobTitle,
$country, $state, $city, $zipCode, $address, $eMail,
$phone, $cell, $fax, $webPage, $pictureURL) {
On my PC when trying to change values, only one row is visible, and when I try to 'Select Type' for it, dropdown just closes without changing value. It would be nice if we could resize 'Configure Input Types' dialogue when needed... Or maybe just limit the size of 'Operation:' string in that dialogue..
PS. I just played with it for a bit. If you enter too long function name select window completly disappears:
public function abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz($abcdefghijklmnopqrstuvwxyz) {} -
Good evening I would please help me, IGood evening I would please help me, I have problems with flash player when update on my computer Flash Player for windows 8, gives me error in the installation that is not apply on my computer. Please help. Thank You
First, confirm that ActiveX Filtering is configured to allow Flash content:
https://forums.adobe.com/thread/867968
Internet Explorer 11 introduces a number of changes both to how the browser identifies itself to remote web servers, and to how it processes JavaScript intended to target behaviors specific to Internet Explorer. Unfortunately, this means that content on some sites will be broken until the content provider changes their site to conform to the new development approach required by modern versions of IE.
You can try to work around these issues by using Compatibility View:
http://windows.microsoft.com/en-us/internet-explorer/use-compatibility-view#ie=ie-11
If that is too inconvenient, using Google Chrome may be a preferable alternative. -
Please help to understand the Service parts planning,we r tring to do poc for project
Hi
Please help to understand the Service parts planning,we r tring to do poc for project
1)How the sales history flow from cube to Interactive forecasting screen(like dp in apo there is no Planning area to store data and no load planning area from cube,so please let me know how it will load data?)
2)How the Final demand will flow to DRP for further planning?
3)What is the exact purpose of BOD?
4)What is the leading indicator forecasting and the purpose?
5)Where data will store in SPP (forecasting and other data like liveache in dp)?
6)Product interchangeability and use?
6)Can you please forward the process document to understand the flow as i am not able understand the help document
Thanks for advance help
Regards
kkkHi,
Please check Service Part Supply Plan - Enterprise Services in SAP Advanced Planning and Optimization - SAP Library
BR -
Please help to understand the Service parts planning doubts/clarifications
Please help to understand the Service parts planning,we r tring to do poc for project
1)How the sales history flow from cube to Interactive forecasting screen(in spp,like dp in apo there is no Planning area to store data and no load planning area from cube,so please let me know how it will sales history load data?)
2)Does Sales History of the child location will agregated to entry level ? if so like that we need to run statistical forecats at entry location?
3)where we will create the from and To Product(eg:Maping Product A to Product B ) to do the Relignment /Phase in profile/Interchangebility
4)What is the leading indicator forecasting and the purpose?
5)Where data will store in SPP (forecasting and other data like liveache in dp)? Mpos and Planning area is not there in SPP?
6)Can you please forward the process document to understand the flow as i am not able understand completely by the help document
Thanks for advance help
Regards
KKKHi,
Please check Service Parts Planning - Enterprise Services in SAP Advanced Planning and Optimization - SAP Library
BR -
Please help us, after we installing the flash player is said that the plug-in version is not installed and i need Flash Player for my windows 7 Professional 64-bit Japanese version and Internet explorer 10
Hello,
There are two versions of Flash Player for Windows: ActiveX for Internet Explorer and Plug-in for non-IE browsers. It appear you may have installed the one for non-IE browsers. Please use the links below to download and install:
Flash Player ActiveX (Internet Explorer
Flash Player Plug-in (All other browsers)
Maria -
hello apple.help me network iphone 4 use ios7.12 error network.acoount icloud.apple please help support errors no service network.thank you
<Personal Information Edited by Host>tran ngoc nhan,
Viết bằng tiếng mẹ đẻ của bạn?
Tôi đoán Việt Nam?
Chúng tôi có thể dịch!
Nói cho tất cả vấn đề của bạn!
Cung cấp cho nhiều chi tiết!
Nếu không Việt Nam, dịch này ở đây!
https://translate.google.com/
Write in your native language?
I guess Vietnamese?
We can translate!
Tell all your problem!
Give much detail!
If not Vietnamese, translate this here!
https://translate.google.com/
CCC -
Please Help! I tried to upgrade Flash Player, but have older computer
Please Help! -- I tried to upgrade FLASH PLAYER, but I have an older MAC laptop OS X 10.4 = Version 4.1.3 (4533.19.4).
I need to UPGRADE Flash Player; however it's not available -- Recently, I cannot watch some videos or access particular websites.
I'm a teacher, and CAN'T AFFORD to buy a new computer at this time.
> Can Adobe Corp. please help by offering an expanded range of UPGRADE support ??Unfortunately, if you're running OS 10.4, odds are that your Mac is a PowerPC model (-About This Mac will let you know for certain), and the newest version that will run on your system is Flash Player 10.1.102.64 and 9.0.289.0 (126 MB)
That's a direct link to the download, you can right click (or control+click) and save it to your downloads folder. Expand it with Stuffit Expander and run the 10.102.64 installer.
That's the best that can be hoped for because if your Mac is PowerPC, and I suspect it is, even Apple no longer supports it since September of 2009. The next OS X version (10.5) won't run the latest Player either. You'd need an Intel Mac with 10.6.3 or newer to use Flash Player 11.8.800.94.
PowerMax does have some really good deals on "pre owned" Macs. I've bought three from them myself over the years. -
How to create php login in flash builder 4 using php data service
I have seen the tutorials for creating a php login authentication using HTTP service in flex 3 It uses genrating xml and reading it . But i want to know how to do that with the help of php services in FB4 . I'm a newbie so please any kind of help would be appriciated as 'm not able to get any flex developer in nagpur ....
Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
Does this help?
-Sunil -
Sample PHP Service selecting from multiple tables
Hi all!
I have the following challange:
How do I properly set up my PHP-service to insert, select, update and delete values from multiple tables?
So far, the standard templates generated by Flash Builder is based on a single table.
Example: I have 2 tables: [person] and [school]
[person] has [person_id, first_name, last_name, birthdate]
[school] has [school_id, person_id, school_name, city]
One [person] can have multiple [schools]
How should I define the selectByID function in PHP to be able to have
First name: [TextInput /]
Last name: [TextInput /]
Birthdate: [DateField /]
Schools:
[TabBar: School1, School2, School3 /]
[ViewStack1]
School name: [TextInput /]
Location name: [TextInput /]
[/ViewStack1]]
[ViewStack2]
School name: [TextInput /]
Location name: [TextInput /]
[/ViewStack2]]
[ViewStack3]
School name: [TextInput /]
Location name: [TextInput /]
[/ViewStack3]]
And even more interesting: How do I update all these fields back to the database?First, the relationship between school and person is many-to-many NOT one-to-many -- you will need to add a junction table.
From the form you have given I would handle insertions like this:
loop through all the schools and see if the school already exist in the DB. If so, then store the school_id. If not, then create a new record and store the id. You should have an array collection of store_ids by the end of the loop
Check whether the student exists w/in the DB. If so, then you might consider aborting the operation or you could opt to do an update. If the student doesn't exist, then create a new student record and store the new student_id (mysql::insert_id)
Loop through the school_id array and add new student_id/school_id records into the junction table.
Retrieving records is much simpler -- it's just a join on the tables i.e. "SELECT * FROM student INNER JOIN school_student ON student.student_id = school_student.student_id INNER JOIN schools ON school_student.school_id = school.school_id WHERE student.first_name = 'John' AND student.last_name = 'Doe' (assuming there aren't more than one John Does of course!).
- e -
Does FB for PHP no longer generate sample php class?
Before on Flash 4 and 4.5
Now on FB4.5 for PHP...
Does this mean we have 'do the arithmertic' to write the classes instead of just expanding off the generated code?Sure, but I am going to use this article in my answer which describes the full workflow http://www.adobe.com/devnet/flash-builder/articles/introducing-flashbuilder45-php.html
after you create a project and write your service as a PHP class, you should right click in the Explorer on the PHP class and select "Create PHP Service for Flex".
This is the relevant part in the article:
1. Right-click the file with the class that you want to introspect and select Create PHP Service for Flex (see Figure 3).
Figure 3. Selecting Create PHP Service For Flex to introspect a PHP class.
Roy -
Generate sample CFC Service for Oracle 11g problem
Hello,
i am facing problem with Generating cfc from RDS datasource for oracle database 11g , i can borows the tables and fields
in the RDS Dataview but i cant Generate the CFC using the option of Generate from RDS datasoures , if i chose it it takes long time
and the flash builder is frazed and not responding if i try to select the table wich i want to create that CFC for . i have the correct
Oracle jdbc driver for that database version and also if i generate from template and try to create the return datatype it dosent
give me the correct datatype of the oracle table .. please help
thanksThe main problem that i am not able to select the table from the table lists to start generate the CFC
No there is no database objects in oracle starts with numbers , but most of thim having the ($) charactier in there names , i am not getting the correct datatypes , the num
bers datatype in oracle is presenting with Object datatype in flex .
i mean if you have a field with Number(6.2) in oracle the flash builder use Object datatype
and i am using the latest nightbuild of flash builder do i have to download something else ? -
PHP Connection in Flash Builder 4
Hi
Sorry if this is in the wrong place. I could see nowhere else to ask this question.
I am very, very new to Flash Builder (in fact, I am following a tutorial on building a data-centric application using Flash catalyst CS5 and Flash Builder 4).
The problem I am having is that I cannot seem to validate the data connection in Flash Builder 4.
For my project, I click "Connect to Data/Service" then select PHP. I select Flex Server and change the "Application Server Type" to PHP.
The page I then get asks for a Web Root and Root URL. This is where I'm having problems. No matter what I type in these boxes, when clicking the "Validate Configuration", I get the error of "Cannot access the web server".
I have Apache and PHP installed on this Windows 7 64-bit machine.
The Web root folder for my site is actaully held on my D drive, so web root reads.. "D:\Web Files\Site".
The URL for this local site is http://site.local
I can browse to http://site.local in my browser and all is well. My site shows. I can even see this fine in Flash Builder's Internal web browser.
I have tried moving the web root folder inside the default apache root htdocs folder, but get the same problem. I have even changed the permissions on all folders to allow full control, but this doesn't help.
I really am starting to tear my hair out now. Can someone please help me? Am I doing something obviously wrong?
Many ThanksDid you install apache / php / (optionally mysql) separately or in a bundle. I would suggest using xampp bundle, because it configures everything correctly along with installing a few helpful tools like phpmyadmin, etc. Great fast setup for testing purposes. Anyway... about the URL: I think the url you should be using is something like http://localhost/yourprojectfolder/...
Presuming you have set up a project... and selected the option PHP at application server type you would then input (in my case, using the default xampp setup):
Web root: C:\xampp\htdocs
Root url: http://localhost
Output folder: C:\xampp\htdocs\<projectname_here>-debug
The url you d input in the browser to navigate to your project would then be: http://localhost/<projectname_here>-debug
(no index.html at the end, provided your server is setup to serve this file automatically if it exists)
Hope this helps!
Maybe you are looking for
-
Is there a maximum size for photos imported in a slideshow ? I cannot anymore put my slide show into a wmv file.
-
Why did updating to iOS 8.3 crash my iPhone 5s?
After I downloaded the huge iOS 8.3 update, the last thing I expected was for my phone to stop working. The screen displayed an iTunes logo and the power cord, so I hooked it up to my computer to do a restore (just praying that maybe my hundreds of b
-
E51 Balance checking restart Necessary
After calling someone from airtel( Airtel is network operator in India) if Balance checking is done using *123# immediately after call, you get message balance could not be known. After this, Then Contacts calling wont happen at all and checking bala
-
2.1 EA2: Date columns displayed wrong in Grid
Hello Forum, I have an issue displaying the values of DATE columns. I have set NLS_DATE_FORMAT to "DD.MM.YYYY HH24:MI:SS" but every time information is displayed as 00:00:00 but only in the grid view. When I do a select sysdate from dual; and press F
-
Enable 3D Measuring for Adobe Reader in PDF saved by Acrobat Pro Ext plugin
Hello, I'm developing a plugin for Adobe Acrobat Pro Extended to embed a 3D object in a PDF. I would like to enable Adobe Reader users to measure the 3D object on the saved file, like you can do with the menu "Advanced"->"Extend Features in Adobe Rea