Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
145 views
in Technique[技术] by (71.8m points)

linux - Application crashes and reports Java error

Actually this is not a Java programming question, but I don't see where it would belong otherwise:

Xilinx Vivado 2018.03 comes with an own java environment and runs fine on a system with Ubuntu 18.04. Now I'm switching to Arch Linux. Originally, the Vivado installer worked, and I could start the application.

After a reboot (and maybe a first pacman system upgrade), Vivado crashes at startup.

start_gui
Exiting Vivado with a status code -1 at 1/21/21, 9:24:37 PM CET...

Also the installer crashes.

Logfiles show Java eror messages (see below).

Vivado 2020.02 works just fine on the Arch system, but in my project I'm supposed to use Vivado 2018.03 for compatibility reasons.

Maybe someone can help out what's the origin of the Java error, which could help me to fix it.

Given the error messages, my guess is that it is some problem with the graphic environment (Xorg, XFCE4):

vivado.log:

#-----------------------------------------------------------
# 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
# Start of session at: Thu Jan 21 21:24:26 2021
# Process ID: 4180
# Current directory: [...]
# Command line: vivado
# Log file: [...]
# Journal file: [...]
#-----------------------------------------------------------
start_gui
ERROR: [Vivado 12-106] *** Exception: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0 (See [...])

vivado_pid4180.debug:

#--------------------------------------------------------------------------
# Xilinx 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
# Current time: Thu Jan 21 21:24:37 CET 2021
# Process ID (PID): 4180
# User: [...]
# OS: NAME="Arch Linux"
#
# This file is an indication that an internal application error occurred.
# This information is useful for debugging. Please open a case with Xilinx.
# Technical Support with this file and a testcase attached.
#--------------------------------------------------------------------------
Thu Jan 21 21:24:37 CET 2021
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.setLookAndFeel(SyntheticaLookAndFeel.java:3721)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.setLookAndFeel(SyntheticaLookAndFeel.java:3652)
    at ui.utils.lnf.f.a(SourceFile:466)
    at ui.utils.lnf.f.f(SourceFile:390)
    at ui.PlanAhead.ew(SourceFile:861)
    at ui.PlanAhead.fd(SourceFile:534)
    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)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at java.desktop/sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
    at java.desktop/sun.font.CompositeStrike.getFontMetrics(Unknown Source)
    at java.desktop/sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
    at java.desktop/sun.font.FontDesignMetrics.<init>(Unknown Source)
    at java.desktop/sun.font.FontDesignMetrics.getMetrics(Unknown Source)
    at java.desktop/sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
    at java.desktop/javax.swing.JComponent.getFontMetrics(Unknown Source)
    at de.javasoft.plaf.synthetica.styles.TableStyle.get(TableStyle.java:71)
    at java.desktop/javax.swing.plaf.synth.SynthTableUI.updateStyle(Unknown Source)
    at java.desktop/javax.swing.plaf.synth.SynthTableUI.installDefaults(Unknown Source)
    at java.desktop/javax.swing.plaf.basic.BasicTableUI.installUI(Unknown Source)
    at java.desktop/javax.swing.JComponent.setUI(Unknown Source)
    at java.desktop/javax.swing.JTable.setUI(Unknown Source)
    at java.desktop/javax.swing.JTable.updateUI(Unknown Source)
    at java.desktop/javax.swing.JTable.<init>(Unknown Source)
    at java.desktop/javax.swing.JTable.<init>(Unknown Source)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.installCompatibilityDefaults(SyntheticaLookAndFeel.java:1243)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.installCompatibilityDefaults(SyntheticaLookAndFeel.java:1039)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.setFont(SyntheticaLookAndFeel.java:1732)
    at de.javasoft.plaf.synthetica.StyleFactory.getStyle(StyleFactory.java:342)
    at de.javasoft.plaf.synthetica.StyleFactory.getStyle(StyleFactory.java:257)
    at java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.getStyle(Unknown Source)
    at java.desktop/javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(Unknown Source)
    at java.desktop/javax.swing.plaf.synth.SynthButtonUI.updateStyle(Unknown Source)
    at java.desktop/javax.swing.plaf.synth.SynthButtonUI.installDefaults(Unknown Source)
    at java.desktop/javax.swing.plaf.basic.BasicButtonUI.installUI(Unknown Source)
    at java.desktop/javax.swing.JComponent.setUI(Unknown Source)
    at java.desktop/javax.swing.AbstractButton.setUI(Unknown Source)
    at java.desktop/javax.swing.JButton.updateUI(Unknown Source)
    at java.desktop/javax.swing.AbstractButton.init(Unknown Source)
    at java.desktop/javax.swing.JButton.<init>(Unknown Source)
    at java.desktop/javax.swing.JButton.<init>(Unknown Source)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.installCompatibilityDefaults(SyntheticaLookAndFeel.java:1138)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.installCompatibilityDefaults(SyntheticaLookAndFeel.java:1039)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel$4.propertyChange(SyntheticaLookAndFeel.java:862)
    at java.desktop/java.beans.PropertyChangeSupport.fire(Unknown Source)
    at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
    at java.desktop/javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(Unknown Source)
    at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
    at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
    at java.desktop/javax.swing.UIManager.setLookAndFeel(Unknown Source)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.setLookAndFeelWorkaround(SyntheticaLookAndFeel.java:3740)
    at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.setLookAndFeel(SyntheticaLookAndFeel.java:3717)
    ... 20 more

