UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 60626

2014.1 SDK java.lang.NullPointerException

Description

I am getting a java.null value exception when I launch any application from the SDK from my newly installed 2014.1 Vivado installation.

This happens with any application for my design.

This also happens with a new project start.

This was working previously in the 2013.4 release.

The Error Message received is below:

08:24:42 ERROR : Unexpected error while launching program.
java.lang.NullPointerException
at com.xilinx.sdk.debug.core.XilinxAppLaunchConfiguration
Delegate.isFpgaConfigured(XilinxAppLaunchConfigurati
onDelegate.java:293)
at com.xilinx.sdk.debug.core.XilinxAppLau
nchConfigurationDelegate.launch(XilinxAppLaunchConfi
gurationDelegate.java:244)
at com.xilinx.sdk.debug.ui.XilinxAppLaunchDelegateWrapper.lau
nch(XilinxAppLaunchDelegateWrapper.java:31)
at org.eclipse.debug.internal.core.LaunchCon
figuration.launch(LaunchConfiguration.java:855)
at org.eclipse.debug.internal.core.Launc
hConfiguration.launch(LaunchConfiguration.java:704)
at org.eclipse.debug.internal.ui.Deb
ugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)
at org.eclipse.debug.internal.ui.Debu
gUIPlugin$8.run(DebugUIPlugin.java:1251)
at org.eclipse.core.internal.jobs.Worker.run(Wo
rker.java:54)

Solution

The problem occurs when Eclipse generates a Run/Debug configuration but does not fill the "Project Name" field.
 
To work around this, allow Eclipse to generate a Run/Debug configuration and then do the following:
 

  1. Click on the pull down menu near the run/debug icon on the toolbar and select run/debug configurations.
     
  2. Select the generated Run/Configuration.
     
  3. Select the Application tab.
     
  4. Click on the "Browse..." button corresponding to the Project Name field.
     
  5. Select Project on list, then Ok.
     
  6. Click on Run/Debug.
AR# 60626
Date Created 05/13/2014
Last Updated 08/06/2014
Status Active
Type General Article
Devices
  • FPGA Device Families
  • SoC
Tools
  • Vivado Design Suite - 2014.1