1 Reply Latest reply on Mar 24, 2012 4:07 AM by anand.srinivasan.asokan

    eclipse java.io.IOException

    kai.klein

      Hello,

         

       

         

      i try to run the cypress examples, but i get a java.io.IOException ?

         

      has someone a ideer whats wrong here.

         

      Cannot run program "C:\Program Files\Cypress\EZ-USB FX3 SDK\1.0\firmware\serialif_examples\cyfxgpioapp\Debug\GpioApp.elf": Launching failed

         

       

         

      java.io.IOException: Cannot run program "C:\Program Files\Cypress\EZ-USB FX3 SDK\1.0\firmware\serialif_examples\cyfxgpioapp\Debug\GpioApp.elf": Launching failed
          at org.eclipse.cdt.utils.spawner.Spawner.exec(Spawner.java:251)
          at org.eclipse.cdt.utils.spawner.Spawner.<init>(Spawner.java:59)
          at org.eclipse.cdt.utils.spawner.ProcessFactory.exec(ProcessFactory.java:89)
          at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.exec(LocalCDILaunchDelegate.java:380)
          at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.runLocalApplication(LocalCDILaunchDelegate.java:95)
          at org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate.launch(LocalCDILaunchDelegate.java:69)
          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
          at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
          at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
          at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

         

      another failture is, if i like to add debug configurations

         

      eclipse: Run->Debug Configurations

         

      i click on GDB Hardware Debugging and add new lunch configuration.

         

      i get the following error: Problems occurred when invoking code from plug-in: "org.eclipse.jface".

         

      java.lang.NoSuchMethodError: org.eclipse.cdt.debug.gdbjtag.ui.GDBJtagDSFDebuggerTab.scheduleUpdateJob()V
          at org.eclipse.cdt.debug.gdbjtag.ui.GDBJtagDSFDebuggerTab.access$1(GDBJtagDSFDebuggerTab.java:1)
          at org.eclipse.cdt.debug.gdbjtag.ui.GDBJtagDSFDebuggerTab$2.modifyText(GDBJtagDSFDebuggerTab.java:165)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
          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:1008)
          at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2526)
          at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4082)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:3949)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
          at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
          at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2314)
          at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036)
          at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:4619)
          at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)
          at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3265)
          at org.eclipse.swt.widgets.Text.setText(Text.java:1961)
          at org.eclipse.cdt.debug.gdbjtag.ui.GDBJtagDSFDebuggerTab.initializeFrom(GDBJtagDSFDebuggerTab.java:369)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.initializeFrom(LaunchConfigurationTabGroupWrapper.java:201)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:802)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.java:678)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:695)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.java:657)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:633)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:916)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$3.selectionChanged(LaunchConfigurationsDialog.java:544)
          at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:864)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.core.runtime.Platform.run(Platform.java:888)
          at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
          at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
          at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:862)
          at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1670)
          at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1124)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.handleConfigurationAdded(LaunchConfigurationView.java:282)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.access$1(LaunchConfigurationView.java:272)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView$2.run(LaunchConfigurationView.java:261)
          at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
          at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
          at org.eclipse.jface.window.Window.open(Window.java:801)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1065)
          at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:398)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:406)
          at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:340)
          at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
          at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.runWithEvent(OpenLaunchDialogAction.java:89)
          at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
          at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
          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.Widget.sendEvent(Widget.java:1003)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
          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(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: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)
       

         

       

         

      can some one help me please ? i hope.

         

      best regards

         

      kai