RE: Strange null pointer exceptions

2003-10-08 Thread oliver . matz
Hello Jan, since the NPE is due to missing fields in the metadata, I assume that a workaround is to add field-descriptors. see below. -Original Message- From: Jan Berkel [mailto:[EMAIL PROTECTED] class-descriptor class=cabane.templates.Template table=TEMPLATES Please

Re: Strange null pointer exceptions

2003-10-08 Thread Jan Berkel
Hi Olli, [EMAIL PROTECTED] wrote: since the NPE is due to missing fields in the metadata, I assume that a workaround is to add field-descriptors. I added field-descriptors to the class descriptor of the Interface (Template) and it worked fine, thanks. Actually you need field-descriptors in

Re: Strange null pointer exceptions

2003-10-07 Thread Jan Berkel
I keep getting NullPointerExceptions while retrieving an object from the database (OJB 1.0RC4). my repository_user.xml is set up as explained in the tutorials (extent-class in Template/BaseTemplate etc., to be sure I also used ojbConcreteClass to specify the classname) Please post

Strange null pointer exceptions

2003-10-03 Thread Jan Berkel
Hi all, I keep getting NullPointerExceptions while retrieving an object from the database (OJB 1.0RC4). My class hierarchy is as follows: Template (Interface) BaseTemplate (Abstract class implementing Template) MailTemplate (Concrete Implementenation extending BaseTemplate) the code to fetch