vivado_pid4180.str with some information on the Java environment:

Xilinx Vivado v2018.3 (64-bit) [Major: 2018, Minor: 3]
SW Build: 2405991 on Thu Dec  6 23:36:41 MST 2018
IP Build: 2404404 on Fri Dec  7 01:43:56 MST 2018

Process ID (PID): 4180
License: Customer

[...]

OS: NAME="Arch Linux"
OS Version: 5.10.8-arch1-1
OS Architecture: amd64
Available processors (cores): 16

Display: :0.0
Screen size: 1920x1080
Screen resolution (DPI): 96
Available screens: 2
Available disk space: 221 GB
Default font: family=Dialog,name=Dialog,style=plain,size=12

Java version:   9.0.4 64-bit
Java home:  /opt/Xilinx/Vivado/2018.3/tps/lnx64/jre9.0.4
Java executable location:   /opt/Xilinx/Vivado/2018.3/tps/lnx64/jre9.0.4/bin/java
Java initial memory (-Xms):     128 MB
Java maximum memory (-Xmx):  3 GB

[...]

RDI_BASEROOT: /opt/Xilinx/Vivado
HDI_APPROOT: /opt/Xilinx/Vivado/2018.3
RDI_DATADIR: /opt/Xilinx/Vivado/2018.3/data
RDI_BINDIR: /opt/Xilinx/Vivado/2018.3/bin

Vivado preferences file location: [...]
Vivado preferences directory: [...]
Vivado layouts directory: null
PlanAhead jar file location:    /opt/Xilinx/Vivado/2018.3/lib/classes/planAhead.jar


[...]

Xilinx Environment Variables
----------------------------
XILINX: /opt/Xilinx/Vivado/2018.3/ids_lite/ISE
XILINX_DSP: /opt/Xilinx/Vivado/2018.3/ids_lite/ISE
XILINX_PLANAHEAD: /opt/Xilinx/Vivado/2018.3
XILINX_SDK: /opt/Xilinx/SDK/2018.3
XILINX_VIVADO: /opt/Xilinx/Vivado/2018.3
XILINX_VIVADO_HLS: /opt/Xilinx/Vivado/2018.3


GUI allocated memory:   128 MB
GUI max memory:     3,072 MB
Engine allocated memory: 703 MB

Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

*/

// TclEventType: START_GUI
/*
#--------------------------------------------------------------------------
# Xilinx 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
# Current time: Thu Jan 21 21:24:37 CET 2021
# Process ID (PID): 4180
# OS: NAME="Arch Linux"
# User: [...]
#
# This file is an indication that an internal application error occurred.
# This information is useful for debugging. Please open a case with Xilinx.
# Technical Support with this file and a testcase attached.
#--------------------------------------------------------------------------
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0 (See[...])
*/

// Exiting Vivado with a status code 0 at 1/21/21, 9:24:37 PM CET...
// Elapsed time: 00:00:01

Any ideas what's the problem here? Thanks!

question from:https://stackoverflow.com/questions/65887096/application-crashes-and-reports-java-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...