Crash in nsDocShellTreeOwner::AddChromeListeners - migrating to mozilla 2.0

yakobom <[email protected]> Thu, 14 Apr 2011 05:25:50 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <c52aefb1-0257-4346-8b25-efd33ab553b2@o15g2000prn.googlegroups.com>
Hi guys,
I'm migrating my code from 1.9.2 to 2.0.
When I try to create the actual browser object (using m_baseWindow-
>create), I get a crash in AddChromeListeners. The crash happens since
a call to GetPIDOMEventTarget returns NULL (and this happens since an
inner call to GetContentDOMWindow returns NULL).

Any ideas?

Thanks,
yakobom