Jameica/Hibiscus GUI startet nicht

smokephil

Betreff:

Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 26.07.2021 - 19:13 Uhr  ·  #160241
Hallo zusammen,

bei mir startet seit neuestem die Hibiscus GUI nicht mehr auf:
Code
$ jameica -s    

(java:60209): Gdk-WARNING **: 19:02:55.431: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
See the documentation for gdk_window_ensure_native() on how to get native windows.
[Mon Jul 26 19:02:55 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] starting in STANDALONE mode
[Mon Jul 26 19:02:55 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] workdir: null
[Mon Jul 26 19:02:55 CEST 2021][INFO][main][de.willuhn.jameica.system.Application.init] starting jameica...
[Mon Jul 26 19:02:55 CEST 2021][INFO][main][de.willuhn.jameica.system.BootstrapSettings.getProperties] reading /home/smokephil/.jameica.properties
[Mon Jul 26 19:02:55 CEST 2021][INFO][main][de.willuhn.jameica.system.WorkdirChooser.getWorkDir] asking user for workdir
de.willuhn.util.ApplicationException: Bitte versuchen Sie, Jameica erneut zu starten und wählen Sie einen anderen Benutzerordner.
  at de.willuhn.jameica.system.Platform.getWorkdir(Platform.java:164)
  at de.willuhn.jameica.system.Config.init(Config.java:71)
  at de.willuhn.jameica.system.Application.getConfig(Application.java:304)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:44)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:32)
  at de.willuhn.jameica.gui.GUI.<clinit>(GUI.java:74)
  at de.willuhn.jameica.system.Application.getController(Application.java:414)
  at de.willuhn.jameica.system.Application.getCallback(Application.java:426)
  at de.willuhn.jameica.system.Application.init(Application.java:97)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
  at de.willuhn.jameica.Main.main(Main.java:75)
Caused by: java.lang.NullPointerException
  at java.base/java.io.Reader.<init>(Reader.java:167)
  at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
  at org.eclipse.swt.graphics.Device.lambda$overrideThemeValues$0(Unknown Source)
  at org.eclipse.swt.graphics.Device.overrideThemeValues(Unknown Source)
  at org.eclipse.swt.graphics.Device.init(Unknown Source)
  at org.eclipse.swt.widgets.Display.init(Unknown Source)
  at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.getDefault(Unknown Source)
  at de.willuhn.jameica.system.WorkdirChooser.getWorkDir(WorkdirChooser.java:78)
  at de.willuhn.jameica.system.Platform.getWorkdir(Platform.java:121)
  ... 10 more
Exception in thread "main" java.lang.ExceptionInInitializerError
  at de.willuhn.jameica.system.Application.getController(Application.java:414)
  at de.willuhn.jameica.system.Application.getCallback(Application.java:426)
  at de.willuhn.jameica.system.Application.init(Application.java:97)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
  at de.willuhn.jameica.Main.main(Main.java:75)
Caused by: java.lang.NullPointerException
  at org.eclipse.swt.widgets.Display.addSkinnableWidget(Unknown Source)
  at org.eclipse.swt.widgets.Widget.reskinWidget(Unknown Source)
  at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
  at de.willuhn.jameica.system.ApplicationCallbackSWT.startupError(ApplicationCallbackSWT.java:201)
  at de.willuhn.jameica.system.Application.startupError(Application.java:186)
  at de.willuhn.jameica.system.Application.getConfig(Application.java:308)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:44)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:32)
  at de.willuhn.jameica.gui.GUI.<clinit>(GUI.java:74)
  ... 5 more


Code
$ cat .jameica.properties    
#created by smokephil
#Mon Jul 26 19:02:55 CEST 2021
ask=true
dir=/home/smokephil/.jameica
history.0=/home/smokephil/.jameica


Mein Betriebssystem: Archlinux
java: java-11-openjdk
Jameica: 2.10.0
Hibiscus 2.10.3

