Re: toString of DefaultModel
Raoul Pierre <[email protected]> Tue, 27 Sep 2005 19:42:12 +0200
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
Gene, > > >>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) >> >> The line number above is strange. I just cheked out svc-model-defaultmodel from cvs and line 492 is not inside DefaultModelResponse.toString(). Can you check your version. >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. > > I'm out for 3 hours. Pierre http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com