EveHQ-Team / EveHQ

Third party toolbox for Eve Online
GNU General Public License v3.0
24 stars 13 forks source link

[Prism] Asset viewer crash #83

Closed Slivo-fr closed 7 years ago

Slivo-fr commented 7 years ago

Sludgeface has been reporting a crash with the following stack trace. As I don't reproduce it myself it may be related to some special case.

Here is the forum thread : http://evehq.co/forum/viewtopic.php?f=5&t=460&p=1704#p1704

*EveHQ Error Report*

EveHQ Version: 2.31.6.0
Date: 22/08/2017 08:30:04
Error: One or more errors occurred.
----
\\{panel:title=StackTrace|borderStyle=dashed|bordercolor=#ccc|titleBGColor=#eee|bgColor=#eee}*****START Aggregate Exception Details*****
Message: One or more errors occurred.
Source: mscorlib
StackTrace: at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at EveHQ.Prism.Classes.Locations.GetStructureLocation(Int64 locationId) in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.Prism\Classes\Locations.vb:line 129
at EveHQ.Prism.Classes.Locations.GetLocationFromID(Int64 locationId) in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.Prism\Classes\Locations.vb:line 53
at EveHQ.Prism.Controls.PrismAssetsControl.PopulateAssetTree() in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.Prism\Controls\PrismAssetsControl.vb:line 645
at EveHQ.Prism.Controls.PrismAssetsControl.PopulateAssets() in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.Prism\Controls\PrismAssetsControl.vb:line 398
at EveHQ.Prism.Controls.PrismAssetsControl.RefreshAssets() in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.Prism\Controls\PrismAssetsControl.vb:line 139
at EveHQ.Prism.Controls.PrismAssetsControl.btnRefreshAssets_Click(Object sender, EventArgs e) in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.Prism\Controls\PrismAssetsControl.vb:line 130
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e)
at DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevComponents.DotNetBar.PopupItemControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
*****Inner Exceptions*****
*****START Exception Details*****
Message: Null object cannot be converted to a value type.
Source: mscorlib
StackTrace: at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at Newtonsoft.Json.Linq.Extensions.Convert[T,U](T token)
at Newtonsoft.Json.Linq.Extensions.Value[T,U](IEnumerable`1 value)
at EveHQ.NewEveApi.StructureNameClient.GetStructureDataFromJson(String response, HttpStatusCode responseStatusCode, DateTimeOffset cacheTime) in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.NewEveAPI\StructureNameClient.cs:line 79
at EveHQ.NewEveApi.StructureNameClient.ProcessServiceResponse(Task`1 webTask, String cacheKey, Int32 defaultCacheSeconds) in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.NewEveAPI\StructureNameClient.cs:line 67
at EveHQ.NewEveApi.StructureNameClient.<>c__DisplayClass1_0.<GetStructureNameAsync>b__0(Task`1 webTask) in B:\Projects\GitHub\EveHQ-Team\EveHQ\EveHQ.NewEveAPI\StructureNameClient.cs:line 45
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Eshva commented 7 years ago

Duplicate of #80 Fixed in 2.31.7