hibiscus

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 27.07.2021 - 07:54 Uhr  ·  #160242
Im Stacktrace findet sich:

Code

  at org.eclipse.swt.widgets.Display.addSkinnableWidget(Unknown Source)
  at org.eclipse.swt.widgets.Widget.reskinWidget(Unknown Source)


Wechsle mal dein GTK-Theme. An dem scheint irgendwas nicht zu stimmen.

smokephil

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 27.07.2021 - 22:10 Uhr  ·  #160244
Danke für die Antwort. Ich hab das jetzt mal mit mehreren GTK-Themes und DEs ausprobiert, bekomme jedoch immer den gleichen Fehler.

Code
$ GTK_THEME=Adwaita jameica

(java:73376): Gdk-WARNING **: 22:08:19.505: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
See the documentation for gdk_window_ensure_native() on how to get native windows.
[Tue Jul 27 22:08:19 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] starting in STANDALONE mode
[Tue Jul 27 22:08:19 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] workdir: null
[Tue Jul 27 22:08:19 CEST 2021][INFO][main][de.willuhn.jameica.system.Application.init] starting jameica...
[Tue Jul 27 22:08:19 CEST 2021][INFO][main][de.willuhn.jameica.system.BootstrapSettings.getProperties] reading /home/smokephil/.jameica.properties
[Tue Jul 27 22:08:19 CEST 2021][INFO][main][de.willuhn.jameica.system.WorkdirChooser.getWorkDir] asking user for workdir
de.willuhn.util.ApplicationException: Bitte versuchen Sie, Jameica erneut zu starten und wählen Sie einen anderen Benutzerordner.
  at de.willuhn.jameica.system.Platform.getWorkdir(Platform.java:164)
  at de.willuhn.jameica.system.Config.init(Config.java:71)
  at de.willuhn.jameica.system.Application.getConfig(Application.java:304)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:44)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:32)
  at de.willuhn.jameica.gui.GUI.<clinit>(GUI.java:74)
  at de.willuhn.jameica.system.Application.getController(Application.java:414)
  at de.willuhn.jameica.system.Application.getCallback(Application.java:426)
  at de.willuhn.jameica.system.Application.init(Application.java:97)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
  at de.willuhn.jameica.Main.main(Main.java:75)
Caused by: java.lang.NullPointerException
  at java.base/java.io.Reader.<init>(Reader.java:167)
  at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
  at org.eclipse.swt.graphics.Device.lambda$overrideThemeValues$0(Unknown Source)
  at org.eclipse.swt.graphics.Device.overrideThemeValues(Unknown Source)
  at org.eclipse.swt.graphics.Device.init(Unknown Source)
  at org.eclipse.swt.widgets.Display.init(Unknown Source)
  at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.getDefault(Unknown Source)
  at de.willuhn.jameica.system.WorkdirChooser.getWorkDir(WorkdirChooser.java:78)
  at de.willuhn.jameica.system.Platform.getWorkdir(Platform.java:121)
  ... 10 more
Exception in thread "main" java.lang.ExceptionInInitializerError
  at de.willuhn.jameica.system.Application.getController(Application.java:414)
  at de.willuhn.jameica.system.Application.getCallback(Application.java:426)
  at de.willuhn.jameica.system.Application.init(Application.java:97)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
  at de.willuhn.jameica.Main.main(Main.java:75)
Caused by: java.lang.NullPointerException
  at org.eclipse.swt.widgets.Display.addSkinnableWidget(Unknown Source)
  at org.eclipse.swt.widgets.Widget.reskinWidget(Unknown Source)
  at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Shell.<init>(Unknown Source)
  at de.willuhn.jameica.system.ApplicationCallbackSWT.startupError(ApplicationCallbackSWT.java:201)
  at de.willuhn.jameica.system.Application.startupError(Application.java:186)
  at de.willuhn.jameica.system.Application.getConfig(Application.java:308)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:44)
  at de.willuhn.jameica.system.Settings.<init>(Settings.java:32)
  at de.willuhn.jameica.gui.GUI.<clinit>(GUI.java:74)
  ... 5 more

hibiscus

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 28.07.2021 - 07:49 Uhr  ·  #160245
Äh, moment. Da steht doch: "Bitte versuchen Sie, Jameica erneut zu starten und wählen Sie einen anderen Benutzerordner." Unter Umständen ist Jameica aus irgend einem Grund beim Versuch abgestürzt, diese Fehlermeldung anzuzeigen. Die Meldung ist die eigentliche Ursache. Der ausgewählte Jameica-Benutzerordner darf sich nicht innerhalb des Programmordners von Jameica befinden, da sonst Programm- und Benutzerdaten gemischt werden würden. Siehe auch https://www.willuhn.de/wiki/do…nis_nutzen

Daher: Lasse mal beim Start entweder die Vorauswahl des Benutzerordners ("/home/<username>/.jameica") oder wähle einen anderen Ordner, der sich aber nicht im Jameica-Programmordner befindet und in dem du Schreibrechte hast.

smokephil

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 28.07.2021 - 09:59 Uhr  ·  #160247
Ok jetzt hat sich die Fehlermeldung geändert:

Code
$ jameica -f ~/test   
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] starting in STANDALONE mode
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] workdir: /home/smokephil/test
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.Application.init] starting jameica...
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.Platform.getWorkdir] using workdir: /home/smokephil/test
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.Platform.getWorkdir] creating /home/smokephil/test
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.Config.getConfigDir] creating /home/smokephil/test/cfg
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.Config.getLocale] checking resource bundle for language
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.system.Config.getLocale] active language: de_DE
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.util.I18N.<init>] loading resource bundle lang/system_messages for locale de_DE

(java:98537): Gdk-WARNING **: 09:57:36.206: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
See the documentation for gdk_window_ensure_native() on how to get native windows.
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.plugin.Manifest.<init>] Jameica 2.10.0
[Wed Jul 28 09:57:36 CEST 2021][INFO][main][de.willuhn.jameica.plugin.Manifest.<init>]   Directory  : /opt/jameica
Exception in thread "main" java.lang.NullPointerException
  at java.base/java.io.Reader.<init>(Reader.java:167)
  at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
  at org.eclipse.swt.graphics.Device.lambda$overrideThemeValues$0(Unknown Source)
  at org.eclipse.swt.graphics.Device.overrideThemeValues(Unknown Source)
  at org.eclipse.swt.graphics.Device.init(Unknown Source)
  at org.eclipse.swt.widgets.Display.init(Unknown Source)
  at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.getDefault(Unknown Source)
  at de.willuhn.jameica.gui.GUI.getDisplay(GUI.java:988)
  at de.willuhn.jameica.gui.SplashScreen.<init>(SplashScreen.java:112)
  at de.willuhn.jameica.system.ApplicationCallbackSWT.getStartupMonitor(ApplicationCallbackSWT.java:174)
  at de.willuhn.jameica.system.Application.init(Application.java:97)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
  at de.willuhn.jameica.Main.main(Main.java:75)

hibiscus

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 28.07.2021 - 10:08 Uhr  ·  #160248
Es ist die selbe Fehlermeldung. Dann habe ich leider keine Lösung für dich. Von wo hast du Jameica heruntergeladen? Über den Paketmanager deiner Distribution oder manuell als Download von www.willuhn.de? Falls ersteres, dann versuche stattdessen mal den Download direkt von der Webseite.

obeliski

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 31.07.2021 - 20:54 Uhr  ·  #160280
Ich habe seit einiger Zeit leider das selbe Problem unter Manjaro:

