is:issue is:open ANNIS 4 crashes on Kubuntu 21.04
Closed this issue · 1 comments
novacellus commented
Describe the bug
ANNIS 4 fails to start on Kubuntu 20.10. It appears to be caused by the java.awt.Desktop.browse method which doesn't seem to be well supported in the KDE.
To Reproduce
Steps to reproduce the behavior:
java -jar annis-4.0.0-beta.6-desktop.jar
Expected behavior
The url can be open by the user, but the bug results in program crash.
Screenshots
Desktop (please complete the following information):
- Operating System: Kubuntu 21.04, KDE Plasma Version: 5.21.4, Qt Version: 5.15.2
Kernel Version: 5.11.0-25-generic, Graphics Platform: X11 - Java Version: tested with both openjdk version "1.8.0_292" and openjdk version "11.0.11" 2021-04-20
- ANNIS Version: annis-4.0.0-beta.6-desktop.jar
thomaskrause commented
Thanks for the bug report, there is some code to handle exceptions and prompt the user to manually open the site in
but it seems theUnsupportedOperationException
was missed. I will also check if there is a workaround for KDE systems to actually automatically open the browser.