Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.23 KB | None | 0 0
  1. PostgresException: 23505: duplicate key value violates unique constraint "dungeon_layout_unique_id_key"
  2. Npgsql.NpgsqlConnector+<>c__DisplayClass160_0+<<ReadMessage>g__ReadMessageLong|0>d.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlConnector.cs:983)
  3. --- End of stack trace from previous location where exception was thrown ---
  4. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  5. Npgsql.NpgsqlConnector+<>c__DisplayClass160_0+<<ReadMessage>g__ReadMessageLong|0>d.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlConnector.cs:1012)
  6. --- End of stack trace from previous location where exception was thrown ---
  7. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  8. System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  9. System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  10. System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  11. System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  12. System.Threading.Tasks.ValueTask`1[TResult].get_Result () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
  13. System.Runtime.CompilerServices.ValueTaskAwaiter`1[TResult].GetResult () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
  14. Npgsql.NpgsqlDataReader+<NextResult>d__44.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlDataReader.cs:438)
  15. --- End of stack trace from previous location where exception was thrown ---
  16. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  17. System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  18. System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  19. System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  20. System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  21. Npgsql.NpgsqlDataReader.NextResult () (at F:/Repository/npgsql/src/Npgsql/NpgsqlDataReader.cs:306)
  22. Npgsql.NpgsqlCommand+<ExecuteDbDataReader>d__100.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlCommand.cs:1203)
  23. --- End of stack trace from previous location where exception was thrown ---
  24. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  25. System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  26. System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  27. System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  28. System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  29. System.Threading.Tasks.ValueTask`1[TResult].get_Result () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
  30. System.Runtime.CompilerServices.ValueTaskAwaiter`1[TResult].GetResult () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
  31. Npgsql.NpgsqlCommand+<ExecuteNonQuery>d__92.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlCommand.cs:1018)
  32. --- End of stack trace from previous location where exception was thrown ---
  33. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  34. System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  35. System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  36. System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  37. System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  38. Npgsql.NpgsqlCommand.ExecuteNonQuery () (at F:/Repository/npgsql/src/Npgsql/NpgsqlCommand.cs:1001)
  39. NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery (System.Data.Common.DbCommand cmd) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  40. NHibernate.AdoNet.NonBatchingBatcher.AddToBatch (NHibernate.AdoNet.IExpectation expectation) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  41. NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Boolean[] notNull, System.Int32 j, NHibernate.SqlCommand.SqlCommandInfo sql, System.Object obj, NHibernate.Engine.ISessionImplementor session) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  42. Rethrow as GenericADOException: could not insert: [EventHorizon.Rogue.Domain.Persistence.Dungeons.DungeonLayoutDTO#Testing][SQL: INSERT INTO "dungeon_layout" (name, line_of_sight_percent_change, size_x, size_y, weather, theme, presentation_sprite_id, presentation_selected_sprite_id, unique_id, id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
  43. NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Boolean[] notNull, System.Int32 j, NHibernate.SqlCommand.SqlCommandInfo sql, System.Object obj, NHibernate.Engine.ISessionImplementor session) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  44. NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Object obj, NHibernate.Engine.ISessionImplementor session) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  45. NHibernate.Action.EntityInsertAction.Execute () (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  46. NHibernate.Engine.ActionQueue.InnerExecute (NHibernate.Action.IExecutable executable) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  47. NHibernate.Engine.ActionQueue.ExecuteActions (System.Collections.IList list) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  48. NHibernate.Engine.ActionQueue.ExecuteActions () (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  49. NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions (NHibernate.Event.IEventSource session) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  50. NHibernate.Event.Default.DefaultFlushEventListener.OnFlush (NHibernate.Event.FlushEvent event) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  51. NHibernate.Impl.SessionImpl.Flush () (at <0bfc45f027ed4052a3bbb20e701604db>:0)
  52. EventHorizon.Rogue.Services.Persistence.TemplatesRepository.FlushDTOChanges () (at Assets/scripts/Rogue/Services/Persistence/TemplatesRepository.cs:211)
  53. EventHorizon.Rogue.Services.Serialization.GameDataStorage+<SyncWithDatabaseAsync>d__11.MoveNext () (at Assets/scripts/Rogue/Services/Serialization/GameDataStorage.cs:88)
  54. --- End of stack trace from previous location where exception was thrown ---
  55. System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  56. System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  57. System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  58. System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  59. System.Runtime.CompilerServices.TaskAwaiter.GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
  60. EventHorizon.RogueEditor.Domain.SegmentCreators.SegmentCreator+<SaveAndReloadAsync>d__50.MoveNext () (at Assets/scripts/RogueEditor/Domain/SegmentCreators/SegmentCreator.cs:233)
  61. Rethrow as Exception: Failed to save segment due to exception.
  62. UnityEngine.Debug:LogException(Exception, Object)
  63. EventHorizon.Common.Domain.Logging.<>c__DisplayClass5_0:<ThreadSafeLog>b__0() (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:40)
  64. EventHorizon.Common.Domain.Logging.UnityEditorLogger:UnityThreadSafeCallback(Action) (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:73)
  65. EventHorizon.Common.Domain.Logging.UnityEditorLogger:ThreadSafeLog(Exception, Object) (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:40)
  66. EventHorizon.Common.Domain.Logging.UnityEditorLogger:OnLog(Exception, Object) (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:32)
  67. EventHorizon.Common.Domain.Logging.BaseLogger:Log(Exception, Object) (at Assets/scripts/Common/Domain/Logging/BaseLogger.cs:24)
  68. EventHorizon.Common.Domain.Logging.<>c__DisplayClass11_0:<Exception>b__0(ILogger) (at Assets/scripts/Common/Domain/Logging/Logs.cs:81)
  69. System.Collections.Generic.List`1:ForEach(Action`1)
  70. EventHorizon.Common.Domain.Logging.Logs:Exception(Exception, Object) (at Assets/scripts/Common/Domain/Logging/Logs.cs:81)
  71. EventHorizon.Common.Domain.Logging.Logs:Exception(String, Exception, Object) (at Assets/scripts/Common/Domain/Logging/Logs.cs:86)
  72. EventHorizon.RogueEditor.Domain.SegmentCreators.<SaveAndReloadAsync>d__50:MoveNext() (at Assets/scripts/RogueEditor/Domain/SegmentCreators/SegmentCreator.cs:239)
  73. System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(<SaveAndReloadAsync>d__50&)
  74. EventHorizon.RogueEditor.Domain.SegmentCreators.SegmentCreator:SaveAndReloadAsync(SegmentTpl, GameObject, Func`1)
  75. EventHorizon.RogueEditor.ViewModels.SegmentCreators.<SaveSegmentData>d__64:MoveNext() (at Assets/scripts/RogueEditor/ViewModels/SegmentCreators/StorageVM.cs:180)
  76. System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(<SaveSegmentData>d__64&)
  77. EventHorizon.RogueEditor.ViewModels.SegmentCreators.StorageVM:SaveSegmentData()
  78. Peppermint.DataBinding.DelegateCommand:Execute() (at Assets/packages/Peppermint DataBinding/Scripts/DataBinding/Command/DelegateCommand.cs:36)
  79. EventHorizon.CommonEditor.Services.EditorUtils:Button(String, ICommand, GUILayoutOption[]) (at Assets/scripts/CommonEditor/Services/EditorUtils.cs:297)
  80. EventHorizon.RogueEditor.View.SegmentCreators.StorageView:DrawSaveButtons() (at Assets/scripts/RogueEditor/View/SegmentCreators/StorageView.cs:170)
  81. EventHorizon.RogueEditor.View.SegmentCreators.StorageView:OnDraw(EventDesc) (at Assets/scripts/RogueEditor/View/SegmentCreators/StorageView.cs:61)
  82. EventHorizon.CommonEditor.View.EditorViewBase:Draw(EventDesc) (at Assets/scripts/CommonEditor/View/EditorViewBase.cs:13)
  83. EventHorizon.CommonEditor.View.FoldoutGroupView:Draw(EventDesc) (at Assets/scripts/CommonEditor/View/FoldoutGroupView.cs:30)
  84. EventHorizon.RogueEditor.View.SegmentCreators.<>c__DisplayClass1_0:<OnDraw>b__0(IView) (at Assets/scripts/RogueEditor/View/SegmentCreators/SegmentCreatorView.cs:41)
  85. System.Collections.Generic.List`1:ForEach(Action`1)
  86. EventHorizon.RogueEditor.View.SegmentCreators.SegmentCreatorView:OnDraw(EventDesc) (at Assets/scripts/RogueEditor/View/SegmentCreators/SegmentCreatorView.cs:41)
  87. EventHorizon.CommonEditor.View.EditorViewBase:Draw(EventDesc) (at Assets/scripts/CommonEditor/View/EditorViewBase.cs:13)
  88. EventHorizon.RogueEditor.View.SegmentCreators.SegmentCreatorWindowEditor:OnGUI() (at Assets/scripts/RogueEditor/View/SegmentCreators/SegmentCreatorWindowEditor.cs:64)
  89. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement