×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    On launch: "Error within Debug UI": java.lang.reflect.InvocationTargetException

    I get the error in the title when I try to launch my application. I've connected the phone to the PC over USB and verified TRK worked on a sample project. On this more complex project I get this error.

    Wishlist item: could we see the full tracebacks in these error popups? They would help a lot in figuring out what's going on. The complete traceback was found in the logfile (workspace\.metadata\.log) and is attached below.

    The project is the Python for S60 1.3.21 source code, configured for GCCE UDEB and built within Carbide.
    Code:
    !ENTRY org.eclipse.debug.ui 4 120 2007-04-25 17:55:53.579
    !MESSAGE Error within Debug UI: 
    !STACK 0
    java.lang.reflect.InvocationTargetException
    	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
    	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
    	at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:265)
    	at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:894)
    	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    	at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:929)
    	at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:904)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin.launchInForeground(DebugUIPlugin.java:834)
    	at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:526)
    	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchPressed(LaunchConfigurationsDialog.java:955)
    	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.buttonPressed(LaunchConfigurationsDialog.java:304)
    	at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
    	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
    	at org.eclipse.jface.window.Window.open(Window.java:796)
    	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
    	at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:383)
    	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:387)
    	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:329)
    	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
    	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:99)
    	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    	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.core.launcher.Main.invokeFramework(Main.java:336)
    	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    	at org.eclipse.core.launcher.Main.run(Main.java:977)
    	at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: java.lang.NullPointerException
    	at org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyBinary(AbstractCLaunchDelegate.java:687)
    	at com.nokia.cdt.debug.launch.TRKLaunchDelegate.launch(Unknown Source)
    	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)
    	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin$5.run(DebugUIPlugin.java:827)
    	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Root exception:
    java.lang.NullPointerException
    	at org.eclipse.cdt.launch.AbstractCLaunchDelegate.verifyBinary(AbstractCLaunchDelegate.java:687)
    	at com.nokia.cdt.debug.launch.TRKLaunchDelegate.launch(Unknown Source)
    	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:639)
    	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:565)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:754)
    	at org.eclipse.debug.internal.ui.DebugUIPlugin$5.run(DebugUIPlugin.java:827)
    	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

  2. #2
    Super Contributor
    Join Date
    Dec 2004
    Posts
    643

    Re: On launch: "Error within Debug UI": java.lang.reflect.InvocationTargetException

    Problem solved. I hadn't defined the executable file in the launch settings.

Similar Threads

  1. Unable to debug with Netbeans 5.5 & S60_2nd_FP3_MIDP_SDK
    By GuusDavidson in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2007-11-15, 13:20
  2. Debugger: Exception occurred during launch (Error within Debug UI)
    By tplehton in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-04-03, 09:22
  3. WAP upload / Content-Type header is lost at WAP gateway
    By rabai in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2004-02-24, 11:59
  4. using th debug monitor
    By evertse in forum Symbian
    Replies: 0
    Last Post: 2003-10-22, 08:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •