Alter Fehler wieder da...

geschrieben von aziemer 
Willkommen! Anmelden Ein neues Profil erzeugen Suche
Alter Fehler wieder da...
01. April 2019 21:22
Moin Ralf,

in der aktuellen Version 2.0.4 ist unter MacOS der alte Fehler wieder da, dass die Datei beschädigt sei und in den Papierkorb gehöre...
Das war in der 2.0.3 weg.

Der Trick über den console-Aufruf mit -clear funktioniert aber auch wieder ;-)

Hier die Ausgabe beim (allerersten) Start von der Kommandozeile:

iMac27-2:MacOS aziemer$ ./Fakturama -clear
WARNING: Extender - Refreshing disabled - entities in bundle com.sebulli.fakturama.model may not be woven
[Server@5dbb50f3]: Initiating startup sequence...
[Server@5dbb50f3]: Server socket opened successfully in 18 ms.
[Server@5dbb50f3]: Database [index=0, id=0, db=file:/Users/aziemer/Fakturama/Database/Database, alias=fakdbneu] opened successfully in 631 ms.
[Server@5dbb50f3]: Startup sequence completed in 650 ms.
[Server@5dbb50f3]: 2019-04-01 21:03:55.315 HSQLDB server 2.4.0 is online on port 9002
[Server@5dbb50f3]: To close normally, connect and execute SHUTDOWN SQL
[Server@5dbb50f3]: From command line, use [Ctrl]+[C] to abort abruptly
21:03:56.951 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - start DAOs - begin
21:03:57.208 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] INFO com.sebulli.fakturama.common - Entering default Preference Initializer
Apr 01, 2019 9:03:57 PM javax.money.spi.Bootstrap init
INFORMATION: Money Bootstrap: new ServiceProvider set: org.javamoney.osgi.OsgiServiceProvider
[EL Info]: 2019-04-01 21:03:58.283--ServerSession(324413625)--EclipseLink, version: Eclipse Persistence Services - 2.7.1.v20171221-bd47e8f
[EL Info]: connection: 2019-04-01 21:03:58.618--ServerSession(324413625)--/unconfigured2_nonJtaDataSource=601985148_url=jdbc:hsqldb:hsql://localhost:9002/fakdbneu_user=sa login successful
21:03:58.684 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - start DAOs - end
21:04:01.438 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - create Document list part
21:04:03.180 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - Loading NatTable state from fakturamaviews.properties
21:04:03.211 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - no rows selected!
21:04:08.058 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - no rows selected!


Hier die ./Fakturama/Log/Error.2019-04-01.log Datei beim Starten der App vom Finder (also nicht über console):

3073 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - start DAOs - begin
3330 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] INFO com.sebulli.fakturama.common - Entering default Preference Initializer
4806 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - start DAOs - end
7560 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - create Document list part
9302 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - Loading NatTable state from fakturamaviews.properties
9333 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - no rows selected!
14180 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - no rows selected!
114515 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] INFO com.sebulli.fakturama.common - Saving NatTable state to fakturamaviews.properties
114720 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - Storing preferences in database
114812 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - no entities found for [TOOLBAR_SHOW_QRK_EXPORT], returning {null} value.
114932 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - no entities found for [QRK_EXPORT_PATH], returning {null} value.
114940 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] DEBUG com.sebulli.fakturama.common - save dialog settings
115268 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] WARN com.sebulli.fakturama.hsqlconnector - TEST
115321 [com.sebulli.fakturama.log.LogbackAdapter@40a72ecd] INFO com.sebulli.fakturama.hsqlconnector - create Database backup in /Users/aziemer/Fakturama/Backup/Backup_20190401_210517.zip


Sag, wenn Du mehr brauchst, also bei Fragen fragen... ;-)

Gruß
Andreas
Re: Alter Fehler wieder da...
01. April 2019 23:38
Hallo Andreas, danke für die Rückmeldung. Mir ist nicht klar, warum die Programmdateien jetzt wieder als "beschädigt" gelten. Ich habe an der Art der Erzeugung der Dateien wirklich nichts geändert. Die Logfiles hier sind komplett unverfänglich, da stehen keine Fehler. Ich suche mal, ob ich dafür vielleicht noch eine Erklärung finde...

Viele Grüße,
Ralf.
Re: Alter Fehler wieder da...
02. April 2019 10:49
Hallo Ralf, ich danke Dir (mal wieder) für die schnelle Reaktion.

Ein paar Nachträge, vielleicht hilft's ja:

JAVA Version:
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)



Der Start aus der Konsole klappt auch ohne -clear !!! :

iMac27-2:~ aziemer$ /Applications/Fakturama2.app/Contents/MacOS/Fakturama
WARNING: Extender - Refreshing disabled - entities in bundle com.sebulli.fakturama.model may not be woven
[Server@4649d70a]: Initiating startup sequence...
[Server@4649d70a]: Server socket opened successfully in 18 ms.
[Server@4649d70a]: Database [index=0, id=0, db=file:/Users/aziemer/Fakturama/Database/Database, alias=fakdbneu] opened successfully in 548 ms.
[Server@4649d70a]: Startup sequence completed in 567 ms.
[Server@4649d70a]: 2019-04-02 10:40:38.762 HSQLDB server 2.4.0 is online on port 9002
[Server@4649d70a]: To close normally, connect and execute SHUTDOWN SQL
[Server@4649d70a]: From command line, use [Ctrl]+[C] to abort abruptly
10:40:40.446 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - start DAOs - begin
10:40:40.658 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] INFO com.sebulli.fakturama.common - Entering default Preference Initializer
Apr 02, 2019 10:40:40 AM javax.money.spi.Bootstrap init
INFORMATION: Money Bootstrap: new ServiceProvider set: org.javamoney.osgi.OsgiServiceProvider
[EL Info]: 2019-04-02 10:40:41.346--ServerSession(1790034318)--EclipseLink, version: Eclipse Persistence Services - 2.7.1.v20171221-bd47e8f
[EL Info]: connection: 2019-04-02 10:40:41.637--ServerSession(1790034318)--/unconfigured2_nonJtaDataSource=472006188_url=jdbc:hsqldb:hsql://localhost:9002/fakdbneu_user=sa login successful
10:40:41.663 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - start DAOs - end
10:40:43.852 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - create Document list part
10:40:44.985 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - Loading NatTable state from fakturamaviews.properties
10:40:45.014 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - no rows selected!
10:41:03.003 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] INFO com.sebulli.fakturama.common - Saving NatTable state to fakturamaviews.properties
10:41:03.184 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - Storing preferences in database
10:41:03.348 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - save dialog settings
[EL Info]: connection: 2019-04-02 10:41:03.35--ServerSession(1790034318)--/unconfigured2_nonJtaDataSource=472006188_url=jdbc:hsqldb:hsql://localhost:9002/fakdbneu_user=sa logout successful
[Server@4649d70a]: Initiating shutdown sequence...
[Server@4649d70a]: Shutdown sequence completed in 0 ms.
[Server@4649d70a]: 2019-04-02 10:41:03.685 SHUTDOWN : System.exit() was not called
10:41:03.687 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] WARN com.sebulli.fakturama.hsqlconnector - TEST
10:41:03.798 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] INFO com.sebulli.fakturama.hsqlconnector - create Database backup in /Users/aziemer/Fakturama/Backup/Backup_20190402_104178.zip



Gestern hatte ich Faktura noch ein paar mal gestartet und zwischendurch 1x aber auch nur 1x eine Fehlermeldung, da habe ich aber möglicherweise nicht schnell genug den "Möchten Sie Netzwerkverbindungen zulassen" Dialog bestätigt - der kommt übrigens jedesmal beim Start.
Das Programm startete aber komplett durch und war bedienbar.


2249 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - start DAOs - begin
2440 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] INFO com.sebulli.fakturama.common - Entering default Preference Initializer
3079 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - start DAOs - end
5021 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - create Document list part
5859 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - Loading NatTable state from fakturamaviews.properties
5885 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] DEBUG com.sebulli.fakturama.common - no rows selected!
8944 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] ERROR org.eclipse.e4.ui.workbench - Internal Error
java.lang.IllegalStateException: Application does not have an active window
at org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.getActiveWindowService(ApplicationPartServiceImpl.java:39) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.getDirtyParts(ApplicationPartServiceImpl.java:155) ~[na:na]
at com.sebulli.fakturama.addons.WindowCloseListenerAddon$1.close(WindowCloseListenerAddon.java:86) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer$3.shellClosed(WBWRenderer.java:615) ~[na:na]
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:99) ~[na:na]
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4258) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1502) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1525) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1510) ~[na:na]
at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:621) ~[na:na]
at org.eclipse.swt.widgets.Shell.windowShouldClose(Shell.java:2442) ~[na:na]
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5797) ~[na:na]
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) ~[na:na]
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:228) ~[na:na]
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2148) ~[na:na]
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2411) ~[na:na]
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5863) ~[na:na]
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) ~[na:na]
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5291) ~[na:na]
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5441) ~[na:na]
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) ~[na:na]
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128) ~[na:na]
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3696) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) ~[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_202]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_202]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_202]
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]
9082 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] INFO com.sebulli.fakturama.common - Saving NatTable state to fakturamaviews.properties
9233 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] ERROR org.eclipse.e4.ui.workbench - Internal Error
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65) ~[na:na]
at org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler$1.run(UIEventObjectSupplier.java:64) ~[na:na]
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37) ~[na:na]
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) ~[na:na]
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4034) ~[na:na]
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3701) ~[na:na]
at org.eclipse.swt.widgets.Display.release(Display.java:3763) ~[na:na]
at org.eclipse.swt.graphics.Device.dispose(Device.java:189) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:174) ~[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_202]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_202]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_202]
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]
Caused by: java.lang.NullPointerException: null
at org.eclipse.e4.ui.internal.workbench.PartActivationHistory.activate(PartActivationHistory.java:53) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:746) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:681) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:676) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1179) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1162) ~[na:na]
at com.sebulli.fakturama.handlers.ErrorViewHandler.execute(ErrorViewHandler.java:112) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_202]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_202]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_202]
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na]
... 20 common frames omitted
9311 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] ERROR org.eclipse.e4.ui.workbench - FrameworkEvent ERROR
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65) ~[na:na]
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:90) ~[na:na]
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111) ~[na:na]
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:355) ~[na:na]
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:180) ~[na:na]
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:163) ~[na:na]
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:163) ~[na:na]
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:163) ~[na:na]
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:163) ~[na:na]
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99) ~[na:na]
at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141) ~[na:na]
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908) ~[na:na]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) ~[na:na]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) ~[na:na]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) ~[na:na]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) ~[na:na]
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) ~[na:na]
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168) ~[na:na]
at org.eclipse.osgi.container.Module.publishEvent(Module.java:476) ~[na:na]
at org.eclipse.osgi.container.Module.doStop(Module.java:634) ~[na:na]
at org.eclipse.osgi.container.Module.stop(Module.java:498) ~[na:na]
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202) ~[na:na]
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165) ~[na:na]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_202]
Caused by: java.lang.NullPointerException: null
at org.eclipse.e4.ui.internal.workbench.PartActivationHistory.activate(PartActivationHistory.java:53) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.activate(PartServiceImpl.java:746) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.setPart(PartServiceImpl.java:218) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_202]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_202]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_202]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_202]
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na]
... 23 common frames omitted
9747 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] WARN com.sebulli.fakturama.hsqlconnector - TEST
9775 [com.sebulli.fakturama.log.LogbackAdapter@3eda0aeb] INFO com.sebulli.fakturama.hsqlconnector - create Database backup in /Users/aziemer/Fakturama/Backup/Backup_20190401_211886.zip



Gruß
Andreas
Re: Alter Fehler wieder da...
02. April 2019 20:05
Hm. Das heißt, der Fehler tritt nur auf, wenn man Fakturama "normal" über den Finder oder das Dock startet, oder? Das würde das Problem schon mal bißchen einschränken.

Viele Grüße,
Ralf.
Re: Alter Fehler wieder da...
02. April 2019 21:37
Moin,

ja, korrekt, habe es gerade nochmal gecheckt: Aufruf aus dem Dock, dem Finder, Forklift etc. (also die App) scheitert.
Aufruf der Binärdatei direkt klappt.

LG
Andreas
Re: Alter Fehler wieder da...
02. April 2019 22:30
so, hab's rausgefunden, wie man den Mac überlisten kann winking smiley

zuerst (falls man es schon mehrfach erfolglos versucht hat) in einem Terminal folgenden Befehl eingeben:
cd /Applications
xattr -d com.apple.quarantine Fakturama2.app

Anschließend im Finder mit gedrückter CTRL-Taste das Fakturama-Icon anklicken und in dem aufklappenden Menü "Öffnen" wählen. Dann muß man nur noch die Netzwerkverbindung zulassen. Die nachfolgenden Aufrufe klappen dann auch einfach so (ohne CTRL-Taste). Scheinbar muß man aber jedesmal die Netzwerkverbindung akzeptieren, das ist etwas nervig. Vielleicht hat da aber noch ein anderer Nutzer eine Idee.

Viele Grüße,
Ralf.
Re: Alter Fehler wieder da...
03. April 2019 07:34
DANKE - SUPER - funktioniert! Und das Wegklicken der Netzwerkgeschichte ist ja nun wirklich kein Aufwand.

Ist allemal einfacher, als das Terminal zu öffnen und Fakturama darüber aufzurufen, wobei ich nun auch nicht jeden Tag diverse Rechnungen schreibe - schade eigentlich... Ich war schon drauf und dran dafür ein Automator-Script zu machen - also für den Aufruf, nicht um Rechnungen zu generieren ;-)

LG
Andreas
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen