Rechnungen können nicht mehr erstellt werden

geschrieben von selies 
Willkommen! Anmelden Ein neues Profil erzeugen Suche
Rechnungen können nicht mehr erstellt werden
05. Juni 2019 13:25
Hallo Leute!

Nachdem ich Fakturama auf einen neuen PC drauf getan habe und eine MYSQL Verbindung hergestellt habe, bleibt dass "Neue Rechnung" Feld einfach grau.. auch nach dem anlegen eines neuen Arbeitsverzeichnis bleibt dieser Fehler trotzdem noch..
Folgende Fehlermeldung bei klick auf "Neue Rechnung"

non-unique result found for property NUMBERRANGE_ORDER_NR in: com.sebulli.fakturama.dao.PropertiesDAO#findPropertyValue (68)
Unable to create class 'com.sebulli.fakturama.parts.DocumentEditor' from bundle '65' in: com.sebulli.fakturama.handlers.CallEditor#execute (171)

Hier noch eine kurze Kopie aus dem Fehlerlog:

!SESSION 2019-06-05 13:03:54.152 -----------------------------------------------
eclipse.buildId=2.0.4.
java.version=1.8.0_211
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 4 0 2019-06-05 13:05:31.953
!MESSAGE Unable to generate parameterized command for org.eclipse.e4.ui.model.application.ui.menu.impl.HandledMenuItemImpl@1bfc5ff (elementId: menu:main.menu.file.webshop.id, tags: null, contributorURI: platform:/plugin/com.sebulli.fakturama.rcp) (widget: null, renderer: org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer@a8a2, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (label: %command.webshop.name, iconURI: icon://COMMAND_SHOP, tooltip: %command.webshop.tooltip, enabled: false, selected: false, type: Push) (mnemonics: null) (wbCommand: null) with {org.fakturama.webshop.connector.action=import-orders, com.sebulli.fakturama.webshopimport.prepareGetProductsAndOrders=true}
!SESSION 2019-06-05 13:05:33.146 -----------------------------------------------
eclipse.buildId=2.0.4.
java.version=1.8.0_211
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 com.sebulli.fakturama.common 4 0 2019-06-05 13:05:40.772
!MESSAGE non-unique result found for property CONTACT_FORMAT_GREETING_COMMON
!STACK 0
javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.persistence.internal.jpa.QueryImpl.throwNonUniqueResultException(QueryImpl.java:987)
at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:536)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:402)
at com.sebulli.fakturama.dao.PropertiesDAO.findPropertyValue(PropertiesDAO.java:68)
at com.sebulli.fakturama.dao.PropertiesDAO.findPropertyValue(PropertiesDAO.java:49)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadPreferenceValue(PreferencesInDatabase.java:60)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.syncWithPreferencesFromDatabase(PreferencesInDatabase.java:91)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.syncWithPreferencesFromDatabase(ContactFormatPreferencePage.java:99)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.loadOrSaveUserValuesFromDB(ContactFormatPreferencePage.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(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 com.sebulli.fakturama.preferences.PreferencesInDatabase.loadOrSavePreferencesFromOrInDatabase(PreferencesInDatabase.java:120)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadPreferencesFromDatabase(PreferencesInDatabase.java:129)
at com.sebulli.fakturama.LifecycleManager.fillWithInitialData(LifecycleManager.java:326)
at com.sebulli.fakturama.LifecycleManager.processAdditions(LifecycleManager.java:454)
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:233)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:274)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:149)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(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 com.sebulli.fakturama.common 4 0 2019-06-05 13:05:40.777
!MESSAGE non-unique result found for property CONTACT_FORMAT_GREETING_MR
!STACK 0
javax.persistence.NonUniqueResultException: More than one result was returned from Query.getSingleResult()
at org.eclipse.persistence.internal.jpa.QueryImpl.throwNonUniqueResultException(QueryImpl.java:987)
at org.eclipse.persistence.internal.jpa.QueryImpl.getSingleResult(QueryImpl.java:536)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:402)
at com.sebulli.fakturama.dao.PropertiesDAO.findPropertyValue(PropertiesDAO.java:68)
at com.sebulli.fakturama.dao.PropertiesDAO.findPropertyValue(PropertiesDAO.java:49)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadPreferenceValue(PreferencesInDatabase.java:60)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.syncWithPreferencesFromDatabase(PreferencesInDatabase.java:91)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.syncWithPreferencesFromDatabase(ContactFormatPreferencePage.java:100)
at com.sebulli.fakturama.preferences.ContactFormatPreferencePage.loadOrSaveUserValuesFromDB(ContactFormatPreferencePage.java:120)
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 com.sebulli.fakturama.preferences.PreferencesInDatabase.loadOrSavePreferencesFromOrInDatabase(PreferencesInDatabase.java:120)
at com.sebulli.fakturama.preferences.PreferencesInDatabase.loadPreferencesFromDatabase(PreferencesInDatabase.java:129)
at com.sebulli.fakturama.LifecycleManager.fillWithInitialData(LifecycleManager.java:326)
at com.sebulli.fakturama.LifecycleManager.processAdditions(LifecycleManager.java:454)
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:233)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:274)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:149)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(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)
Re: Rechnungen können nicht mehr erstellt werden
05. Juni 2019 23:25
Moin, das ist ein bekanntes Problem, das auftritt, wenn man mehrmals das Programm installiert und immer dieselbe Datenbank angibt. Darauf deutet die Fehlermeldung "non-unique result found for property CONTACT_FORMAT_GREETING_COMMON" hin. Die besagt, daß in der Tabelle für die Einstellungen Einträge doppelt drin sind. Wenn Du MySQL nutzt kannst Du die aber ganz einfach leeren (delete * from FKT_USERPROPERTY), die Einstellungen werden dann von deinem lokalen System wieder reingeschrieben. Sicherung vorher natürlich nicht vergessen. Du kannst natürlich auch die doppelten Einträge per Hand löschen.

Viele Grüße,
Ralf.
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen