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# 64228

2015.1 Vivado - Lab tools edition gives java.lang.NullPointerException when changing dashboard

Description

I open my project and dashboard. 

After connecting to the hardware, when I make any change to the dashboard, I receive the following java.lang.NullPointerException:

Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at ui.g.h.d(SourceFile:274)
at ui.g.h.f(SourceFile:195)
at ui.g.N.f(SourceFile:1306)
at ui.frmwork.a.e.dispatchEvent(SourceFile:81)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1654)
at java.awt.Component.setVisible(Component.java:1606)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at ui.b.b.P.setVisible(SourceFile:891)
at ui.b.b.cp.abN(SourceFile:904)
at ui.b.b.cA.actionPerformed(SourceFile:918)
at ui.b.b.cp.cuy(SourceFile:571)
at ui.views.b.m.M.actionPerformed(SourceFile:119)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)

Solution

This java.lang.NullPointerException will occur if the <project>_hw directory under the open project does not have write permissions.

Example scenario:

  1. Engineer 1 owns Vivado project and generates the bitstream 
  2. Engineer 1 asks Engineer 2 to open the lab project (lpr) in the Vivado project directory
  3. Engineer 2 goes back to lab, opens Stand Alone Lab Edition, points to the project>_hw/<project>.lpr file in Engineer 1 directory.
  4. Engineer 2 does not have write permissions to the directory.


Note that even if an engineer tries a project Save_as, the directory permissions will be retained for the new project.

The permissions of the <project>_hw  will need to be changed from the system (for example, chmod 775 my_prj/myproj_hw).

This issue will be fixed in Vivado 2015.2.


AR# 64228
Date Created 04/10/2015
Last Updated 04/30/2015
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2015.1