Fakturama 2 unter Gnome mit dunklem Schema

geschrieben von RitchieMartin 
Willkommen! Anmelden Ein neues Profil erzeugen Suche
Fakturama 2 unter Gnome mit dunklem Schema
21. Oktober 2016 11:43
Hallo,

ich hab F2 unter OpenSuSE Leap zum Testen eingerichtet. Ich habe Gnome als Desktop mit dunklem Schema eingerichtet. Dabei werden in F2 in den Dialogen viele Texte nicht angezeigt. Stelle ich auf ein helles Schema um, dann passts.

Grüße

Richard
Re: Fakturama 2 unter Gnome mit dunklem Schema
13. November 2016 20:34
Hallo Richard,
das habe ich ehrlich gesagt auch noch nicht ausprobiert. An dieser Stelle wurde aber von Eclipse direkt schon was gedreht, es kann durchaus sein, daß da was verstellt worden ist.

Viele Grüße,
Ralf.
Re: Fakturama 2 unter Gnome mit dunklem Schema
17. Oktober 2017 19:19
Hallo Ralf,
ich hab jetzt mit dem RC6 das nochmals probiert. Das dunkle Theme wird nach wie vor nicht richtig unterstützt. Die Schriftfarbe ist 'ungünstig'... winking smiley

Ich hab mich mal auf die Suche gemacht und einen Workaround gefunden. Im fakturama2.desktop File kann der Parameter EXEC erweitert werden damit die Anwendung ein anderes als das eingestellte Theme verwendet. Ich hab bei mir die Zeile so erweitert:
Exec=env GTK_THEME=Adwaita:light /usr/share/fakturama2/Fakturama

Viele Grüße
Richard
Re: Fakturama 2 unter Gnome mit dunklem Schema
17. Oktober 2017 22:00
Hallo Richard,
danke für den Tip. Ich werde das vielleicht gleich in die desktop-Datei einbauen.

Funktioniert eigentlich das Speichern einer Rechnung bei Dir im Linux? Unter Debian hatte ich das Problem, daß die Daten zwar gespeichert wurden, der Editor aber das "geändert"-Kennzeichen (Sternchen) nicht zurückgesetzt hat.

Viele Grüße,
Ralf.
Re: Fakturama 2 unter Gnome mit dunklem Schema
19. Oktober 2017 09:54
Hallo Ralf,
leider kann ich nach einem Update meines Systemes (OpenSUSE Tumbleweed) Fakturama 2 nicht mehr starten. Ich bekomme eine Fehlermeldung, welche auf ein Log in ~/.eclipse verweist. Ich hab den Inhalt mal unten angefügt. Ich hab Fakturama über das RPM installiert, somit liegt die Installation in /usr/share/fakturama2. Wenn ich von dort Fakturama starte kommt diese Meldung:

richard@lx-computer:/usr/share/fakturama2> ./Fakturama
WARNING: Extender - Refreshing disabled - entities in bundle com.sebulli.fakturama.model may not be woven
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Viele Grüße
Richard

Hier ist der Inhalt aus ~/.eclipse/1650947176_linux_gtk_x86_64/configuration/1508399545476.log

!SESSION 2017-10-19 09:52:24.831 -----------------------------------------------
eclipse.buildId=unknown
java.version=9
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.e4.ui.swt.gtk.nl_es 2 0 2017-10-19 09:52:31.458
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_es [393]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_uk 2 0 2017-10-19 09:52:31.460
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_uk [12]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_uk 2 0 2017-10-19 09:52:31.467
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_uk [402]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_fr 2 0 2017-10-19 09:52:31.469
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_fr [5]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_ru 2 0 2017-10-19 09:52:31.471
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ru [10]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_it 2 0 2017-10-19 09:52:31.472
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_it [7]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_pl 2 0 2017-10-19 09:52:31.480
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_pl [398]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_tr 2 0 2017-10-19 09:52:31.481
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_tr [401]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_it 2 0 2017-10-19 09:52:31.481
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_it [397]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_eu 2 0 2017-10-19 09:52:31.482
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_eu [4]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_de 2 0 2017-10-19 09:52:31.482
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_de [2]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_ru 2 0 2017-10-19 09:52:31.482
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_ru [400]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_hu 2 0 2017-10-19 09:52:31.483
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_hu [396]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_tr 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_tr [11]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_es 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_es [3]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_ro 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_ro [399]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_hu 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_hu [6]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_de 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_de [392]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_eu 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_eu [394]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_fr 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_fr [395]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_ro 2 0 2017-10-19 09:52:31.484
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ro [9]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_pl 2 0 2017-10-19 09:52:31.485
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_pl [8]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi 4 0 2017-10-19 09:52:31.485
!MESSAGE Anwendungsfehler
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:149)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
... 19 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
... 21 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-10-19 09:52:31.505
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
... 21 more
Re: Fakturama 2 unter Gnome mit dunklem Schema
19. Oktober 2017 20:54
Da ist gewaltig was durcheinandergekommen. Kannst Du bitte mal das neu installierte Fakturama 2 wieder weglöschen und das .eclipse-Verzeichnis auch? Dann mal bitte mit dem tar.gz neu versuchen, das ist am unkompliziertesten. Einfach nach /usr/share entpacken. Welche Java-Version nimmst Du? Manchmal updaten sich die Linux-Systeme heimlich auf Java 9, das geht definitiv noch nicht.

Viele Grüße,
Ralf.
Re: Fakturama 2 unter Gnome mit dunklem Schema
20. Oktober 2017 11:20
Hallo Ralf,
auf meinem zweiten Rechner ist nur Java 8 installiert. Ich hab das .fakturama2 im home gelöscht und nochmals gestartet. Es startet zum Einrichungsdialog. Da gebe ich alles ein mit der Verbindung zur SQL DB im Netz... und das Arbeitsverzeichnis. Dann will Fakturama2 einen Neustart wegen dem neuen AV. Danach kommt die Fehlermeldung...

Ich werde es hier nochmals mit lokalen Daten versuchen... Kann ich im nachhinein die Verbindung zur DB einrichten?

Grüße
Richard

Hier das aktuelle Log:
!SESSION 2017-10-20 10:48:29.070 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.e4.ui.workbench 1 0 2017-10-20 10:51:41.225
!MESSAGE create Document list part
!SESSION 2017-10-20 10:51:42.173 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.e4.ui.swt.gtk.nl_ru 2 0 2017-10-20 10:51:49.587
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_ru [400]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_pl 2 0 2017-10-20 10:51:49.588
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_pl [8]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_ru 2 0 2017-10-20 10:51:49.590
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ru [10]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_tr 2 0 2017-10-20 10:51:49.590
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_tr [11]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_es 2 0 2017-10-20 10:51:49.590
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_es [393]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_tr 2 0 2017-10-20 10:51:49.591
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_tr [401]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_uk 2 0 2017-10-20 10:51:49.592
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_uk [402]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_uk 2 0 2017-10-20 10:51:49.593
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_uk [12]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_ro 2 0 2017-10-20 10:51:49.595
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_ro [9]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_de 2 0 2017-10-20 10:51:49.595
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_de [2]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_es 2 0 2017-10-20 10:51:49.596
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_es [3]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_it 2 0 2017-10-20 10:51:49.596
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_it [7]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_hu 2 0 2017-10-20 10:51:49.596
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_hu [396]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_eu 2 0 2017-10-20 10:51:49.599
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_eu [394]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_ro 2 0 2017-10-20 10:51:49.599
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_ro [399]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi.compatibility.state.nl_eu 2 0 2017-10-20 10:51:49.600
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_eu [4]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_fr 2 0 2017-10-20 10:51:49.600
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_fr [5]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.osgi.compatibility.state.nl_hu 2 0 2017-10-20 10:51:49.601
!MESSAGE Could not resolve module: org.eclipse.osgi.compatibility.state.nl_hu [6]
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state
Unresolved requirement: Fragment-Host: org.eclipse.osgi.compatibility.state


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_de 2 0 2017-10-20 10:51:49.604
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_de [392]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_pl 2 0 2017-10-20 10:51:49.604
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_pl [398]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_fr 2 0 2017-10-20 10:51:49.605
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_fr [395]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.e4.ui.swt.gtk.nl_it 2 0 2017-10-20 10:51:49.605
!MESSAGE Could not resolve module: org.eclipse.e4.ui.swt.gtk.nl_it [397]
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk
Unresolved requirement: Fragment-Host: org.eclipse.e4.ui.swt.gtk


