bernd at physik.hu-berlin.de
Sun Sep 30 07:56:41 UTC 2001
On Sun, 30 Sep 2001, Otto Bruggeman wrote:
> On Sun, 30 Sep 2001, Bernd Gehrmann wrote:
> > If you display the message box in PartLoader::loadService(), why do you
> > display it again in the calling routines?
> > Bernd.
> Uhm... to be honest i did not look into the code very much but when i
> fixed the error in partLoader i kept seeing more null pointer crashes so i
> fixed them all similarly... might have overdone it overdone it with
> the messageboxes because i am not familiar with the code... a simple if
> (!part) return; would be enough then i guess. Revised version attached.
That you still get crashes is not surprising. When the mandatory parts are
not loaded, sooner or later (probably sooner ;-) someone will access
uninitialized variables like api->makeFrontend. So you could also put
an exit() after the message box was shown...
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
More information about the KDevelop-devel