Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.42 KB | None | 0 0
  1. [2014-10-31 23:31:33,741: INFO/Worker-2] api.export-product-infos[51672276-1d0b-4df8-b6cd-b19eccd68d9f]: <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <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>
  5. <meta name="viewport" content="width=device-width" />
  6. <style>
  7. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
  8. p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
  9. b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
  10. H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
  11. H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
  12. pre {font-family:"Consolas","Lucida Console",Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}
  13. .marker {font-weight: bold; color: black;text-decoration: none;}
  14. .version {color: gray;}
  15. .error {margin-bottom: 10px;}
  16. .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
  17. @media screen and (max-width: 639px) {
  18. pre { width: 440px; overflow: auto; white-space: pre-wrap; word-wrap: break-word; }
  19. }
  20. @media screen and (max-width: 479px) {
  21. pre { width: 280px; }
  22. }
  23. </style>
  24. </head>
  25.  
  26. <body bgcolor="white">
  27.  
  28. <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>
  29.  
  30. <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>
  31.  
  32. <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
  33.  
  34. <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.
  35.  
  36. <br><br>
  37.  
  38. <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>
  39.  
  40. <b>Source Error:</b> <br><br>
  41.  
  42. <table width=100% bgcolor="#ffffcc">
  43. <tr>
  44. <td>
  45. <code>
  46.  
  47. 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>
  48.  
  49. </td>
  50. </tr>
  51. </table>
  52.  
  53. <br>
  54.  
  55. <b>Stack Trace:</b> <br><br>
  56.  
  57. <table width=100% bgcolor="#ffffcc">
  58. <tr>
  59. <td>
  60. <code><pre>
  61.  
  62. [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.]
  63. System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.ValidateRowsAffected(Int64 rowsAffected, UpdateCommand source) +141
  64. System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() +542
  65. System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +534
  66. System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction) +219
  67. System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +263
  68. System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) +298
  69. System.Data.Entity.Internal.InternalContext.SaveChanges() +218
  70.  
  71. [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.]
  72. System.Data.Entity.Internal.InternalContext.SaveChanges() +291
  73. 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
  74. 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
  75. 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
  76. lambda_method(Closure , ControllerBase , Object[] ) +79
  77. System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +242
  78. System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
  79. System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;BeginInvokeSynchronousActionMethod&gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +12
  80. System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +139
  81. System.Web.Mvc.Async.AsyncInvocationWithFilters.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3d() +112
  82. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass46.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3f() +452
  83. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass33.&lt;BeginInvokeActionMethodWithFilters&gt;b__32(IAsyncResult asyncResult) +15
  84. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass2b.&lt;BeginInvokeAction&gt;b__1c() +37
  85. System.Web.Mvc.Async.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__1e(IAsyncResult asyncResult) +241
  86. System.Web.Mvc.Controller.&lt;BeginExecuteCore&gt;b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
  87. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
  88. System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
  89. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +19
  90. System.Web.Mvc.MvcHandler.&lt;BeginProcessRequest&gt;b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +51
  91. System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +111
  92. System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
  93. System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +288
  94. </pre></code>
  95.  
  96. </td>
  97. </tr>
  98. </table>
  99.  
  100. <br>
  101.  
  102. <hr width=100% size=1 color=silver>
  103.  
  104. <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18067
  105.  
  106. </font>
  107.  
  108. </body>
  109. </html>
  110. <!--
  111. [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.
  112. at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.ValidateRowsAffected(Int64 rowsAffected, UpdateCommand source)
  113. at System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
  114. at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
  115. at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
  116. at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
  117. at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
  118. at System.Data.Entity.Internal.InternalContext.SaveChanges()
  119. [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.
  120. at System.Data.Entity.Internal.InternalContext.SaveChanges()
  121. 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
  122. 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
  123. 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
  124. at lambda_method(Closure , ControllerBase , Object[] )
  125. at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
  126. at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
  127. at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
  128. at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
  129. at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
  130. at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
  131. at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
  132. at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
  133. at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
  134. at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
  135. at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  136. at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
  137. at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  138. at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
  139. at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
  140. at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
  141. at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
  142. --><!--
  143. This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->
  144. 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/
  145. [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',)
  146. Traceback (most recent call last):
  147. File "/opt/abserver/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
  148. R = retval = fun(*args, **kwargs)
  149. File "/opt/abserver/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
  150. return self.run(*args, **kwargs)
  151. File "/opt/abserver/lib/python2.7/site-packages/abe/api/tasks.py", line 370, in export_product_infos
  152. response.raise_for_status()
  153. File "/opt/abserver/lib/python2.7/site-packages/requests/models.py", line 795, in raise_for_status
  154. raise HTTPError(http_error_msg, response=self)
  155. HTTPError: 500 Server Error: Internal Server Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement