Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PostgresException: 23505: duplicate key value violates unique constraint "dungeon_layout_unique_id_key"
- Npgsql.NpgsqlConnector+<>c__DisplayClass160_0+<<ReadMessage>g__ReadMessageLong|0>d.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlConnector.cs:983)
- --- End of stack trace from previous location where exception was thrown ---
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- Npgsql.NpgsqlConnector+<>c__DisplayClass160_0+<<ReadMessage>g__ReadMessageLong|0>d.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlConnector.cs:1012)
- --- End of stack trace from previous location where exception was thrown ---
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Threading.Tasks.ValueTask`1[TResult].get_Result () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
- System.Runtime.CompilerServices.ValueTaskAwaiter`1[TResult].GetResult () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
- Npgsql.NpgsqlDataReader+<NextResult>d__44.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlDataReader.cs:438)
- --- End of stack trace from previous location where exception was thrown ---
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- Npgsql.NpgsqlDataReader.NextResult () (at F:/Repository/npgsql/src/Npgsql/NpgsqlDataReader.cs:306)
- Npgsql.NpgsqlCommand+<ExecuteDbDataReader>d__100.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlCommand.cs:1203)
- --- End of stack trace from previous location where exception was thrown ---
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Threading.Tasks.ValueTask`1[TResult].get_Result () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
- System.Runtime.CompilerServices.ValueTaskAwaiter`1[TResult].GetResult () (at <a4f5ee1bc461423097f5c00f65dd6d2e>:0)
- Npgsql.NpgsqlCommand+<ExecuteNonQuery>d__92.MoveNext () (at F:/Repository/npgsql/src/Npgsql/NpgsqlCommand.cs:1018)
- --- End of stack trace from previous location where exception was thrown ---
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- Npgsql.NpgsqlCommand.ExecuteNonQuery () (at F:/Repository/npgsql/src/Npgsql/NpgsqlCommand.cs:1001)
- NHibernate.AdoNet.AbstractBatcher.ExecuteNonQuery (System.Data.Common.DbCommand cmd) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.AdoNet.NonBatchingBatcher.AddToBatch (NHibernate.AdoNet.IExpectation expectation) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- 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)
- 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
- 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)
- NHibernate.Persister.Entity.AbstractEntityPersister.Insert (System.Object id, System.Object[] fields, System.Object obj, NHibernate.Engine.ISessionImplementor session) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Action.EntityInsertAction.Execute () (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Engine.ActionQueue.InnerExecute (NHibernate.Action.IExecutable executable) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Engine.ActionQueue.ExecuteActions (System.Collections.IList list) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Engine.ActionQueue.ExecuteActions () (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Event.Default.AbstractFlushingEventListener.PerformExecutions (NHibernate.Event.IEventSource session) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Event.Default.DefaultFlushEventListener.OnFlush (NHibernate.Event.FlushEvent event) (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- NHibernate.Impl.SessionImpl.Flush () (at <0bfc45f027ed4052a3bbb20e701604db>:0)
- EventHorizon.Rogue.Services.Persistence.TemplatesRepository.FlushDTOChanges () (at Assets/scripts/Rogue/Services/Persistence/TemplatesRepository.cs:211)
- EventHorizon.Rogue.Services.Serialization.GameDataStorage+<SyncWithDatabaseAsync>d__11.MoveNext () (at Assets/scripts/Rogue/Services/Serialization/GameDataStorage.cs:88)
- --- End of stack trace from previous location where exception was thrown ---
- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- System.Runtime.CompilerServices.TaskAwaiter.GetResult () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
- EventHorizon.RogueEditor.Domain.SegmentCreators.SegmentCreator+<SaveAndReloadAsync>d__50.MoveNext () (at Assets/scripts/RogueEditor/Domain/SegmentCreators/SegmentCreator.cs:233)
- Rethrow as Exception: Failed to save segment due to exception.
- UnityEngine.Debug:LogException(Exception, Object)
- EventHorizon.Common.Domain.Logging.<>c__DisplayClass5_0:<ThreadSafeLog>b__0() (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:40)
- EventHorizon.Common.Domain.Logging.UnityEditorLogger:UnityThreadSafeCallback(Action) (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:73)
- EventHorizon.Common.Domain.Logging.UnityEditorLogger:ThreadSafeLog(Exception, Object) (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:40)
- EventHorizon.Common.Domain.Logging.UnityEditorLogger:OnLog(Exception, Object) (at Assets/scripts/Common/Domain/Logging/UnityEditorLogger.cs:32)
- EventHorizon.Common.Domain.Logging.BaseLogger:Log(Exception, Object) (at Assets/scripts/Common/Domain/Logging/BaseLogger.cs:24)
- EventHorizon.Common.Domain.Logging.<>c__DisplayClass11_0:<Exception>b__0(ILogger) (at Assets/scripts/Common/Domain/Logging/Logs.cs:81)
- System.Collections.Generic.List`1:ForEach(Action`1)
- EventHorizon.Common.Domain.Logging.Logs:Exception(Exception, Object) (at Assets/scripts/Common/Domain/Logging/Logs.cs:81)
- EventHorizon.Common.Domain.Logging.Logs:Exception(String, Exception, Object) (at Assets/scripts/Common/Domain/Logging/Logs.cs:86)
- EventHorizon.RogueEditor.Domain.SegmentCreators.<SaveAndReloadAsync>d__50:MoveNext() (at Assets/scripts/RogueEditor/Domain/SegmentCreators/SegmentCreator.cs:239)
- System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start(<SaveAndReloadAsync>d__50&)
- EventHorizon.RogueEditor.Domain.SegmentCreators.SegmentCreator:SaveAndReloadAsync(SegmentTpl, GameObject, Func`1)
- EventHorizon.RogueEditor.ViewModels.SegmentCreators.<SaveSegmentData>d__64:MoveNext() (at Assets/scripts/RogueEditor/ViewModels/SegmentCreators/StorageVM.cs:180)
- System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start(<SaveSegmentData>d__64&)
- EventHorizon.RogueEditor.ViewModels.SegmentCreators.StorageVM:SaveSegmentData()
- Peppermint.DataBinding.DelegateCommand:Execute() (at Assets/packages/Peppermint DataBinding/Scripts/DataBinding/Command/DelegateCommand.cs:36)
- EventHorizon.CommonEditor.Services.EditorUtils:Button(String, ICommand, GUILayoutOption[]) (at Assets/scripts/CommonEditor/Services/EditorUtils.cs:297)
- EventHorizon.RogueEditor.View.SegmentCreators.StorageView:DrawSaveButtons() (at Assets/scripts/RogueEditor/View/SegmentCreators/StorageView.cs:170)
- EventHorizon.RogueEditor.View.SegmentCreators.StorageView:OnDraw(EventDesc) (at Assets/scripts/RogueEditor/View/SegmentCreators/StorageView.cs:61)
- EventHorizon.CommonEditor.View.EditorViewBase:Draw(EventDesc) (at Assets/scripts/CommonEditor/View/EditorViewBase.cs:13)
- EventHorizon.CommonEditor.View.FoldoutGroupView:Draw(EventDesc) (at Assets/scripts/CommonEditor/View/FoldoutGroupView.cs:30)
- EventHorizon.RogueEditor.View.SegmentCreators.<>c__DisplayClass1_0:<OnDraw>b__0(IView) (at Assets/scripts/RogueEditor/View/SegmentCreators/SegmentCreatorView.cs:41)
- System.Collections.Generic.List`1:ForEach(Action`1)
- EventHorizon.RogueEditor.View.SegmentCreators.SegmentCreatorView:OnDraw(EventDesc) (at Assets/scripts/RogueEditor/View/SegmentCreators/SegmentCreatorView.cs:41)
- EventHorizon.CommonEditor.View.EditorViewBase:Draw(EventDesc) (at Assets/scripts/CommonEditor/View/EditorViewBase.cs:13)
- EventHorizon.RogueEditor.View.SegmentCreators.SegmentCreatorWindowEditor:OnGUI() (at Assets/scripts/RogueEditor/View/SegmentCreators/SegmentCreatorWindowEditor.cs:64)
- UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement