Hallo alle zusammen,
Fakturama 2 stürzt ständig bei mir ab sobald ich versuche neue Einträge anzulegen und zu speichern. Unerklärlich dabei ist, dass das Anlegen von Debitoren und Kreditoren mehr oder weniger funktioniert (das Sternchen bleibt oben im Reiter erhalten, der Eintrag wird jedoch in die Datenbank übernommen)
Lege ich eine Zahlungsart, ein Produkt, einen Steuersatz oder Texte an und will diese speichern, stürzt das Programm sofort ab. Es kommt auch zu keinem Eintrag in der log-File.
Ich benutze Ubuntu 16.04.4 LTS, installiert ist Version 2.0.2.1 64-bit. Der gleiche Fehler ist auch schon bei Version 2.0.1 aufgetreten.
Auch habe ich bereits versucht Fakturama 2 neu aufzusetzen, inkl. neuem Arbeitsverzeichnis.
Ich habe mir diese Diskussion mit dem Speicher-Problem bereits angeschaut. Der Fehler scheint aber doch ein anderer zu sein.
Hat jemand eine Idee, wie dieses Problem zu beheben ist bzw. ist der Fehler bereits aufgetreten?
Vielen Dank schon mal für eure Hilfe
Grüße Andreas
Hallo Andreas,
steht da im Logfile etwas dazu?
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hallo Ralf,
ich habe grad noch mal ein neues Arbeitsverzeichnis ausgewählt und versucht ein Produkt hinzuzufügen.
Das log-file sieht dann anschließend so aus:
!SESSION 2018-06-29 13:15:42.351 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-29 13:16:26.253
!MESSAGE create Document list part
!SESSION 2018-06-29 13:16:27.375 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-29 13:16:36.409
!MESSAGE create Document list part
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-06-29 13:16:36.789
!MESSAGE fakturamaviews.properties not found, skipping load
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-29 13:16:43.688
!MESSAGE create Product list part
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-06-29 13:16:43.709
!MESSAGE fakturamaviews.properties not found, skipping load
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-29 13:16:45.761
!MESSAGE Saving NatTable state to fakturamaviews.properties
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-29 13:16:56.955
!MESSAGE create Product list part
Grüße Andreas
Hallo Andreas,
das steht gar kein Fehler drin... Komisch. Mit "-clean" hattest Du es beim Aufruf auch schon versucht? Kommt bei dem Absturz ein Linux-Kernel-Error oder ist das Programm einfach weg?
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hi Ralf,
das Programm ist einfach weg sobald ich auf speichern klicke. Aber wie gesagt nicht bei allen Funktionen bzw. Einträgen.
Ich habe auch grad noch mal einen Kreditor und eine Zahlungsart versucht einzugeben und zu speichern.
Der Kreditor funktioniert mit Ausnahme der Sternchens oben im Reiter. Das Sternchen bleibt auch nach dem Speichervorgang im Reiter oben sichtbar. Das Programm stürzt hierbei auch nicht ab.
Anders wie gesagt bei den bereits erwähnten Funktionen. Sobald ich auf Speichern klicke, stürzt Fakturama sofort ab. Es steht auch beim Anlegen einer neuen Zahlungsart wieder kein Eintrag in der log-file.
Ich liefere dir die neue log-file gleich mal mit.
Ob das gleiche Problem auch beim Speichern bei Dokumenten auftritt, kann ich dir nicht sagen, da ich es noch nicht ausprobiert habe.
Wie mache ich den Aufruf mit "-clean" genau?
Der Linux kernel error ist eine Fenstermeldung? Wenn ja, dann kam keine.
!SESSION 2018-06-29 13:15:42.351 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-29 13:16:26.253
!MESSAGE create Document list part
!SESSION 2018-06-29 13:16:27.375 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-29 13:16:36.409
!MESSAGE create Document list part
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-06-29 13:16:36.789
!MESSAGE fakturamaviews.properties not found, skipping load
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-29 13:16:43.688
!MESSAGE create Product list part
!ENTRY org.eclipse.e4.ui.workbench 2 0 2018-06-29 13:16:43.709
!MESSAGE fakturamaviews.properties not found, skipping load
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-29 13:16:45.761
!MESSAGE Saving NatTable state to fakturamaviews.properties
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-29 13:16:56.955
!MESSAGE create Product list part
!SESSION 2018-06-30 07:26:10.408 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-30 07:26:20.076
!MESSAGE create Document list part
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 07:26:25.808
!MESSAGE create Contact list part
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 07:30:04.584
!MESSAGE Saving NatTable state to fakturamaviews.properties
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 07:30:04.603
!MESSAGE Saving NatTable state to fakturamaviews.properties
!SESSION 2018-06-30 07:30:06.558 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-30 07:30:14.643
!MESSAGE create Contact list part
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 07:30:31.281
!MESSAGE Saving NatTable state to fakturamaviews.properties
!SESSION 2018-06-30 07:31:06.723 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 2018-06-30 07:31:15.053
!MESSAGE create Contact list part
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 07:31:20.223
!MESSAGE create Payment list part
Grüße Andreas
und danke schon mal
Hallo Andreas,
das geht über ein Terminal-Fenster (oder Konsole). Dort gibst Du
/usr/share/fakturama2/Fakturama -clean -consoleLog
ein, dann siehst Du, was da gerade passiert.
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hi Ralf,
so sieht das Ganze jetzt mit -clean aus:
meilo1984@meilo1984:~$ /usr/share/fakturama2/Fakturama -clean -consoleLog
WARNING: Extender - Refreshing disabled - entities in bundle com.sebulli.fakturama.model may not be woven
[Server@4ace284d]: Initiating startup sequence...
[Server@4ace284d]: Server socket opened successfully in 10 ms.
[Server@4ace284d]: Database [index=0, id=0, db=file:/home/meilo1984/Schreibtisch/faktu 2_test/Database/Database, alias=fakdbneu] opened successfully in 496 ms.
[Server@4ace284d]: Startup sequence completed in 507 ms.
[Server@4ace284d]: 2018-06-30 21:52:55.718 HSQLDB server 2.4.0 is online on port 9002
[Server@4ace284d]: To close normally, connect and execute SHUTDOWN SQL
[Server@4ace284d]: From command line, use [Ctrl]+[C] to abort abruptly
21:52:57.666 [com.sebulli.fakturama.log.LogbackAdapter@109f8c7e] DEBUG com.sebulli.fakturama.common - start DAOs - begin
21:52:58.051 [com.sebulli.fakturama.log.LogbackAdapter@109f8c7e] INFO com.sebulli.fakturama.rcp - Entering default Preference Initializer
[EL Info]: 2018-06-30 21:52:58.359--ServerSession(1854075295)--EclipseLink, version: Eclipse Persistence Services - 2.7.1.v20171221-bd47e8f
[EL Info]: connection: 2018-06-30 21:52:58.661--ServerSession(1854075295)--/unconfigured2_nonJtaDataSource=335579209_url=jdbc:hsqldb:hsql://localhost:9002/fakdbneu_user=sa login successful
21:52:58.694 [com.sebulli.fakturama.log.LogbackAdapter@109f8c7e] DEBUG com.sebulli.fakturama.common - start DAOs - end
!SESSION 2018-06-30 21:52:49.203 -----------------------------------------------
eclipse.buildId=2.0.2.1
java.version=1.8.0_171
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 -clean -consoleLog
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 21:53:00.224
!MESSAGE create Contact list part
(Fakturama:3549): GLib-CRITICAL **: Source ID 841 was not found when attempting to remove it
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 21:56:52.245
!MESSAGE create Document list part
Part fakturama.views.creditorTable is NOT visible
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 21:56:52.498
!MESSAGE Saving NatTable state to fakturamaviews.properties
(Fakturama:3549): GLib-CRITICAL **: Source ID 1990 was not found when attempting to remove it
Part fakturama.views.productTable is visible
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-06-30 21:56:54.567
!MESSAGE create Product list part
(Fakturama:3549): GLib-CRITICAL **: Source ID 2545 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 3536 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 4273 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 4479 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 5678 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 5950 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 6362 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 6793 was not found when attempting to remove it
(Fakturama:3549): GLib-CRITICAL **: Source ID 6801 was not found when attempting to remove it
(Fakturama:3549): Gdk-ERROR **: The program 'Fakturama' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 31149 error_code 8 request_code 62 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
meilo1984@meilo1984:~$
Ich hoffe du kannst damit etwas anfangen.
Grüße Andreas
Hallo Andreas,
schon besser 🙂 Es ist wie ich bereits vermutet hatte - irgendwas in der Linux-Fenstersteuerung spielt hier verrückt. Danke für den Tip. Ich muß hier erst mal paar Linux-Experten konsultieren, mal seh'n, woran das liegt...
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Update: Ich habe es gerade mal mit einem Ubuntu 17.10 ausprobiert, da lief das. Allerdings hatte ich beim Start auch folgendes eingegeben:
/usr/share/fakturama2/Fakturama -clean -DSWT_GTK3=1 -consoleLog
Das Problem mit dem Sternchen bekomme ich nicht gelöst. Das besteht schon eine ganze Weile und hängt an der Darstellung der Aufklappboxen. Die werden unter Linux anders gemalt als unter Windows oder OSX. Gespeichert werden die Dokumente aber trotzdem, es ist halt bloß nervig. Wenn ich mal eine gescheite Idee dazu habe werde ich das korrigieren.
Update2: Bitte lade Dir mal die neue BETA-Version runter und entpacke die irgendwo. Dann startest Du das wie oben angegeben (natürlich mit geändertem Pfad 😉 ). Das ist die Version, die bei mir funktioniert hat. Das muß aber nichts heißen...
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hi Ralf,
es ist schön, dass sich schon mal ein Ursprung für das Problem finden lässt. Aber so wie sich das anhört, scheint es ein komplett neues Problem zu sein. Im Forum hatte ich auch keinen Beitrag gefunden, der sich darauf bezieht. Falls ich was testen soll, nur her damit. 😉
Ich habe die beta-Version gestartet und versucht wieder ein neues Produkt anzulegen. Auch die beta ist dabei wieder abgestürzt.
Hier mal für dich der dazugehörige Ausdruck:
meilo1984@meilo1984:~$ /home/meilo1984/Schreibtisch/Fakturama.2.0.3-BETA.x86_64/Fakturama -clean -DSWT_GTK3=1 -consoleLog
WARNING: Extender - Refreshing disabled - entities in bundle com.sebulli.fakturama.model may not be woven
[Server@77f991c]: Initiating startup sequence...
[Server@77f991c]: Server socket opened successfully in 9 ms.
[Server@77f991c]: Database [index=0, id=0, db=file:/home/meilo1984/Schreibtisch/faktu 2_test/Database/Database, alias=fakdbneu] opened successfully in 661 ms.
[Server@77f991c]: Startup sequence completed in 671 ms.
[Server@77f991c]: 2018-07-01 08:05:08.934 HSQLDB server 2.4.0 is online on port 9002
[Server@77f991c]: To close normally, connect and execute SHUTDOWN SQL
[Server@77f991c]: From command line, use [Ctrl]+[C] to abort abruptly
08:05:11.028 [com.sebulli.fakturama.log.LogbackAdapter@d257579] DEBUG com.sebulli.fakturama.common - start DAOs - begin
08:05:11.348 [com.sebulli.fakturama.log.LogbackAdapter@d257579] INFO com.sebulli.fakturama.rcp - Entering default Preference Initializer
[EL Info]: 2018-07-01 08:05:11.637--ServerSession(118568939)--EclipseLink, version: Eclipse Persistence Services - 2.7.1.v20171221-bd47e8f
[EL Info]: connection: 2018-07-01 08:05:11.926--ServerSession(118568939)--/unconfigured2_nonJtaDataSource=380913621_url=jdbc:hsqldb:hsql://localhost:9002/fakdbneu_user=sa login successful
08:05:11.963 [com.sebulli.fakturama.log.LogbackAdapter@d257579] DEBUG com.sebulli.fakturama.common - start DAOs - end
!SESSION 2018-07-01 08:05:03.953 -----------------------------------------------
eclipse.buildId=2.0.3.201806302200
java.version=1.8.0_171
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -DSWT_GTK3=1
Command-line arguments: -os linux -ws gtk -arch x86_64 -clean -DSWT_GTK3=1 -consoleLog
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-07-01 08:05:13.567
!MESSAGE create Contact list part
!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-07-01 08:05:13.937
!MESSAGE Unable to create class 'com.sebulli.fakturama.parts.CoolbarViewPart' from bundle '64'
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
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.inject(InjectorImpl.java:124)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:332)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:186)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:108)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:51)
at org.eclipse.e4.ui.workbench.renderers.swt.ToolControlRenderer.createWidget(ToolControlRenderer.java:126)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:992)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:661)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:767)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:738)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:732)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:716)
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:69)
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarRenderer.processContents(TrimBarRenderer.java:127)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:546)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:530)
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:726)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:767)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:738)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:732)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:716)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1076)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162)
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: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.eclipse.core.commands.ParameterizedCommand.generateCommand(ParameterizedCommand.java:316)
at org.eclipse.e4.core.commands.internal.CommandServiceImpl.createCommand(CommandServiceImpl.java:41)
at com.sebulli.fakturama.parts.CoolbarViewPart.createToolItem(CoolbarViewPart.java:331)
at com.sebulli.fakturama.parts.CoolbarViewPart.createControls(CoolbarViewPart.java:131)
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)
... 47 more
08:05:13.947 [com.sebulli.fakturama.log.LogbackAdapter@d257579] ERROR org.eclipse.e4.ui.workbench - Unable to create class 'com.sebulli.fakturama.parts.CoolbarViewPart' from bundle '64'
org.eclipse.e4.core.di.InjectionException: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:990) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:332) ~[na:na]
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:186) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:108) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:74) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:51) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.ToolControlRenderer.createWidget(ToolControlRenderer.java:126) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:992) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:661) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:767) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:738) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:732) ~[na:na]
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:716) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:69) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.TrimBarRenderer.processContents(TrimBarRenderer.java:127) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:546) ~[na:na]
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:530) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:726) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:675) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:767) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:738) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:732) ~[na:na]
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:716) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1076) ~[na:na]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162) ~[na:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
at org.eclipse.equinox.launcher.Main.run(Main.java:1499) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
at org.eclipse.equinox.launcher.Main.main(Main.java:1472) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
Caused by: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.eclipse.core.commands.ParameterizedCommand.generateCommand(ParameterizedCommand.java:316) ~[na:na]
at org.eclipse.e4.core.commands.internal.CommandServiceImpl.createCommand(CommandServiceImpl.java:41) ~[na:na]
at com.sebulli.fakturama.parts.CoolbarViewPart.createToolItem(CoolbarViewPart.java:331) ~[na:na]
at com.sebulli.fakturama.parts.CoolbarViewPart.createControls(CoolbarViewPart.java:131) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_171]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_171]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_171]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_171]
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na]
... 47 common frames omitted
(Fakturama:4127): GLib-CRITICAL **: Source ID 103 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 413 was not found when attempting to remove it
Part fakturama.views.productTable is visible
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-07-01 08:05:20.814
!MESSAGE create Product list part
(Fakturama:4127): GLib-CRITICAL **: Source ID 848 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 1538 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 2085 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 3071 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 3273 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 3635 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 5101 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 5105 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 5121 was not found when attempting to remove it
(Fakturama:4127): GLib-CRITICAL **: Source ID 8542 was not found when attempting to remove it
(Fakturama:4127): Gdk-ERROR **: The program 'Fakturama' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 54826 error_code 8 request_code 62 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
meilo1984@meilo1984:~$
Dank für deine schnellen Antworten.
Grüße Andreas
Hm. Das sind ja gleich zwei Fehler auf einmal... 🙁
Den einen kriegen wir aber ganz schnell weg (den mit der ClassCastException). Lösch bitte mal die Datei ~/.fakturama2/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Die Auswirkung siehst Du daran, daß der Text unter dem Webshop-Importsymbol wieder da ist.
Bei dem anderen Fehler mit dem GTK müssen wir noch etwas herumexperimentieren. Geht aber nur von der Konsole:
export GDK_SYNCHRONIZE="1" /usr/share/fakturama2/Fakturama -consoleLog
Angeblich soll dadurch bewirkt werden, daß die X-Requests synchron erfolgen. Habe ich hier und hier gelesen. Mir ist aber noch nicht klar, warum das auf meiner Testumgebung funktioniert und bei Dir nicht... Welches Theme hast Du eingestellt?
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hi,
Theme ist Mate 1.12.1 (und da dann Ambiant-Mate, was auch mit der Installation voreingestellt gewesen sein sollte)
Bevor ich die Datei lösche und den Befehl in die Konsole eingebe:
Ich habe im Moment Version 2.0.2.1 installiert und zusätzlich die 2.0.3.-Beta-Version in Benutzung - mit welcher bzw. für welche Version führe ich jetzt die beiden Vorgänge aus oder ist das egal?
In der Beta-Version fehlt bei mir nämlich die komplette Werkzeugleiste. In den Einstellungen ist (fast) alles angeklickt, aber in der Werkzeugleiste taucht nichts auf - also auch nicht das Webshop-Importsymbol und somit auch kein Text darunter.
Oder wirken sich die Änderungen auf beide Versionen aus?
Grüße
Andreas
Hallo Andreas,
die Änderung wirkt sich auf beide Versionen aus. Die Datei kannst Du trotzdem löschen, die wird beim Start wieder angelegt. Mußt bloß dran denken, die bei jedem Versionswechsel zu löschen, weil sich da etwas geändert hat. Solange Du mit ein und derselben Version arbeitest kannst Du die stehenlassen.
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hi Ralf,
als wenn ich das richtig verstanden habe, habe ich mir den (zweiten) Fehler "workbench.xmi" selbst eingebrockt, da ich zwei Versionen benutzt habe.
Nachdem ich die Datei gelöscht habe, tauchen jetzt auch alle Symbole in der Werkzeugleiste auf.
Den Befehl habe ich für die Beta-Version ausgeführt. Zum Absturz beim Speichern kam es jedoch erneut.
Ich hoffe ich habe alles richtig ausgeführt. Hier ist die Aufzeichnung:
meilo1984@meilo1984:~$ export GDK_SYNCHRONIZE="1"
meilo1984@meilo1984:~$ /home/meilo1984/Schreibtisch/Fakturama.2.0.3-BETA.x86_64/Fakturama -consoleLogWARNING: Extender - Refreshing disabled - entities in bundle com.sebulli.fakturama.model may not be woven
[Server@15639440]: Initiating startup sequence...
[Server@15639440]: Server socket opened successfully in 4 ms.
[Server@15639440]: Database [index=0, id=0, db=file:/home/meilo1984/Schreibtisch/faktu 2_test/Database/Database, alias=fakdbneu] opened successfully in 469 ms.
[Server@15639440]: Startup sequence completed in 474 ms.
[Server@15639440]: 2018-07-01 22:10:52.213 HSQLDB server 2.4.0 is online on port 9002
[Server@15639440]: To close normally, connect and execute SHUTDOWN SQL
[Server@15639440]: From command line, use [Ctrl]+[C] to abort abruptly
22:10:54.218 [com.sebulli.fakturama.log.LogbackAdapter@5ec4ff02] DEBUG com.sebulli.fakturama.common - start DAOs - begin
22:10:54.525 [com.sebulli.fakturama.log.LogbackAdapter@5ec4ff02] INFO com.sebulli.fakturama.rcp - Entering default Preference Initializer
Jul 01, 2018 10:10:54 PM javax.money.spi.Bootstrap init
INFORMATION: Money Bootstrap: new ServiceProvider set: org.javamoney.osgi.OsgiServiceProvider
[EL Info]: 2018-07-01 22:10:54.812--ServerSession(983962781)--EclipseLink, version: Eclipse Persistence Services - 2.7.1.v20171221-bd47e8f
[EL Info]: connection: 2018-07-01 22:10:55.112--ServerSession(983962781)--/unconfigured2_nonJtaDataSource=1492856282_url=jdbc:hsqldb:hsql://localhost:9002/fakdbneu_user=sa login successful
22:10:55.149 [com.sebulli.fakturama.log.LogbackAdapter@5ec4ff02] DEBUG com.sebulli.fakturama.common - start DAOs - end
!SESSION 2018-07-01 22:10:48.406 -----------------------------------------------
eclipse.buildId=2.0.3.201806302200
java.version=1.8.0_171
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 -consoleLog
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-07-01 22:10:56.510
!MESSAGE create Document list part
(Fakturama:6189): GLib-CRITICAL **: Source ID 1108 was not found when attempting to remove it
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-07-01 22:11:14.424
!MESSAGE create Product list part
Part fakturama.views.productTable is visible
(Fakturama:6189): GLib-CRITICAL **: Source ID 1370 was not found when attempting to remove it
Jul 01, 2018 10:11:23 PM org.javamoney.moneta.DefaultMonetaryContextFactory createMonetaryContextNonNullConfig
INFORMATION: Using custom MathContext: precision=256, roundingMode=HALF_EVEN
(Fakturama:6189): GLib-CRITICAL **: Source ID 2276 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 2747 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 3422 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 3608 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 3646 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 3687 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 3844 was not found when attempting to remove it
(Fakturama:6189): GLib-CRITICAL **: Source ID 4432 was not found when attempting to remove it
(Fakturama:6189): Gdk-ERROR **: The program 'Fakturama' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 48842 error_code 8 request_code 62 (core protocol) minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
meilo1984@meilo1984:~$
Grüße
Andreas
Hallo Andreas,
ich glaube, hier komme ich gerade nicht weiter. Ich muß da noch weiter recherchieren. Irgendwo klemmt es in der Fensterverwaltung, ich stecke aber nicht so tief in der Linuxwelt drin, daß ich das gerade überblicke. Ich melde mich, wenn ich Neuigkeiten habe. Sorry...
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?