!ENTRY org.eclipse.osgi 4 0 2017-10-20 10:51:49.605
!MESSAGE Anwendungsfehler
!STACK 1
org.eclipse.e4.core.di.InjectionException: org.eclipse.e4.core.di.InjectionException: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:233)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:274)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:149)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
Caused by: org.eclipse.e4.core.di.InjectionException: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:220)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:90)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadOrSavePreferencesFromOrInDatabase(PreferencesInDatabase.java:120)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadPreferencesFromDatabase(PreferencesInDatabase.java:129)
at com.sebulli.fakturama.LifecycleManager.fillWithInitialData(LifecycleManager.java:293)
at com.sebulli.fakturama.LifecycleManager.processAdditions(LifecycleManager.java:423)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 18 more
Caused by: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.persistence.internal.jpa.QueryImpl.throwNonUniqueResultException(QueryImpl.java:987)
at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:536)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:402)
at com.sebulli.fakturama.dao.PropertiesDAO.findPropertyValue(PropertiesDAO.java:67)
at com.sebulli.fakturama.dao.PropertiesDAO.findPropertyValue(PropertiesDAO.java:48)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadPreferenceValue(PreferencesInDatabase.java:60)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.syncWithPreferencesFromDatabase(PreferencesInDatabase.java:91)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.syncWithPreferencesFromDatabase(ContactFormatPreferencePage.java:99)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.loadOrSaveUserValuesFromDB(ContactFormatPreferencePage.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 30 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-10-20 10:51:49.652
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.eclipse.e4.core.di.InjectionException: org.eclipse.e4.core.di.InjectionException: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:990)
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:163)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
at org.eclipse.osgi.container.Module.doStop(Module.java:634)
at org.eclipse.osgi.container.Module.stop(Module.java:498)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.eclipse.e4.core.di.InjectionException: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:220)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:90)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadOrSavePreferencesFromOrInDatabase(PreferencesInDatabase.java:120)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.savePreferencesInDatabase(PreferencesInDatabase.java:137)
at com.sebulli.fakturama.LifecycleManager.postWindowClose(LifecycleManager.java:357)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 23 more
Caused by: javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.persistence.internal.jpa.QueryImpl.throwNonUniqueResultException(QueryImpl.java:987)
at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:536)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:402)
at com.sebulli.fakturama.dao.AbstractDAO.findByName(AbstractDAO.java:231)
at com.sebulli.fakturama.dao.PropertiesDAO.setProperty(PropertiesDAO.java:84)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.savePreferenceValue(PreferencesInDatabase.java:76)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.syncWithPreferencesFromDatabase(PreferencesInDatabase.java:89)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.syncWithPreferencesFromDatabase(ContactFormatPreferencePage.java:99)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.loadOrSaveUserValuesFromDB(ContactFormatPreferencePage.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 34 more
Re: Fakturama 2 unter Gnome mit dunklem Schema
20. Oktober 2017 12:42
Hallo Ralf,

also wenn ich das so einrichte, dass es lokal läuft dann passt es. Nur der Zugriff auf die DB im Internet geht nicht.. sad smiley Die DB wurde durch eine erste Installation initialisiert und das ging dann auch. Nur jetzt komm ich nicht mehr dran.

Vielleicht hilft das etwas.

Grüße
Richard
Re: Fakturama 2 unter Gnome mit dunklem Schema
20. Oktober 2017 15:02
Hallo Ralf,
wo sind die Configdaten für den Zugriff zur DB abgelegt?
Wenn ich bei mir auf dem Rechner lokal eine (MariaDcool smiley Datenbank definiere und diese bei der Einrichtung verwende bekomme ich das gleiche Ergebnis. Nach dem Neustart wegen des geänderten Arbeitsverzeichnisses kommt die Fehlermeldung. Der Unterschied ist noch, dass ich die lokale DB mit root (ja ich weiß, ist aber für die Tests einfacher...) verwende.

Ich konnte es genau einmal gegen die DB im Internet einrichten und auch neu starten. Jedoch nach einem Update oder einem anderen Problem (DB korrupt?) geht es nicht mehr. Ich werde die DB im Internet mal löschen und neu erstellen. Mal sehen, ob es daran liegt..

Grüße
Richard
Re: Fakturama 2 unter Gnome mit dunklem Schema
20. Oktober 2017 22:31
Der Fehler hier:
More than one result was returned
heißt, daß in die Datenbank was geschrieben wurde, was nur einmal da sein sollte. Das passiert z.B. bei den Einstellungen. Hast Du vor der erneuten Installation die Datenbank geleert? Du kannst auf jeden Fall eine Datenbank im Internet angeben, die muß bloß von Deinem lokalen Rechner aus erreichbar sein. Im Nachhinein kann man das zwar noch ändern, das ist aber momentan etwas kompliziert. Außerdem muß man dann die Daten selber irgendwie übertragen, das ist nicht ganz so einfach. Am besten ist es wirklich, man legt gleich zu Beginn fest, was die richtige DB sein soll. Beim Initialisieren der DB wird auch eine Versionsnummer hinterlegt, für die das Schema gilt. Ggf. müssen wir hier mal zusammen drauf schauen, es kann kein grundsätzliches Problem sein, weil ich genau so entwickle (DB auf entferntem Server, Fakturama lokal).
Achso, die Configdaten für die DB liegen in ~/.fakturama2/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.sebulli.fakturama.rcp.prefs. Aber bitte vorsichtig sein, dort stehen sämtliche Einstellungen drin.

Viele Grüße,
Ralf.



1-mal bearbeitet. Zuletzt am 20.10.17 22:34.
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen