Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2014-10-31 23:31:33,741: INFO/Worker-2] api.export-product-infos[51672276-1d0b-4df8-b6cd-b19eccd68d9f]: <!DOCTYPE html>
- <html>
- <head>
- <title>Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.</title>
- <meta name="viewport" content="width=device-width" />
- <style>
- body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
- p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
- b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
- H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
- H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
- pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
- .marker {font-weight: bold; color: black;text-decoration: none;}
- .version {color: gray;}
- .error {margin-bottom: 10px;}
- .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
- @media screen and (max-width: 639px) {
- pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
- }
- @media screen and (max-width: 479px) {
- pre { width: 280px; }
- }
- </style>
- </head>
- <body bgcolor="white">
- <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
- <h2> <i>Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.</i> </h2></span>
- <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
- <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
- <br><br>
- <b> Exception Details: </b>System.Data.Entity.Core.OptimisticConcurrencyException: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.<br><br>
- <b>Source Error:</b> <br><br>
- <table width=100% bgcolor="#ffffcc">
- <tr>
- <td>
- <code>
- An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
- </td>
- </tr>
- </table>
- <br>
- <b>Stack Trace:</b> <br><br>
- <table width=100% bgcolor="#ffffcc">
- <tr>
- <td>
- <code><pre>
- [OptimisticConcurrencyException: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.]
- System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.ValidateRowsAffected(Int64 rowsAffected, UpdateCommand source) +141
- System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() +542
- System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +534
- System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) +219
- System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +263
- System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) +298
- System.Data.Entity.Internal.InternalContext.SaveChanges() +218
- [DbUpdateConcurrencyException: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.]
- System.Data.Entity.Internal.InternalContext.SaveChanges() +291
- QA.Shop.Service.ShopProductConverter.LoadJsonRegionProduct(String json) in c:\Builds\27\QA.Beeline\QA.Shop.Sync(bee live)\src\Source\QA.Shop.Service\ShopProductConverter.cs:661
- QA.Shop.Service.MainControl.LoadData(String json, EntityType type) in c:\Builds\27\QA.Beeline\QA.Shop.Sync(bee live)\src\Source\QA.Shop.Service\MainControl.cs:96
- QA.Shop.WebUI.Controllers.RegionProductController.Put() in c:\Builds\27\QA.Beeline\QA.Shop.Sync(bee live)\src\Source\QA.Shop.WebUI\Controllers\RegionProductController.cs:71
- lambda_method(Closure , ControllerBase , Object[] ) +79
- System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +242
- System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
- System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +12
- System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +139
- System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +112
- System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +452
- System.Web.Mvc.Async.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult) +15
- System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +37
- System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +241
- System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
- System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
- System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
- System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +19
- System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51
- System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
- System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
- System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
- </pre></code>
- </td>
- </tr>
- </table>
- <br>
- <hr width=100% size=1 color=silver>
- <b>Version Information:</b> Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18067
- </font>
- </body>
- </html>
- <!--
- [OptimisticConcurrencyException]: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.
- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.ValidateRowsAffected(Int64 rowsAffected, UpdateCommand source)
- at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
- at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
- at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
- at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
- at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
- at System.Data.Entity.Internal.InternalContext.SaveChanges()
- [DbUpdateConcurrencyException]: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries.
- at System.Data.Entity.Internal.InternalContext.SaveChanges()
- at QA.Shop.Service.ShopProductConverter.LoadJsonRegionProduct(String json) in c:\Builds\27\QA.Beeline\QA.Shop.Sync(bee live)\src\Source\QA.Shop.Service\ShopProductConverter.cs:line 661
- at QA.Shop.Service.MainControl.LoadData(String json, EntityType type) in c:\Builds\27\QA.Beeline\QA.Shop.Sync(bee live)\src\Source\QA.Shop.Service\MainControl.cs:line 96
- at QA.Shop.WebUI.Controllers.RegionProductController.Put() in c:\Builds\27\QA.Beeline\QA.Shop.Sync(bee live)\src\Source\QA.Shop.WebUI\Controllers\RegionProductController.cs:line 71
- at lambda_method(Closure , ControllerBase , Object[] )
- at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
- at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
- at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
- at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
- at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
- at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
- at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
- at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
- at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
- at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
- at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
- at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
- at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
- at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
- at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
- at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
- at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
- --><!--
- This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments.-->
- DEBUG 2014-10-31 23:31:33,838 base 32656 140616413419264 Sending message of length 6204 to http://192.168.153.120:9000/api/4/store/
- [2014-10-31 23:31:33,848: ERROR/MainProcess] Task api.export-product-infos[51672276-1d0b-4df8-b6cd-b19eccd68d9f] raised unexpected: HTTPError('500 Server Error: Internal Server Error',)
- Traceback (most recent call last):
- File "/opt/abserver/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
- R = retval = fun(*args, **kwargs)
- File "/opt/abserver/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
- return self.run(*args, **kwargs)
- File "/opt/abserver/lib/python2.7/site-packages/abe/api/tasks.py", line 370, in export_product_infos
- response.raise_for_status()
- File "/opt/abserver/lib/python2.7/site-packages/requests/models.py", line 795, in raise_for_status
- raise HTTPError(http_error_msg, response=self)
- HTTPError: 500 Server Error: Internal Server Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement