This project is read-only.

Help getting started please

Aug 13, 2015 at 3:27 PM
I'm getting a NullReferenceException on the line where I call service.Discover( ) in the code:

public string Index()
IRepository<string, Quaggan> service;
service = GW2.V2.Quaggans;
ICollection<string> keys = service.Discover();

foreach (string key in keys)
Quaggan quaggan = service.Find(key);

string outputMsg = "";

return outputMsg;

I'm just trying to at least get the quickstart section to run in a simple mvc 5 project and go from there.

I've added the using statements:

using GW2NET;
using GW2NET.Common;
using GW2NET.Quaggans;

and made sure i followed all the steps on this page.

Can someone advise me as to what I might be missing? I've never used an API like this before and am just getting started.
Aug 17, 2015 at 3:41 PM
Can you post the stack trace?
Sep 12, 2015 at 11:38 AM
Turns out that the QuagganRepository class is never properly initialized. I'll create an issue for it.