Nummernkreis ändern / ergänzen

geschrieben von Wormo 
Willkommen! Anmelden Ein neues Profil erzeugen Suche
Nummernkreis ändern / ergänzen
08. Januar 2018 13:37
Hallo Welt,

seit einer Woche setze ich Fakturama2 ein, nachdem ich schon seit drei Jahren die Vorgängerversion nutze. Beide Versionen laufen toll und nahezu reibungslos. Ich bin wirklich begeistert und kann den Entwicklern gar nicht genug danken.

Eine Frage bzw. Problemstellung habe ich seit dem Umstieg auf Fakturama 2. Die Auftragsbestätigungen sind bei uns als "Verträge" umgenutzt. Die "Vertragsnummer" ist dabei eine feste Nummer die sich nicht ändert, ergänzt durch ein Autokennzeichen (Einlagerung von Reifen). In der Vorgängerversion hat das freie Vergeben von fortlaufenden Nummern einwandfrei geklappt. Man konnte nach der Einlagerungsnummer, dem Namen oder dem Autokennzeichen suchen. Nach dem Umstieg musste ich feststellen, dass es nicht mehr so ohne weiteres klappt. Fakturama reagiert jetzt ziemlich empfindlich auf Änderungen des Nummernkreisformats. Es wird ohne Rückmeldung nicht gespeichert, wenn das Format nicht exakt eingehalten wird.

Gibt es eine Spezifikation was man mit dem Feld alles anstellen kann? (außer {xnr}) Meine Formatierung lautet: {nr} // Autokennzeichen
Ändere ich die vorgeschlagene Nummer dann ab, gibt er die übliche Meldung "nicht die nächste Nummer..." nach dem Bestätigen mit OK wird dann manchmal ein Fehler ausgespuckt, manchmal schließt er das Fenster ohne Fehlermeldung speichert jedoch nicht ab.

Hat jemand eine Idee?

Viele Grüße
Bernd
Re: Nummernkreis ändern / ergänzen
08. Januar 2018 17:07
Moin Bernd,
daß das Fenster einfach so schließt ist nicht in Ordnung. Da muß es einen Fehlereintrag im Logfile geben.
Das mit der Änderung der Nummer sollte funktionieren, ich werde mir das aber nochmal ansehen, kann sein, daß ich hier etwas zu restriktiv programmiert habe...

Hab vorsichtshalber noch einen Bug-Eintrag erstellt.

Viele Grüße,
Ralf.



1-mal bearbeitet. Zuletzt am 08.01.18 17:09.
Re: Nummernkreis ändern / ergänzen
09. Januar 2018 10:03
Lieber Ralf,

vielen Dank für die Rückmeldung. An das LOG File habe ich nicht gedacht. Sorry.
Vielleicht hilft es Dir weiter. Ich hatte gestern einige Einstellungsmöglichkeiten probiert. Offenbar kam es dabei immer zu "invalid document number" Meldungen. Auf dem Rechner, der im Produktiveinsatz ist, fand ich gestern abend einen Workaround. Zunächst speichert man die vorgeschlagene Nummer ab, dann lässt sich das Feld beliebig ändern und auch mit der geänderten Nummer speichern. Das wäre natürlich kein Problem, wenn sich alle meine Nutzer an die Reihenfolge: erst speichern, dann Nummer ändern halten würden... Aber da sich das Fenster in der Regel ohne Warnmeldung schließt, ist das suboptimal.

Viele Grüße und nochmals vielen Dank für das großartige Programm und den unbeschreiblichen Support,

Bernd



!SESSION 2018-01-08 12:15:46.097 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:10.408
!MESSAGE create Document list part
!SESSION 2018-01-08 12:18:12.287 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.219
!MESSAGE propertiesFile: C:\Fakturama RFW\fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.238
!MESSAGE {fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.238
!MESSAGE {fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.238
!MESSAGE {fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.239
!MESSAGE {fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.239
!MESSAGE {fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.240
!MESSAGE {fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, TEXTS.BODY.columnWidth.sizes=0:0,1:100, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.240
!MESSAGE {fakturama.document.itemTable.BODY.columnWidth.sizes=0:11,1:7,2:10,3:12,4:5,5:8,6:5,7:11,8:7,9:7,10:11,11:6, fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, TEXTS.BODY.columnWidth.sizes=0:0,1:100, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.240
!MESSAGE {fakturama.document.itemTable.BODY.columnWidth.sizes=0:11,1:7,2:10,3:12,4:5,5:8,6:5,7:11,8:7,9:7,10:11,11:6, fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, TEXTS.BODY.columnWidth.sizes=0:0,1:100, VOUCHERITEMS.BODY.columnWidth.sizes=0:23,1:14,2:14,3:33,4:16, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.241
!MESSAGE {VOUCHERS.BODY.columnWidth.sizes=0:9,1:25,2:3,3:33,4:14,5:16, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, TEXTS.BODY.columnWidth.sizes=0:0,1:100, VOUCHERITEMS.BODY.columnWidth.sizes=0:23,1:14,2:14,3:33,4:16, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.document.itemTable.BODY.columnWidth.sizes=0:11,1:7,2:10,3:12,4:5,5:8,6:5,7:11,8:7,9:7,10:11,11:6}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.241
!MESSAGE {VOUCHERS.BODY.columnWidth.sizes=0:9,1:25,2:3,3:33,4:14,5:16, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16, fakturama.views.shippingTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, TEXTS.BODY.columnWidth.sizes=0:0,1:100, VOUCHERITEMS.BODY.columnWidth.sizes=0:23,1:14,2:14,3:33,4:16, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.document.itemTable.BODY.columnWidth.sizes=0:11,1:7,2:10,3:12,4:5,5:8,6:5,7:11,8:7,9:7,10:11,11:6}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.242
!MESSAGE {VOUCHERS.BODY.columnWidth.sizes=0:9,1:25,2:3,3:33,4:14,5:16, fakturama.views.vatTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16, LIST.BODY.columnWidth.sizes=0:50,1:50, fakturama.views.shippingTable.BODY.columnWidth.sizes=0:39,1:33,2:12,3:16, fakturama.views.documentTable.BODY.columnWidth.sizes=0:12,1:14,2:3,3:33,4:10,5:16,6:12, fakturama.views.contactTable.BODY.columnWidth.sizes=0:6,1:25,2:33,3:20,4:9,5:7, fakturama.views.paymentTable.BODY.columnWidth.sizes=0:32,1:12,2:9,3:25,4:12,5:10, TEXTS.BODY.columnWidth.sizes=0:0,1:100, VOUCHERITEMS.BODY.columnWidth.sizes=0:23,1:14,2:14,3:33,4:16, PRODUCTS.BODY.columnWidth.sizes=0:24,1:11,2:25,3:16,4:16,5:8, fakturama.document.itemTable.BODY.columnWidth.sizes=0:11,1:7,2:10,3:12,4:5,5:8,6:5,7:11,8:7,9:7,10:11,11:6}

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:18:24.246
!MESSAGE --- old data end ----

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:26:27.686
!MESSAGE beendet

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:27:03.220
!MESSAGE create Document list part

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-08 12:28:40.993
!MESSAGE Fehler:

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:28:40.994
!MESSAGE beendet

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:28:48.506
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:29:03.772
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:30:07.819
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:30:33.552
!MESSAGE create Contact list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:30:42.004
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:31:08.625
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:31:15.177
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-08 12:31:43.449
!MESSAGE Document number invalid
!STACK 0
java.lang.NumberFormatException: For input string: "877 KENNZEIC"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sebulli.fakturama.calculate.NumberGenerator.setNextFreeNumberInPrefStore(NumberGenerator.java:105)
at com.sebulli.fakturama.parts.Editor.setNextFreeNumberInPrefStore(Editor.java:320)
at com.sebulli.fakturama.parts.DocumentEditor.doSave(DocumentEditor.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
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 org.eclipse.e4.ui.internal.workbench.PartServiceSaveHandler.save(PartServiceSaveHandler.java:57)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1368)
at com.sebulli.fakturama.handlers.SaveHandler.execute(SaveHandler.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
at com.sebulli.fakturama.parts.CoolbarViewPart.lambda$0(CoolbarViewPart.java:342)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:31:53.614
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:32:44.933
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:33:20.091
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:33:22.268
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-08 12:33:52.664
!MESSAGE Document number invalid
!STACK 0
java.lang.NumberFormatException: For input string: "O 31"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sebulli.fakturama.calculate.NumberGenerator.setNextFreeNumberInPrefStore(NumberGenerator.java:105)
at com.sebulli.fakturama.parts.Editor.setNextFreeNumberInPrefStore(Editor.java:320)
at com.sebulli.fakturama.parts.DocumentEditor.doSave(DocumentEditor.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
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 org.eclipse.e4.ui.internal.workbench.PartServiceSaveHandler.save(PartServiceSaveHandler.java:57)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1368)
at com.sebulli.fakturama.handlers.SaveHandler.execute(SaveHandler.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
at com.sebulli.fakturama.parts.CoolbarViewPart.lambda$0(CoolbarViewPart.java:342)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-08 12:34:25.154
!MESSAGE Document number invalid
!STACK 0
java.lang.NumberFormatException: For input string: "O 31"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sebulli.fakturama.calculate.NumberGenerator.setNextFreeNumberInPrefStore(NumberGenerator.java:105)
at com.sebulli.fakturama.parts.Editor.setNextFreeNumberInPrefStore(Editor.java:320)
at com.sebulli.fakturama.parts.DocumentEditor.doSave(DocumentEditor.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
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 org.eclipse.e4.ui.internal.workbench.PartServiceSaveHandler.save(PartServiceSaveHandler.java:57)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1368)
at com.sebulli.fakturama.handlers.SaveHandler.execute(SaveHandler.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
at com.sebulli.fakturama.parts.CoolbarViewPart.lambda$0(CoolbarViewPart.java:342)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-08 12:44:37.991
!MESSAGE Document number invalid
!STACK 0
java.lang.NumberFormatException: For input string: "O 31"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sebulli.fakturama.calculate.NumberGenerator.setNextFreeNumberInPrefStore(NumberGenerator.java:105)
at com.sebulli.fakturama.parts.Editor.setNextFreeNumberInPrefStore(Editor.java:320)
at com.sebulli.fakturama.parts.DocumentEditor.doSave(DocumentEditor.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
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 org.eclipse.e4.ui.internal.workbench.PartServiceSaveHandler.save(PartServiceSaveHandler.java:57)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1368)
at com.sebulli.fakturama.handlers.SaveHandler.execute(SaveHandler.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
at com.sebulli.fakturama.parts.CoolbarViewPart.lambda$0(CoolbarViewPart.java:342)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:44:46.837
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:44:58.679
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-08 12:45:23.633
!MESSAGE Document number invalid
!STACK 0
java.lang.NumberFormatException: For input string: "- 12345"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.sebulli.fakturama.calculate.NumberGenerator.setNextFreeNumberInPrefStore(NumberGenerator.java:105)
at com.sebulli.fakturama.parts.Editor.setNextFreeNumberInPrefStore(Editor.java:320)
at com.sebulli.fakturama.parts.DocumentEditor.doSave(DocumentEditor.java:369)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
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 org.eclipse.e4.ui.internal.workbench.PartServiceSaveHandler.save(PartServiceSaveHandler.java:57)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1368)
at com.sebulli.fakturama.handlers.SaveHandler.execute(SaveHandler.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:196)
at com.sebulli.fakturama.parts.CoolbarViewPart.lambda$0(CoolbarViewPart.java:342)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:46:16.706
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:46:37.709
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:46:57.600
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:48:19.910
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:48:24.086
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:48:39.145
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:51:41.772
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:52:13.804
!MESSAGE create Contact list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:52:23.851
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:52:26.788
!MESSAGE create TextModule list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:52:28.269
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:54:49.412
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:55:11.150
!MESSAGE create Contact list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 12:55:18.929
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:04:22.881
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:04:56.533
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:05:39.405
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:05:41.438
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:06:07.023
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:06:09.851
!MESSAGE create DocumentItem list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:06:17.160
!MESSAGE create Contact list part

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:06:24.716
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:17:39.070
!MESSAGE Saving NatTable state to fakturamaviews.properties

!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-08 13:17:39.389
!MESSAGE Saving NatTable state to fakturamaviews.properties
Re: Nummernkreis ändern / ergänzen
09. Januar 2018 11:23
Hallo Bernd,
besten Dank smiling smiley

Der Fehler liegt hier:

java.lang.NumberFormatException: For input string: "- 12345"
at java.lang.NumberFormatException.forInputString(Unknown Source)
Da wird versucht, einen Eingabewert als Zahl zu interpretieren, das geht aber nicht und schlägt deswegen fehl. Das muß ich noch abfangen, ist ein Fehler.

Kannst Du mir bitte mal Deine Konfiguration für die Rechnungsnummer schicken? Dann kann ich das bei mir gleich mal nachstellen.

Viele Grüße,
Ralf.
Re: Nummernkreis ändern / ergänzen
09. Januar 2018 16:10
Hallo Ralf,

mein Nummernformat ist:
{nr} XXXXXXXXXXXX

Wobei die fortlaufende Nummer in der Regel manuell überschrieben wird und die X werden zu Autokennzeichen im Format XXX - XX 1234.

Wie schon erwähnt wird das Format akzeptiert, wenn der Datensatz erstmal abgespeichert und die Änderung nachträglich durchgeführt wurde.

Ich habe übrigens auch versucht zuerst die Buchstaben und dann die fortlaufende Nummer festzulegen. Keine Änderung.

Vielen Dank und viele Grüße
Bernd
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen