Will check this tomorrow! Regards, Henner
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On > Behalf Of J M Okomba > Sent: Thursday, November 28, 2002 7:25 AM > To: '[EMAIL PROTECTED]' > Subject: [dbforms] <db:dbform> with empty filtered data > throws NullPointerException > > > > Greetings, > > I am getting a NullPointerException when using <db:dbform> > with filter property that's filtering to nil recordset. e.g. if I do > > <db:dbform tableName="info" maxRows="20" followUp="<%=URL%>" > autoUpdate="false" captionResource="true" filter="info_type='C'"> > > and filter="info_type='C'" happens to return no rows, Tomcat > throws a java.lang.NullPointerException. But if the filter > returns data it works properly. > > Any idea why this behaviour in dbforms? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > DbForms Mailing List > http://www.wap-force.net/dbforms ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms
