Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is:issue is:open ANNIS 4 crashes on Kubuntu 21.04 #702

Closed
novacellus opened this issue Aug 1, 2021 · 1 comment · Fixed by #704
Closed

is:issue is:open ANNIS 4 crashes on Kubuntu 21.04 #702

novacellus opened this issue Aug 1, 2021 · 1 comment · Fixed by #704
Labels

Comments

@novacellus
Copy link

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

obraz

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
@novacellus novacellus added the bug label Aug 1, 2021
@thomaskrause
Copy link
Member

Thanks for the bug report, there is some code to handle exceptions and prompt the user to manually open the site in

} catch (IOException | URISyntaxException ex) {
but it seems the UnsupportedOperationException was missed. I will also check if there is a workaround for KDE systems to actually automatically open the browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants