Unhandled Exception #67

Closed
marfarma opened this Issue Mar 25, 2013 · 4 comments

Comments

Projects
None yet
4 participants

Just got this exception on running app for the first time. Used it to install one package. Switched panel from installed package listing to available list - boom, crash.

Now Windows 7 SP1 has informed me that it noted that the app was not behaving correctly, and automatically enabled 'Program Combatibility Mode' -- and now it no longer runs. Tells me that it cannot determine that Chocolatey is installed and exits. Off to reverse the setting.

Log Name:      Application
Source:        .NET Runtime
Date:          3/25/2013 12:53:12 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SFS-158-101
Description:
Application: ChocolateyGUI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at Chocolatey.Explorer.Services.PackageVersionXMLParser.parse(System.Xml.XmlDocument)
   at Chocolatey.Explorer.Services.PackagesService.ODataAvailablePackagesService.LoadPageAsync(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Event Xml:

  
    
    1026
    2
    0
    0x80000000000000
    
    5622
    Application
    SFS-158-101
    
  
  
    Application: ChocolateyGUI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
   at Chocolatey.Explorer.Services.PackageVersionXMLParser.parse(System.Xml.XmlDocument)
   at Chocolatey.Explorer.Services.PackagesService.ODataAvailablePackagesService.LoadPageAsync(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

  

ninjeff commented Mar 28, 2013

I have the same problem. The root cause appears to be that ODataAvailablePackagesService.LoadFeedDoc can return null - the very first thing its return value is passed to is PackageVersionXMLParser.parse, which is not null-safe.

gep13 was assigned Oct 20, 2013

Member

gep13 commented Feb 18, 2014

@RichiCoder1 I am thinking that this will be a non issue in the 0.12.0 release of ChocolateyGUI? Agreed?

gep13 added the wpf-refresh label Feb 18, 2014

Member

RichiCoder1 commented Feb 18, 2014

Agreed. WPF_refresh uses a much different backend.

Member

gep13 commented Feb 18, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment