дублируются данные

Кирилл Шнурков 7 лет назад 0

Во время инвентаризации произошел сбой, программа была экстренно завершена. По словам проводивших инвентаризацию программа "зависла" После повторного запуска нажали восстановить, но данные почему-то продублировались. До этих пор восстановление работало корректно. в логе  последние записи следующие 

MobileSMARTS.exe; 185879798; 17/11/2017 13:09:11.909 ERROR
ADDITION TEXT: CheckBatchProductBook
MESSAGE: Справочник товаров пока не загружен на ТСД
TYPE: System.Exception
[STACK TRACE]
at Cleverence.Warehouse.ProductsManager.CheckBatchProductBook(Boolean writeExc)
at Cleverence.Warehouse.ProductsManager.get_Count()
at Cleverence.Warehouse.UserGroup.get_ServerSideInventory()
at Cleverence.Warehouse.DocumentItem.get_Product()
at Cleverence.Warehouse.DocumentItem.get_Packing()
at Cleverence.Warehouse.DocumentItemCollection.GetCurrentQuantityInPacking(Product product, Packing p)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess, StackCrawlMark& stackMark)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Cleverence.Reflection.InvokeMethod(Object obj, MethodBase mi, Object[] args)
at Cleverence.Parsing.CompiledExpression.Operator.MethodCall.InvokeMethod(Object obj, String methodName, MethodCallFrame mcf)
at Cleverence.Parsing.CompiledExpression.Operator.MethodCall.op(EvaluationFrame frame)
at Cleverence.Parsing.CompiledExpression.Evaluate(ILocalScope localScope, IGlobalScope globalScope, IMath math, IQueryBuilder query)
at Cleverence.CompactForms.ExpressionTextBlock.RefreshImpl(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.HtmlTextBlock.RefreshImpl(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.ComplexFormat.RefreshPrimitive(Object value, String formatPrefix, TextBlock format, Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.ComplexFormat.Refresh(Object source, Object value, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.ExpressionTextBlock.RefreshImpl(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.HtmlTextBlock.RefreshImpl(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source)
at Cleverence.Warehouse.Compact.ActionSession.ProcessTemplate(Object source, String template, Boolean removeUnnecessarySymbols)
at Cleverence.Warehouse.Compact.ActionSession.ProcessTemplate(String template, Boolean removeUnnecessarySymbols)
at Cleverence.Warehouse.Expandable.CalcTemplateField(FieldInfo fInfo)
at Cleverence.Warehouse.Expandable._baseGetField(String fieldName, Boolean addToReflCache)
at Cleverence.Warehouse.PackedProduct.GetField(String fieldName)
at Cleverence.Warehouse.Compact.ActionSession.Cleverence.Parsing.ILocalScope.GetPropertyValue(Object obj, String propertyName)
at Cleverence.Parsing.CompiledExpression.Operator.Access.GetPropertyValue(Object obj, String propertyName, ILocalScope localScope)
at Cleverence.Parsing.CompiledExpression.Operator.Access.op(EvaluationFrame frame)
at Cleverence.Parsing.CompiledExpression.Evaluate(ILocalScope localScope, IGlobalScope globalScope, IMath math, IQueryBuilder query)
at Cleverence.CompactForms.ExpressionTextBlock.RefreshImpl(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.HtmlTextBlock.RefreshImpl(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source, ILocalScope localScope, IGlobalScope globalScope)
at Cleverence.CompactForms.TextBlock.Refresh(Object source)
at Cleverence.CompactForms.TextMarkupCss._reinit(TextBlock textBlock, Font fnt, Control ctrl, Boolean trimmed, Boolean forceReinit)
at Cleverence.CompactForms.TextMarkupCss..ctor(TextBlock textBlock, Font fnt, Control ctrl, Boolean trimmed)
at Cleverence.CompactForms.TextMarkupCss.TextMarkupCssStatic.Markup(TextBlock textBlock, Font font, Control control, Graphics g, Boolean trim)
at Cleverence.CompactForms.TextMarkupStaticBase.Markup(String text, Font font, Control control, Graphics g, Boolean trim)
at Cleverence.CompactForms.TextMarkupStaticBase.Markup(String text, Font font, Control control, Boolean trim)
at Cleverence.CompactForms.TextMarkupStaticBase.Markup(String text, Font font, Control control)
at Cleverence.CompactForms.TextMarkup.Markup(String text, Font font, Control control)
at Cleverence.CompactForms.Label.set_TextTemplate(String value)
at Cleverence.CompactForms.Label.SetOrUpdateTemplatedText(String textTemplate)
at Cleverence.Warehouse.Compact.ActionSession.SetHeaderText(String text)
at Cleverence.Warehouse.Compact.OperationAction.<>c__DisplayClass5.<app_Flow>b__3()
at Cleverence.CompactForms.FormStack.<>c__DisplayClass2.<Invoke>b__0()
at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess, StackCrawlMark& stackMark)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at System.Windows.Forms.Control.TASK.Invoke()
at System.Windows.Forms.Control._InvokeAll()
at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.ContainerControl.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.Yield()
at Cleverence.Warehouse.Compact.DataStorage.Invoke(String methodName, Object[] parameters)
at Cleverence.Warehouse.Compact.DataStorage.GetProductsByIdentity(String identity, Boolean ignoreBaseBarcodes, Boolean quickSearch, String inclClassIdsStr, String exclClassIdsStr, String deviceInfoXml)
at Cleverence.Warehouse.Compact.DataExchanging.GetProductsByIdentity(String code, Boolean ignoreBaseBarcodes, Boolean quickSearch, StringCollection inclClassificators, StringCollection exclClassificators)
at Cleverence.Warehouse.ProductsManager.FindOnServerByIdentity(String code, Boolean ignoreBaseBarcodes, Boolean ignoreQuantityPolicy, Boolean quickSearch, StringCollection inclClassificators, StringCollection exclClassificators)
at Cleverence.Warehouse.ProductsManager.FindEverywhere(String barcode, Boolean ignoreBaseBarcodes, Boolean quickSelectProduct, Boolean ignoreQuantityPolicy)
at Cleverence.Warehouse.Compact.ScanAction.FindCurrentProduct(String barcode, Boolean& canceled, Boolean& error, KeyToAction& pressedKeyAction)
at Cleverence.Warehouse.Compact.ScanAction.intProcessBarcode(String bcode, Boolean fromSession)
at Cleverence.Warehouse.Compact.ScanAction.ProcessBarcode(String barcode, Boolean hardware)
at Cleverence.Warehouse.Compact.VisualAction.OnScannerScan(BarcodeEventArgs e)
at Cleverence.Warehouse.Compact.VisualAction.Cleverence.Warehouse.Compact.IActivityAcceptor.AcceptScannerScan(BarcodeEventArgs e)
at Cleverence.Warehouse.Compact.ActionWorkflow.Scanner_Scan(BarcodeEventArgs e)
at Cleverence.Warehouse.Compact.ActionWorkflow.Scanner_Scan(ScanArgs e)
at Cleverence.Warehouse.Compact.BarcodeScanner.OnScan(String text, BarcodeType barcodeType)
at Cleverence.Warehouse.Compact.SymbolMobileComputer.InternalScanner.HandleData(ReaderData TheReaderData)
at Cleverence.Warehouse.Compact.SymbolMobileComputer.InternalScanner.MyReader_ReadNotify(Object sender, EventArgs e)
at System.Windows.Forms.Control.TASK.Invoke()
at System.Windows.Forms.Control._InvokeAll()
at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
at Cleverence.Warehouse.Compact.Start.Main2(String[] args)
at Cleverence.Warehouse.Compact.Start.Main(String[] args)
[STACK TRACE]

MobileSMARTS.exe; 185879798; 17/11/2017 13:09:17.334 ERROR
ADDITION TEXT: DataExchanging.GetProductsByIdentity function
MESSAGE: Unable to connect to the remote server
TYPE: System.Net.WebException
[STACK TRACE]
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at Cleverence.Web.ZHttpWebResponse..ctor(WebRequest request, Uri uri)
at Cleverence.Web.ZHttpWebRequest.GetResponse()
at Cleverence.Warehouse.Compact.DataStorage.FakeWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.doInvoke(String methodName, Object[] parameters, WebClientAsyncResult asyncResult)
at System.Web.Services.Protocols.SoapHttpClientProtocol.doAsyncInvoke(Object asyncResultAsObject)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()
[STACK TRACE]
STATUS: ConnectFailure
RESPONSE: null

--INNER EXCEPTION--
MESSAGE: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
TYPE: System.Net.Sockets.SocketException
[STACK TRACE]
at System.Net.Sockets.Socket.ConnectNoCheck(EndPoint remoteEP)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Connection.doConnect(IPEndPoint ep)
at System.Net.Connection.connect(Object ignored)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()
[STACK TRACE]
ERRORCODE: 10060
NATIVEERRORCODE:10060

MobileSMARTS.exe; SDF P2PQueue handle-monitoring thread; 21/11/2017 09:57:58.489 WARNING
ADDITION TEXT: RxMonitorHandle
MESSAGE: ThreadAbortException
TYPE: System.Threading.ThreadAbortException
[STACK TRACE]
at Cleverence.WindowsCE.Messaging.P2PMessageQueue.RxMonitorHandle()
[STACK TRACE]
EXCEPTIONSTATE: null

Сервис поддержки клиентов работает на платформе UserEcho