Code
/opt/jameica >>> sh jameica.sh                                                 
[Sat Jul 31 20:13:18 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] starting in STANDALONE mode
[Sat Jul 31 20:13:18 CEST 2021][INFO][main][de.willuhn.jameica.system.StartupParams.<init>] workdir: null
[Sat Jul 31 20:13:18 CEST 2021][INFO][main][de.willuhn.jameica.system.Application.init] starting jameica...
[Sat Jul 31 20:13:18 CEST 2021][INFO][main][de.willuhn.jameica.system.BootstrapSettings.getProperties] reading /home/user/.jameica.properties
[Sat Jul 31 20:13:18 CEST 2021][INFO][main][de.willuhn.jameica.system.WorkdirChooser.getWorkDir] using last used workdir /home/user/.jameica
[Sat Jul 31 20:13:18 CEST 2021][INFO][main][de.willuhn.jameica.system.Platform.getWorkdir] using workdir: /home/user/.jameica
[Sat Jul 31 20:13:19 CEST 2021][INFO][main][de.willuhn.jameica.system.Config.getLocale] checking resource bundle for language

(java:10134): Gdk-WARNING **: 20:13:19.341: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3.
See the documentation for gdk_window_ensure_native() on how to get native windows.
[Sat Jul 31 20:13:19 CEST 2021][INFO][main][de.willuhn.jameica.system.Config.getLocale] active language: de_DE
[Sat Jul 31 20:13:19 CEST 2021][INFO][main][de.willuhn.util.I18N.<init>] loading resource bundle lang/system_messages for locale de_DE
[Sat Jul 31 20:13:19 CEST 2021][INFO][main][de.willuhn.jameica.plugin.Manifest.<init>] Jameica 2.10.0
[Sat Jul 31 20:13:19 CEST 2021][INFO][main][de.willuhn.jameica.plugin.Manifest.<init>]   Directory  : /opt/jameica
Exception in thread "main" java.lang.NullPointerException
  at java.io.Reader.<init>(Reader.java:78)
  at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
  at org.eclipse.swt.graphics.Device.lambda$overrideThemeValues$0(Unknown Source)
  at org.eclipse.swt.graphics.Device.overrideThemeValues(Unknown Source)
  at org.eclipse.swt.graphics.Device.init(Unknown Source)
  at org.eclipse.swt.widgets.Display.init(Unknown Source)
  at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
  at org.eclipse.swt.widgets.Display.getDefault(Unknown Source)
  at de.willuhn.jameica.gui.GUI.getDisplay(GUI.java:988)
  at de.willuhn.jameica.gui.SplashScreen.<init>(SplashScreen.java:112)
  at de.willuhn.jameica.system.ApplicationCallbackSWT.getStartupMonitor(ApplicationCallbackSWT.java:174)
  at de.willuhn.jameica.system.Application.init(Application.java:97)
  at de.willuhn.jameica.system.Application.newInstance(Application.java:87)
  at de.willuhn.jameica.Main.main(Main.java:75)
/opt/jameica >>>   

obeliski

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 01.08.2021 - 19:02 Uhr  ·  #160281
Neuinstallation und der Fehler tritt nicht mehr auf

bjo

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 04.08.2021 - 22:24 Uhr  ·  #160292
Zitat geschrieben von obeliski

Neuinstallation und der Fehler tritt nicht mehr auf


Trotz der neuen SWT-Version im AUR?

archuser23

Betreff:

Re: Jameica/Hibiscus GUI startet nicht

 ·  Gepostet: 06.08.2021 - 11:25 Uhr  ·  #160300
Ja, Neuinstallation von jameica löst das Problem auch bei mir, wie hier beschrieben:
Zitat geschrieben von solnce
@fordprefect I have just pushed an update for swt, which is a dependency for hibiscus/jameica. From what I can see, the dependency is not in the PKGBUILD.
All users, it will be necessary to rebuild first jameica, then maybe also hibiscus, after swt-4.20 is installed.
EDIT: Disregard, it actually does not depend on swt anymore, it seems.

Vorgehen für Nutzer von yay (falls hibiscus auch installiert ist):
Code
yay -R jameica hibiscus
yay -S jameica hibiscus

Viel Erfolg!