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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer elliotm00
Observer
474 Views
Registered: ‎12-22-2015

Java null pointer when trying to start Vivado 2018.3

Jump to solution

I've been using multiple versions of Vivado for several years. When I tried to move from 2017.4 to 2018.3, whenever I try to start Vivado, I get a null pointer exception in Jave (see below). I also tried to use 2018.1, which sort of worked, except any time I did something with a window, there would be a java exception, but Vivado continued to run (although the synthesis results did not match that of an earlier version).

Running on RHEL6.7.

Thanks.

$ java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

$ vivado

****** Vivado v2018.3 (64-bit)
**** SW Build 2405991 on Thu Dec 6 23:36:41 MST 2018
**** IP Build 2404404 on Fri Dec 7 01:43:56 MST 2018
** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

start_gui
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at ui.PlanAhead.eq(SourceFile:519)
at ui.PlanAhead.ex(SourceFile:881)
at ui.PlanAhead.a(SourceFile:1609)
at ui.frmwork.b.l.d(SourceFile:41)
at ui.frmwork.HTclEventBroker.i(SourceFile:255)
at ui.frmwork.HTclEventBroker.fireTclEvent(SourceFile:350)
Caused by: java.lang.NullPointerException
at java.desktop/sun.awt.X11.XWindowPeer.setToplevelTransientFor(Unknown Source)
at java.desktop/sun.awt.X11.XWindowPeer.postInit(Unknown Source)
at java.desktop/sun.awt.X11.XBaseWindow.init(Unknown Source)
at java.desktop/sun.awt.X11.XBaseWindow.<init>(Unknown Source)
at java.desktop/sun.awt.X11.XWindow.<init>(Unknown Source)
at java.desktop/sun.awt.X11.XComponentPeer.<init>(Unknown Source)
at java.desktop/sun.awt.X11.XCanvasPeer.<init>(Unknown Source)
at java.desktop/sun.awt.X11.XPanelPeer.<init>(Unknown Source)
at java.desktop/sun.awt.X11.XWindowPeer.<init>(Unknown Source)
at java.desktop/sun.awt.X11.XToolkit.createWindow(Unknown Source)
at java.desktop/java.awt.Window.addNotify(Unknown Source)
at java.desktop/java.awt.Window.pack(Unknown Source)
at ui.utils.i.ae.create(SourceFile:36)
at ui.PlanAhead.fd(SourceFile:529)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at ui.frmwork.b.d.dispatchEvent(SourceFile:88)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
java.lang.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at ui.PlanAhead.i(SourceFile:1505)
at ui.PlanAhead.eq(SourceFile:585)
at ui.PlanAhead.ex(SourceFile:881)
at ui.PlanAhead.a(SourceFile:1609)
at ui.frmwork.b.l.d(SourceFile:41)
at ui.frmwork.HTclEventBroker.i(SourceFile:255)
at ui.frmwork.HTclEventBroker.fireTclEvent(SourceFile:350)
Caused by: java.lang.NullPointerException
at ui.utils.o.e.m.getBorderInsets(SourceFile:816)
at java.desktop/javax.swing.JComponent.setBorder(Unknown Source)
at ui.utils.o.w.Y.setBorder(SourceFile:398)
at ui.utils.o.e.l.<init>(SourceFile:802)
at ui.utils.o.e.k.<init>(SourceFile:758)
at ui.utils.o.e.e.P(SourceFile:138)
at ui.utils.o.e.e.<init>(SourceFile:83)
at ui.utils.o.e.e.<init>(SourceFile:87)
at ui.bg.<init>(SourceFile:576)
at ui.ba.bs(SourceFile:200)
at ui.at.aV(SourceFile:82)
at ui.at.<init>(SourceFile:63)
at ui.bm.bO(SourceFile:1030)
at ui.bm.create(SourceFile:523)
at ui.bm.<init>(SourceFile:158)
at ui.de.a(SourceFile:1396)
at ui.de.run(SourceFile:1359)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at ui.frmwork.b.d.dispatchEvent(SourceFile:88)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Failed to open 'Vivado application'. Please check your system resources and launch again.

 

0 Kudos
1 Solution

Accepted Solutions
Observer elliotm00
Observer
423 Views
Registered: ‎12-22-2015

Re: Java null pointer when trying to start Vivado 2018.3

Jump to solution

I've traced the problem to the Linux windows manager. We use Leostream to connect to the servers, and the NoMachine client. When I use the floating windows option, Vivado can't launch the GUI. This is a new issue. Vivado previously worked. I will be filing a ticket. If I use a normal KDE ot Gnome manager, it works fine.

0 Kudos
1 Reply
Observer elliotm00
Observer
424 Views
Registered: ‎12-22-2015

Re: Java null pointer when trying to start Vivado 2018.3

Jump to solution

I've traced the problem to the Linux windows manager. We use Leostream to connect to the servers, and the NoMachine client. When I use the floating windows option, Vivado can't launch the GUI. This is a new issue. Vivado previously worked. I will be filing a ticket. If I use a normal KDE ot Gnome manager, it works fine.

0 Kudos