H2N crash when opening popup



  • Hello,
    h2n is crashing when i double click on a player to display the popup from the main window.
    I guess i may have done something wrong at one point.

    I have this message, any idea what causes this ?

    System.Exception: No more ids 65535
    à Hand2NoteCore.Model.ShortIdRepository.CreateNewShortId()
    à Hand2NoteCore.Model.ShortIdRepository.GetShortId(Int32 longId)
    à Hand2NoteCore.Model.FilterIdRepository.GetShort(Int32 longId)
    à Hand2NoteCore.DataModel.IdExtentions.GetFilterShortId(Int32 filterId)
    à Hand2NoteCore.DataModel.GameTypeStatData.GetStatData(Int32 filterId)
    à Hand2NoteCore.DataView.StatsTableViewLogical.GetContentLogicalView(StatsTableCell cell, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.StatsTableViewLogical.’Š(StatsTableCell )
    à Hand2NoteCore.DataView.StatsTableViewLogical..ctor(StatsTable statTable, StatisticsViewData data, StatisticsViewContext context, FrameworkElementLogical parent)
    à Hand2NoteCore.DataView.StatPageItemViewLogical..ctor(StatPageItem statPageItem, StatisticsViewData data, StatisticsViewContext context, HudDeltaParams hudDeltaParams)
    à Hand2NoteCore.DataView.StatPageViewLogical..ctor(StatPage statPage, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.PopupViewLogical..ctor(Popup popup, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.StatPageItemViewLogical..ctor(StatPageItem statPageItem, StatisticsViewData data, StatisticsViewContext context, HudDeltaParams hudDeltaParams)
    à Hand2NoteCore.DataView.StatPageViewLogical..ctor(StatPage statPage, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.PopupViewLogical..ctor(Popup popup, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.StatPageItemViewLogical..ctor(StatPageItem statPageItem, StatisticsViewData data, StatisticsViewContext context, HudDeltaParams hudDeltaParams)
    à Hand2NoteCore.DataView.StatPageViewLogical..ctor(StatPage statPage, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.PopupViewLogical..ctor(Popup popup, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.StatPageItemViewLogical..ctor(StatPageItem statPageItem, StatisticsViewData data, StatisticsViewContext context, HudDeltaParams hudDeltaParams)
    à Hand2NoteCore.DataView.StatPageViewLogical..ctor(StatPage statPage, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.PopupViewLogical..ctor(Popup popup, StatisticsViewData data, StatisticsViewContext context)
    à Hand2NoteCore.DataView.MainPopupLogical..ctor(StatisticsViewData data, StatisticsViewContext context, PopupProfile popupProfile)
    à Hand2NoteCore.DataView.ManualPopupHelper.OpenMainPopup(StatisticsViewData data, StatisticsViewContext context, PopupProfile popupProfile, Int32 firstSelectedTabIndex)
    à Hand2NoteCore.DataView.StatisticsPopupService.ShowMainPopup(PlayerAliasKey playerAliasKey, GameTypeOption gameType, StatisticsViewContext context, Hand currentHand, PlayerStatisticsData psd, Boolean closeOtherPopupOnPlayer)
    à Hand2NoteCore.Database.PlayersListViewModel.<OpenMainPopupExecute>d__101.MoveNext()
    --- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
    à System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
    à System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    à System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)





  • I actually created a new DB and it solved the problem.
    Thanks.


Log in to reply
 

Looks like your connection to Hand2Note was lost, please wait while we try to reconnect.