[OFBiz] Dev - Problem with new OFBiz version

Adrian Crum adrianc at hlmksw.com
Thu Apr 7 17:46:51 EDT 2005


The latest OFBiz version generates this error:

java.lang.Thread.run(Unknown Source)
org.ofbiz.base.util.GeneralRuntimeException: Error getting the next 
result ([Extended Systems][Advantage JDBC]Result set is after last row.)
org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:308)
org.ofbiz.widget.form.ModelForm.safeNext(ModelForm.java:972)

It looks like the ResultSet next() method is being called after it's 
past the last row.

I made this patch to EntityListIterator to get it to work:

     public Object next() {
         try {
             if (!resultSet.isAfterLast() && resultSet.next()) {
                 return currentGenericValue();
             } else {
                 return null;
             }
         } catch (SQLException e) {




More information about the Dev mailing list