Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#545 closed Bug (fixed)

Crash report 2012-02-21

Reported by: no-reply@… Owned by: matkovic
Priority: Unclassified Milestone: CrypTool 2.0 BETA 9
Component: General Keywords:
Cc:

Description

Title: Crash report
Exception at 21.02.2012 09:52:20 (UTC time).
User message:
Crash beim Laden eines fehlerhaften Templates
-
Exception:
System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
   at WorkspaceManager.View.VisualComponents.CryptoLineView.InternalCryptoLineView.OnHasComputedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at WorkspaceManager.View.VisualComponents.CryptoLineView.InternalCryptoLineView.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at WorkspaceManager.View.VisualComponents.CryptoLineView.InternalCryptoLineView.set_Model(ConnectionModel value)
   at WorkspaceManager.View.VisualComponents.CryptoLineView.InternalCryptoLineView..ctor(ConnectionModel connectionModel, BinConnectorVisual source, BinConnectorVisual target, ObservableCollection`1 visuals)
   at WorkspaceManager.View.VisualComponents.CryptoLineView.CryptoLineView..ctor(ConnectionModel model, BinConnectorVisual source, BinConnectorVisual target, ObservableCollection`1 visuals)
   at WorkspaceManager.View.BinVisual.BinEditorVisual.addConnection(BinConnectorVisual source, BinConnectorVisual target, ConnectionModel model)
   at WorkspaceManager.View.BinVisual.BinEditorVisual.<>c__DisplayClass2.<internalLoad>b__1(Object )
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Cryptool.CrypWin.App.Main()

-
System infos:
Operating System: Microsoft Windows NT 6.1.7600.0
Processors: 2
Administrative Rights: False
Current culture: de-DE
CrypTool version: 2.0.4524.1
Installation type: ZIP
Build type: Nightly
Build time: 21.02.2012 10:28:20
Product name: CrypTool 2.0 (Nightly Build 4524.1)
Common language runtime version: 4.0.30319.239
System time: 10:51


Change History (3)

comment:1 Changed 10 years ago by Sven Rech

Owner: changed from coredevs to matkovic
Status: newassigned

comment:2 Changed 10 years ago by matkovic

Resolution: fixed
Status: assignedclosed

(In [4529]) fixes #545 , #537, #531, #520, #539, #429 [workspace] added a Context menu for lines, improvements on partial Line selection (buggy)

comment:3 Changed 10 years ago by Sven Rech

Milestone: CrypTool 2.0 BETA 8CrypTool 2.0 BETA 9

Milestone CrypTool 2.0 BETA 8 deleted

Note: See TracTickets for help on using tickets.