This project is read-only.


ArgumentNullException when accessing IStory.Tags


I'm using the latest available version of your Wrapper, Release V0.1.4199.
Everything else seems to work fine, but whenever I try to access the "Tags" collection, I always get ArgumentNullException, whether the story has tags attached to it or not.
I loaded the Source of your project, and created a small Console App to reproduce/debug.
The exception is coming from the "_tags" backing field always being null in PrearrangedChaos.AgileZen.Service.Model.Story
Exception Details:
System.ArgumentNullException was unhandled
Message=Value cannot be null.
Parameter name: list
   at System.Collections.ObjectModel.ReadOnlyCollection`1..ctor(IList`1 list)
   at PrearrangedChaos.AgileZen.Service.Model.Story.get_Tags() in C:\Users\douellette\Dropbox\Coding\agilezennetapi\PrearrangedChaos.AgileZen\PrearrangedChaos.AgileZen.Service\Model\Story.cs:line 144
   at ConsoleApplication1.Program.Main(String[] args) in C:\Users\douellette\Dropbox\Coding\agilezennetapi\PrearrangedChaos.AgileZen\ConsoleApplication1\Program.cs:line 21
   at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
I've also attached a sample "Program.cs" to reproduce this. all that's needed is to put in your project id. Please let me know if there is anything more I can do to be of assistance on this.

file attachments

Closed May 25, 2012 at 10:34 PM by prearrangedchaos


prearrangedchaos wrote Sep 16, 2011 at 9:21 PM


I'm sorry for not getting back to you until now, and I hope you have been able to workaround the issue. I have corrected the issue so that all collections now return empty collections. Please download the latest source code. I will release a new version later.

Best regards

prearrangedchaos wrote May 25, 2012 at 10:33 PM

The issue is fixed in the latest release

wrote May 25, 2012 at 10:34 PM

wrote Feb 13, 2013 at 2:03 AM

wrote May 15, 2013 at 4:49 AM