[FIXED] TypesHandler bug

From: andru..obox.com
Date: Thu Feb 21 2002 - 00:33:55 EST

  • Next message: Andrus: "Cayenne new logo preview"

    Bug noticed by Anton in types handler is fixed :

    java.lang.NullPointerException
             at
    org.objectstyle.cayenne.dba.TypesHandler.<init>(TypesHandler.java:50)
             at
    org.objectstyle.cayenne.dba.TypesHandler.getHandler(TypesHandler.java:34)

    It was due to the use of platform-specific File.separator (which happens to
    be '\' on Windows) in a place where URL separator '/' was expected. Of
    course, I could never reproduce this on Linux :-)

    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
    - Andrei (a.k.a. Andrus) Adamchik
    http://objectstyle.org
    email: andrus at objectstyle dot org



    This archive was generated by hypermail 2.0.0 : Thu Feb 21 2002 - 00:33:47 EST