View Issue Details

IDProjectCategoryView StatusLast Update
00305012.x IDE BugsGeneralPublic2019-08-16 14:26
ReporterMatthew McInnesAssigned ToCoreTech 
PriorityMediumSeverityA - Crash/HangReproducibilityUnable To Reproduce
Status AssignedResolutionOpen 
Product Version2.2.1 
Target VersionFixed in Version 
Summary0030501: General: GMS2 crashes on startup due to getting DTD exception when trying to read our feed URLs
DescriptionISSUE:

- A user reported an issue whereby upon receiving the below DTD exception, GMS2 crashed on startup. This appears to be a result of the school's proxy server, but exact circumstances are not known at this time.

EXPECTED:

- We should handle this exception more gracefully and advise the user we could not download whichever file it was which failed, rather than crashing
Additional Information[15:07:49:707(481b)] Current assembly revision is 2.2.1.375
[15:07:49:713(481b)] DoUpdateDownload exception System.Xml.XmlException: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at „..(String , Version )
   at „...()
[15:08:12:287(481b)] --------------------------------------------------------------------------------
[15:08:12:288(481b)] Unhandled Exception: System.Net.ProtocolViolationException
[15:08:12:289(481b)] Exception message: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.
[15:08:12:291(481b)] Exception stack: at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`3 beginMethod, Func`2 endFunction, Action`1 endAction, Object state, TaskCreationOptions creationOptions)
   at System.Net.WebRequest.<GetResponseAsync>b__78_1()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at „...()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
[15:08:12:293(481b)] --------------------------------------------------------------------------------
TagsIDE
2.x IDE Found In2.2.1.375
2.x Runtime Found In2.2.1.287
2.x IDE Verified In
2.x Runtime Verified In

Activities

Matthew McInnes

2019-02-07 17:04

Developer  

ui (3).log (339,255 bytes)