Absturz bei Eingabe einer neuen Lieferadresse

mvogt

Aktives Mitglied
21. Januar 2016
2
0
Hallo zusammen,

wenn wir versuchen eine neue Lieferadresse bei einem Kunden zu hinterlegen kommt beim Speichern dieser Fehler (und einen darauf folgenden Programmabsturz):
Code:
Unbehandelte Ausnahme #5836C65F1B18FCB3 vom Typ System.Reflection.TargetInvocationException in System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei jtlCore.Forms.Adressen.Controls.AdresseAllgemein.get_LandISO()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   bei System.Reflection.RuntimePropertyInfo.GetValue(Object obj, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   bei System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.Binding.GetTargetValue(Object obj)
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.SyncFromControlToObject(Binding binding)
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.ControlChanged(Object sender, EventArgs args)
   bei System.Windows.Forms.ListControl.OnSelectedValueChanged(EventArgs e)
   bei System.Windows.Forms.ComboBox.OnSelectedValueChanged(EventArgs e)
   bei System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   bei System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
   bei System.Windows.Forms.ListControl.set_SelectedValue(Object value)
   bei jtlCore.Forms.Adressen.Controls.AdresseAllgemein.set_LandISO(String value)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   bei System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   bei System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.Binding.SetTargetValue(Object obj, Object value)
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.SyncFromObjectToControl(Binding binding)
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.SyncFromObjectToControl()
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.B6y1lfTd7CV()
   bei jtlCore.Forms.Binder.SimpleObjectBinder`1.set_DataSource(T value)
   bei jtlCore.Forms.Adressen.Controls.AdresseAllgemein.set_DataSource(AdresseProxy value)
   bei jtlCore.Forms.Adressen.AdresseForm.Tq6FyqgNEBH(Object , EventArgs )
   bei jtlCore.Forms.Adressen.Controls.AdresseListe.EaKF9lW7lRO(Object , EventArgs )
   bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   bei jtlControls.jtlListViewEx.jtlListViewExBinder`1.SelectedItemsCollection.OnChangedBase()
   bei jtlControls.jtlListViewEx.jtlListViewExBinder`1.SelectedItemsCollection.OnChanged()
   bei jtlControls.jtlListViewEx.jtlListViewExBinder`1.SelectedItemsCollection.<.ctor>b__1a(Object sender, EventArgs args)
   bei System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
   bei jtlControls.jtlListViewEx.jtlListViewEx.OnSelectedIndexChanged(EventArgs e)
   bei System.Windows.Forms.ListView.WmReflectNotify(Message& m)
   bei System.Windows.Forms.ListView.WndProc(Message& m)
   bei jtlControls.jtlListViewEx.jtlListViewEx.WndProc(Message& message)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Unbehandelte Ausnahme #365A1856225E6227 vom Typ System.Reflection.TargetInvocationException in System.Object InvokeMethod(System.Object, System.Object[], System.Signature, Boolean): Ein Aufrufziel hat einen Ausnahmefehler verursacht.

Unbehandelte Ausnahme #4EE2F98520A3317F vom Typ System.NullReferenceException in System.String get_LandISO(): Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.

2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 9ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT SUM((((ISNULL(tbestellpos.fVKNetto, 0.0) * ISNULL(tbestellpos.nAnzahl, 0.0) * (1 - (ISNULL(tbestellpos.fRabatt, 0)) / 100)) / CASE tbestellung.fFaktor WHEN 0 THEN 1.0 ELSE ISNULL(tbestellung.fFaktor, 1.0) END)  )) as value,DATEPART (day,tbestellung.dErstellt) as position,
                                MAX(tbestellung.dErstellt) as datetime
                                FROM tbestellpos
                                JOIN tbestellung on tbestellpos.tBestellung_kBestellung = tbestellung.kBestellung  LEFT JOIN tartikel on tbestellpos.tArtikel_kArtikel = tartikel.kArtikel 

                                WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                                AND  (DATEPART (year,tbestellung.dErstellt) = @year)
                                AND (cType = 'B') 
                                AND (tbestellpos.kBestellStueckliste = 0 OR tbestellpos.kBestellPos = tbestellpos.kBestellStueckliste )
                                AND (tbestellung.nStorno = 0) 
                                GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 12,
      year = 2015
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 1ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT COUNT(dErstellt) as value,DATEPART (day,tbestellung.dErstellt) as position,
                            MAX(tbestellung.dErstellt) as datetime          
                            FROM tbestellung
                            WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                            AND  (DATEPART (year,tbestellung.dErstellt) = @year) 
                            AND (cType = 'B')
                            AND (tbestellung.nStorno = 0) 
                            GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 1,
      year = 2016
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 1ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT COUNT(dErstellt) as value,DATEPART (day,tbestellung.dErstellt) as position,
                            MAX(tbestellung.dErstellt) as datetime          
                            FROM tbestellung
                            WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                            AND  (DATEPART (year,tbestellung.dErstellt) = @year) 
                            AND (cType = 'B')
                            AND (tbestellung.nStorno = 0) 
                            GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 12,
      year = 2015
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 0ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT SUM((((ISNULL(tbestellpos.fVKNetto, 0.0) * ISNULL(tbestellpos.nAnzahl, 0.0) * (1 - (ISNULL(tbestellpos.fRabatt, 0)) / 100) - (ISNULL(tbestellpos.fEKNetto, ISNULL(tbestellpos.fVKNetto * (1 - (ISNULL(tbestellpos.fRabatt, 0)) / 100), 0.0)) * ISNULL(tbestellpos.nAnzahl, 0.0))) / CASE tbestellung.fFaktor WHEN 0 THEN 1.0 ELSE ISNULL(tbestellung.fFaktor, 1.0) END))) as value,DATEPART (day,tbestellung.dErstellt) as position,
                                MAX(tbestellung.dErstellt) as datetime
                                FROM tbestellpos
                                JOIN tbestellung on tbestellpos.tBestellung_kBestellung = tbestellung.kBestellung  LEFT JOIN tartikel on tbestellpos.tArtikel_kArtikel = tartikel.kArtikel 

                                WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                                AND  (DATEPART (year,tbestellung.dErstellt) = @year)
                                AND (cType = 'B') 
                                AND (tbestellpos.kBestellStueckliste = 0 OR tbestellpos.kBestellPos = tbestellpos.kBestellStueckliste )
                                AND (tbestellung.nStorno = 0)  AND (tbestellpos.nType != 2)
                                GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 1,
      year = 2016
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 23ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT SUM((((ISNULL(tbestellpos.fVKNetto, 0.0) * ISNULL(tbestellpos.nAnzahl, 0.0) * (1 - (ISNULL(tbestellpos.fRabatt, 0)) / 100) - (ISNULL(tbestellpos.fEKNetto, ISNULL(tbestellpos.fVKNetto * (1 - (ISNULL(tbestellpos.fRabatt, 0)) / 100), 0.0)) * ISNULL(tbestellpos.nAnzahl, 0.0))) / CASE tbestellung.fFaktor WHEN 0 THEN 1.0 ELSE ISNULL(tbestellung.fFaktor, 1.0) END))) as value,DATEPART (day,tbestellung.dErstellt) as position,
                                MAX(tbestellung.dErstellt) as datetime
                                FROM tbestellpos
                                JOIN tbestellung on tbestellpos.tBestellung_kBestellung = tbestellung.kBestellung  LEFT JOIN tartikel on tbestellpos.tArtikel_kArtikel = tartikel.kArtikel 

                                WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                                AND  (DATEPART (year,tbestellung.dErstellt) = @year)
                                AND (cType = 'B') 
                                AND (tbestellpos.kBestellStueckliste = 0 OR tbestellpos.kBestellPos = tbestellpos.kBestellStueckliste )
                                AND (tbestellung.nStorno = 0)  AND (tbestellpos.nType != 2)
                                GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 12,
      year = 2015
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 1ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT SUM(tbestellpos.nAnzahl) as value,DATEPART (day,tbestellung.dErstellt) as position,
                                MAX(tbestellung.dErstellt) as datetime
                                FROM tbestellpos
                                JOIN tbestellung on tbestellpos.tBestellung_kBestellung = tbestellung.kBestellung  LEFT JOIN tartikel on tbestellpos.tArtikel_kArtikel = tartikel.kArtikel 

                                WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                                AND  (DATEPART (year,tbestellung.dErstellt) = @year)
                                AND (cType = 'B') 
                                AND (tbestellpos.kBestellStueckliste = 0 OR tbestellpos.kBestellPos = tbestellpos.kBestellStueckliste )
                                AND (tbestellung.nStorno = 0)  AND (tbestellpos.nType != 2)
                                GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 1,
      year = 2016
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 5ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT * FROM tWaehrung WHERE tWaehrung.nStandard = 1
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 0ms
2016-01-21T16:03:02 DEBUG - [SQL] SELECT SUM(tbestellpos.nAnzahl) as value,DATEPART (day,tbestellung.dErstellt) as position,
                                MAX(tbestellung.dErstellt) as datetime
                                FROM tbestellpos
                                JOIN tbestellung on tbestellpos.tBestellung_kBestellung = tbestellung.kBestellung  LEFT JOIN tartikel on tbestellpos.tArtikel_kArtikel = tartikel.kArtikel 

                                WHERE (DATEPART (month,tbestellung.dErstellt) = @month) 
                                AND  (DATEPART (year,tbestellung.dErstellt) = @year)
                                AND (cType = 'B') 
                                AND (tbestellpos.kBestellStueckliste = 0 OR tbestellpos.kBestellPos = tbestellpos.kBestellStueckliste )
                                AND (tbestellung.nStorno = 0)  AND (tbestellpos.nType != 2)
                                GROUP BY DATEPART (day,tbestellung.dErstellt)
      month = 12,
      year = 2015
2016-01-21T16:03:02 DEBUG - [SQL] Dauer: 1ms
2016-01-21T16:03:06 DEBUG - [SQL] UPDATE [tWidgetLayout] SET cLayout=@cLayout WHERE 1=1 AND kWidgetLayout=@kWidgetLayout;
      @cLayout = '<?xml version="1.0" encoding="utf-16"?><LayoutRoot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SelectedTheme="Standard"><RootPanel Orientation="Horizontal"><LayoutDocumentPaneGroup Orientation="Vertical"><LayoutDocumentPane><LayoutDocument Title="Verkauf Betrag" IsSelected="True" ContentId="18" LastActivationTimeStamp="01/21/2016 16:03:00" /></LayoutDocumentPane><LayoutDocumentPane><LayoutDocument Title="Nicht bezahlte Aufträge" IsSelected="True" ContentId="19" LastActivationTimeStamp="01/21/2016 16:03:00" /></LayoutDocumentPane><LayoutDocumentPane DockHeight="0.411317422551448*"><LayoutDocument Title="Aufträge ohne Versandart" IsSelected="True" ContentId="20" LastActivationTimeStamp="01/21/2016 16:03:00" /></LayoutDocumentPane><LayoutDocumentPane DockHeight="1.58868257744855*"><LayoutDocument Title="Überblick Bestellungen" IsSelected="True" IsLastFocusedDocument="True" ContentId="21" LastActivationTimeStamp="01/21/2016 16:03:00" /></LayoutDocumentPane></LayoutDocumentPaneGroup></RootPanel><TopSide /><RightSide /><LeftSide /><BottomSide /><FloatingWindows /><Hidden /></LayoutRoot>',
      @kWidgetLayout = 5
2016-01-21T16:03:06 DEBUG - [SQL] Dauer: 0ms
2016-01-21T16:03:30 DEBUG - [SQL] SELECT * FROM [tadresse] WHERE [kKunde] = @kKunde 
      @kKunde = 6335
2016-01-21T16:03:31 DEBUG - [SQL] Dauer: 1ms
2016-01-21T16:03:31 DEBUG - [SQL] SELECT * FROM [tland] ORDER BY cName
2016-01-21T16:03:31 DEBUG - [SQL] Dauer: 2ms
2016-01-21T16:03:31 DEBUG - [SQL] SELECT cWert FROM [tUserClientLayout] WHERE kBenutzer=@kBenutzer AND cRechnername = @cRechnername AND cName = @cName
      @kBenutzer = 2,
      @cRechnername = 'PC-A-PC',
      @cName = 'jtlCore.Forms.AdressenAdresseForm'
2016-01-21T16:03:31 DEBUG - [SQL] Dauer: 0ms
Zeitstempel: 2016-01-21T16:04:48
Locale: German (Germany)
Locale: German (Germany)
Version: 1.0.7.2
Plattform: Wawi
Versionshash: 1B68867C
Prozessname: System.Diagnostics.Process (JTL-wawi)
Physikalischer Speicher: 227848192 / Peak: 487665664
Basispriorität: 8
Prioritätsklasse: Normal
CPU-Zeit (User): 0:00:09,8436631
CPU-Zeit (System): 0:00:02,0124129
Page-Size (Sytem): 971516 / Peak: 465432576
Page-Size: 189906944 / Peak: 465432576
Offene Handles: 935

Was könnte das sein, und wie können wir es beheben?

Vielen Dank im Voraus
 

Ähnliche Themen