0

需要一些帮助。我正在尝试通过 jenkins 管道通过 vb 脚本执行 UFT 测试。测试执行并运行良好 3/4 次,在它不运行的实例上,我收到以下警告错误,需要用户按继续运行测试。

"Exception of type: System.InvalidCastException. Source: Northwoods.GoWPF. 
Occured in System.Collections.Generic.IEnumerable`1[System.Object] 
an(System.Object) method
Exception message is: Unable to cast object of type 'Northwoods.GoXam.Group' HP.Utt.Controls.FlowCanvas.FlowCanvas.FlowCanvasItem`1[HP.QTP.BackEndServices.Q tpItemsIfs.IActionCallGraph]"

"Exception of type: System.Windows.Media.Animation.AnimationException. 
Source: PresentationCore. Occured in Void 
OnCurrentTimeInvalidated(System.Object, System.EventArgs) method
Exception message is: Cannot animate the 'Location' property on a 
'System.Windows.Controls.Grid' using a 
'System.Windows.Media.Animation.PointAnimation'. For details see the inner 
exception."

完整的日志;

 Exception of type: System.Windows.Media.Animation.AnimationException. Source: PresentationCore. Occured in Void OnCurrentTimeInvalidated(System.Object, System.EventArgs) method
Exception message is: Cannot animate the 'Location' property on a 'System.Windows.Controls.Grid' using a 'System.Windows.Media.Animation.PointAnimation'. For details see the inner exception.
Exception trace is:    at System.Windows.Media.Animation.AnimationStorage.OnCurrentTimeInvalidated(Object sender, EventArgs args)
   at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
   at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
   at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
   at System.Windows.Media.Animation.TimeManager.Tick()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Exception of type: System.InvalidCastException. Source: Northwoods.GoWPF. Occured in System.Collections.Generic.IEnumerable`1[System.Object] #an(System.Object) method
Exception message is: Unable to cast object of type 'Northwoods.GoXam.Group' to type 'HP.Utt.Controls.FlowCanvas.FlowCanvas.FlowCanvasItem`1[HP.QTP.BackEndServices.QtpItemsIfs.IActionCallGraph]'.
Exception trace is:    at Northwoods.GoXam.Model.GraphLinksModel`4.#an(Object #Y7)
   at Northwoods.GoXam.Group.get_MemberNodes()
   at Northwoods.GoXam.Group.#zt()
   at Northwoods.GoXam.Group.#Dj(Boolean #36)
   at Northwoods.GoXam.Part.InvalidateRelationships(String #I5, Boolean #36)
   at Northwoods.GoXam.Node.#Wj()
   at Northwoods.GoXam.Node.#0j(DependencyObject #73, DependencyPropertyChangedEventArgs #0Y)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.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.Media.Animation.AnimationStorage.OnCurrentTimeInvalidated(Object sender, EventArgs args)

SharpDevelop Version : 4.1.3.0-UFT_14-00000000
.NET Version         : 4.0.30319.42000
OS Version           : Microsoft Windows NT 10.0.14393.0
Current culture      : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Terminal Server Session
Working Set Memory   : 377436kb
GC Heap Memory       : 49019kb


An unexpected error occurred.

Click ‘OK’ to close this message. You may be able to continue working, 
but note that this workflow may cause the error to occur again.
Click ‘Details’ to display technical details on this error which may help 
you solve the problem, or can be used when contacting customer support.

任何帮助将非常感激!!

4

0 回答 0