Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception #67

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

Unhandled Exception #67

marfarma opened this issue Mar 25, 2013 · 4 comments
Labels
Bug Issues where something has happened which was not expected or intended TaskItem Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
Milestone

Comments

@marfarma
Copy link

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
Copy link

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.

@ghost ghost assigned gep13 Oct 20, 2013
@gep13
Copy link
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?

@RichiCoder1
Copy link
Contributor

Agreed. WPF_refresh uses a much different backend.

@gep13
Copy link
Member

gep13 commented Feb 18, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended TaskItem Non-bug, non-feature related things. Could be refactoring. Sometimes non-code related things.
Projects
None yet
Development

No branches or pull requests

4 participants