phoenicis
phoenicis copied to clipboard
Blank Screen on launch
Expected behavior
The ability to see the application on launch.
Actual behavior
I have just a white box for a window. If I resize the window I get brief glimpses of whats in the window. But it disappears as fast as it appears.
Steps to reproduce
Build inside the Linux container on ChromeOS. Install via flatpak and run.
System information
Master Branch * software version (git revision) of phoenicis and scripts repositories ChromeOS inside Linux container * used operating system Java-11 * used Java version
Can you try with #2216? There is an issue with graal and flatpak (not quite sure if it is what you experience though).
Rebuilt from source and installed using Deb off Branch 2216 still can't see the Phoenicis main interface. Same behavior: I can briefly see the interface when resizing. I did catch a warning about: "module org.graalvm.truffle does not exist". But it still builds successfully so not sure if that's related or not.
Full error message on build:
[USER]@[HOST]:~/git-stuff/phoenicis/phoenicis-dist/src/scripts$ bash phoenicis-create-package.sh Warning: Version not specified. Reading from pom.xml Using 5.0-SNAPSHOT WARNING: argument [linux-bundle-name] is not supported for current configuration. Creating app bundle: /home/[USER]/git-stuff/phoenicis/phoenicis-dist/src/scripts/../../target/packages/PhoenicisPlayOnLinux Module org.graalvm.truffle does not exist. Module javafx.web does not exist. Module javafx.base does not exist. Module javafx.graphics does not exist. Module javafx.controls does not exist. Module javafx.media does not exist. "Adding modules: [jdk.crypto.ec, java.base, javafx.base, javafx.web, javafx.media, javafx.graphics, javafx.controls, java.naming, java.sql, java.scripting, jdk.internal.vm.ci, org.graalvm.truffle, java.management] to runtime image." Module org.graalvm.truffle does not exist. Module javafx.web does not exist. Module javafx.base does not exist. Module javafx.graphics does not exist. Module javafx.controls does not exist. Module javafx.media does not exist. dpkg-deb: building package 'phoenicis-playonlinux' in 'Phoenicis_5.0-SNAPSHOT.deb'.
The same if you do the following?
mvn clean package install
cd phoenicis-javafx
mvn exec:java
Yes the same. But the launch from CLI revealed this message: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
I've never seen this issue. Which Java do you have? OpenJDK?
Open JDK. See below for what I get when I launch and Java version. I will re-note. I can briefly see whats in the window when I re-size it. Even the pop up box to confirm closing the program and can't see. I've just figured out to tab twice and then things close. I'm using an OG Pixelbook with the i5.
Do you know if other JavaFX applications have the same issue on your setup?
I am not sure. I don't know that I'm using any other JavaFX apps on that machine.
Could you try? Would be interesting to know if it's a general issue with JavaFX.