Bug? B4J Graphical User Interface error with Linux Wayland

bfg

New Member
Hi,
I'm using B4JPackager11 to export packages (GUI) in Linux desktop.
My export works very well in Archlinux Xfce/X11 but fails with Ubuntu 21.10 Wayland based.
(java:6154): Gdk-CRITICAL **: 13:27:44.408: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fed0a243ac0, pid=6154, tid=6179
#
# JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13)
# Java VM: OpenJDK 64-Bit Server VM (11.0.1+13, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# C [libX11.so.6+0x2bac0] XInternAtom+0x40
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/bfg/B4J/temp/build/bin/core.6154)
#
# An error report file with more information is saved as:
# /home/bfg/B4J/temp/build/bin/hs_err_pid6154.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.
#
./run.command: riga 4: 6154 Annullato (core dump creato) ./java @release_java_modules.txt -m b4j/b4j.MyFirstProgram.main
Wayland is the future in Linux desktop so I think it's useful to find a workaround...
At the moment there are hints that I can try?
Many thanks
 
Top