diff --git a/src-test/org/openbravo/test/dal/DalTest.java b/src-test/org/openbravo/test/dal/DalTest.java
--- a/src-test/org/openbravo/test/dal/DalTest.java
+++ b/src-test/org/openbravo/test/dal/DalTest.java
@@ -52,6 +52,23 @@
   private static final Logger log = Logger.getLogger(DalTest.class);
 
   /**
+   * Test list() a Criteria after a count()
+   */
+
+  public void testListAfterCount() {
+    setSystemAdministratorContext();
+    OBCriteria<SystemInformation> obc = OBDal.getInstance().createCriteria(SystemInformation.class);
+    if (obc.count() > 0) {
+      try {
+        SystemInformation info = obc.list().get(0); // Fails
+      } catch (Exception e) {
+        System.err.println("Error list() after count()");
+        e.printStackTrace();
+      }
+    }
+  }
+
+  /**
    * Test to assert save false in a null char(1) column - Part I
    */
   public void testSaveBooleanValue1() {
