NullPointerException

From: Leonardo R. Nunes (leonard..umersoft.com)
Date: Fri Nov 28 2003 - 13:03:45 EST

  • Next message: Leonardo R. Nunes: "Long X BigDecimal"

    java.lang.NullPointerException
                at
    org.objectstyle.cayenne.access.DataContext.objectFromDataRow(DataContext
    .java:311)
     
    If I call this.dataContext.objectFromDataRow("", myMap), I got a
    NullPointerException .
     
    Maybe the method objectFromDataRow should throw an
    IllegalArgumentException instead of NullPointerException when the
    argument is an empty String.
     
     
    Regards
    Leonardo.
     
     



    This archive was generated by hypermail 2.0.0 : Fri Nov 28 2003 - 12:01:18 EST