4 Replies Latest reply on Sep 16, 2010 9:44 PM by Radhakrishna Bhat

    Generate sample PHP service from db could not set primary key

    biyd

      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!