RE: weird modeler startup error

From: Hogue, Brian (Brian.Hogu..FIB.ORG)
Date: Tue Oct 19 2004 - 17:31:10 EDT

  • Next message: Pat pat: "mapping of an object database"

    I actually removed the 1.1 dir before I got this response and that fixed the problem.

    I wish I'd saved the files first, as I know that would have been helpful in diagnosing why it happened - but I didn't.. sorry.

    My guess is the files got corrupted somehow -

    Thanks again for the follow-up.

    Brian

    -----Original Message-----
    From: Andrus Adamchik [mailto:andru..bjectstyle.org]
    Sent: Tuesday, October 19, 2004 3:51 PM
    To: cayenne-use..bjectstyle.org
    Subject: Re: weird modeler startup error

    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 - 17:31:12 EDT