as mentioned in the title, I'm using two Sites simultaneously (because I try to get the missing Interwiki-Links from Site 1 on Site 2). Now, when I'm calling PageOnSite2.getInterWikiLinks() I get a NullReferenceException on Line 3 here:
MatchCollection matches = site.iwikiLinkRE.Matches(text);
bacause the iwikiLinkRE is filled in the site.GetWikimediaWikisList()-function, which is not called because Site.WMLangsStr is a static property ... so site.iwikiLinkRE is null and i get this exception.
I hope I could explain my problem.