Cannot call showSaveDialog in JavaFX on Ubuntu 13.10 - java

I'm trying to call showSaveDialog in the following way:
FileChooser fileChooser = new FileChooser();
fileChooser.setTitle(title);
return fileChooser.showSaveDialog(null);
But the whole program is aborted with the following output:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f7d783e3500, pid=22008, tid=140176664483584
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libgdk-x11-2.0.so.0+0x6a500] gdk_window_set_geometry_hints+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/sk_/projects/mjolnirr/hs_err_pid22008.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
How can I get it working?

Had this when using vlcj and fixed it by adding JVM option -DVLCJ_INITX=no
Found solution here

Related

I get an error whenever I try runnning my mcp client

I'm trying to run my mcp (minecraft coder pack) client in eclipse. I'm on macos catalina and I get this error all the time
Here is my error
[19:41:45] [Client thread/INFO]: (Session ID is token:0:Player380)
[19:41:48] [Client thread/INFO]: LWJGL Version: 2.9.2
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00007fff2dba7abc, pid=21640, tid=9731
#
# JRE version: OpenJDK Runtime Environment (16.0.1+9) (build 16.0.1+9-24)
# Java VM: OpenJDK 64-Bit Server VM (16.0.1+9-24, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# Problematic frame:
# C [AppKit+0x3e5abc] -[NSOpenGLContext setView:]+0xe5
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/palmtrww/Desktop/ce poopy/jars/hs_err_pid21640.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#``

In Linux, Java uses Rxtx serial port to appear abnormal, but Windows is work

In Linux, Java uses Rxtx serial port to appear abnormal, but Windows works.
when i click 'start' button, jvm error :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f83aa558d9d, pid=21887, tid=0x00007f83aa316700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_171-b11) (build 1.8.0_171-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [librxtxSerial.so+0x6d9d] read_byte_array+0x3d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/Workspaces/MyEclipse 2017/telegram/hs_err_pid21887.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

A fatal error has been detected by the Java Runtime Environment: talend

I was trying to run talend open studio for data integration on Ubuntu server(headless) in AWS, while opening talend it’s throwing an error:
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000000000000000, pid=3116, tid=0x00007fd3231ed700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ra003/Desktop/hs_err_pid3116.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I have atttached a log file of error here PFA
I am not able to understand what is the issue. Can anyone tell me how to resolve it?

A fatal error has been detected by the Java Runtime Environment in Windows 10

I'm getting an error when try to open a Java Program in Windows 10.
Below I post the output log from my program:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff8bdd7466d, pid=5392, tid=5188
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [VBoxD3D9wddm.dll+0x466d]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
If someone can help me to find a solution for this, I would be very grateful.
Turn off the VM
In the settings of the VM, go into the "Display" section.
Uncheck "Enable 3D Acceleration"
Reboot

Eclipse crashes while trying to export application

I tried to export my android application and it just crashed with the following code. Tried several times still the error stays glued. Anyway out of this?
Following is the Log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00007fea9e58ee3e, pid=4241, tid=140644277511936
#
# JRE version: OpenJDK Runtime Environment (7.0_55-b14) (build 1.7.0_55-b14)
# Java VM: OpenJDK 64-Bit Server VM (24.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libc.so.6+0x98e3e] envz_strip+0x61e
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/adt-bundle-linux-x86_64-20140624/eclipse/hs_err_pid4241.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
First right click on the project and refresh it. Then export it using archive file.
I hope this solves your problem.

Categories

Resources