Skip to content

Adding a map after the game is running causes the program to crash #141

@xhcminecraft

Description

@xhcminecraft

Program Crash Log

System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at ImageMap4.JavaInventory.AddItems(IEnumerable1 items) at ImageMap4.DisplayJavaInventory.AddItems(IEnumerable1 items)
at ImageMap4.MainViewModel.<.ctor>b__51_1()
at ImageMap4.RelayCommand.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Server Log

[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'
[11:51:33] [Server thread/WARN]: Failed to parse map banner: 'Not a list: null'

I am a live game blogger.Please fix it fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions