Re: toString of DefaultModel

Gene McCullough <[email protected]> Tue, 27 Sep 2005 11:58:37 -0500
Newsgroups gmane.comp.java.keel.devel
Message-ID <[email protected]>

Gene McCullough wrote:
> I get a Null pointer exception invariably now when I output the response
> as a String.
> 
> java.lang.NullPointerException
>         at
> org.keel.services.model.defaultmodel.AbstractResponseElement.toString(AbstractResponseElement.java:184)
>         at
> org.keel.services.model.defaultmodel.DefaultModelResponse.toString(DefaultModelResponse.java:492)

I'm not getting any logging from AbstractResponseElement, and when I
replaced the this.log.error() entry with a System.out.println, the null
pointer went away.  (from the catch block in toString)

Is this related to the logging problem you had Pierre?  I am having
problems with the xmlwriter, but they were why the catch block was then
throwing the npe.  I'll track down my xmlwriter issues.  it looks like
its having problems with my outputs.

Thanks,
gene
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com