Re: weird modeler startup error

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Oct 19 2004 - 16:50:39 EDT

  • Next message: Gentry, Michael: "RE: Batching faults?"

    Hi Brian,

    > Caused by: java.sql.SQLException: General error:
    > java.lang.NullPointerException
    > at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
    > at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
    > at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    > at org.hsqldb.jdbcDriver.connect(Unknown Source)

    Hmm... that's somehow related to our brand new HSQL-powered preference
    engine... To further diagnose the problem, could you please do the
    following:

    1. Stop all running instances of the Modeler

    2. Go to your home directory (on Win it is smth. like "C:\Documents and
    Settings\username"), and under the ".cayenne\prefs\1.1\" subdirectory.
    What files do you see there? Anything beyond "db.properties" and
    "db.script"? Delete any other files and try restarting the Modeler.

    3. A random question - are you using HSQLDB for any of your other work? Is
    it possible that an HSQL driver jar is somewhere in your Classpath?

    Oh, and if (2) doesn't solve the problem, could you mail me
    "db.properties" and "db.script" files (or open a new bug report and attach
    them to the report)? If you stored any sensitive DB login information in
    Modeler preferences, you should probably open db.script in a text editor
    and clean DB logins and passwords before mailing this file.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Oct 19 2004 - 16:50:41 EDT