modeler preference load exception

From: Aristedes Maniatis (ar..sh.com.au)
Date: Sun Aug 03 2008 - 11:36:10 EDT

  • Next message: Andrey Razumovsky: "Re: modeler preference load exception"

    Hi Andrey

    Just wanted to let you know that I just tried a few tests before
    committing your modeler Welcome screen changes, but I've now got
    problems running the modeler under OSX. The issue may well have
    nothing to do with your patches, but I haven't any more time tonight
    to get to the bottom of this one. I attach the stack trace it here
    just in case it is something you've seen. This error is thrown before
    any GUI is displayed at all, presumably while it is loading
    preferences. My older (several months old) modeler has no problem
    starting up.

    Ari

    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: Exception
    in thread "AWT-EventQueue-0"
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]:
    org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Oct 26
    2007 03:36:52] java.lang.NullPointerException
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:
    865)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access
    .DataDomainQueryAction
    .runQueryInTransaction(DataDomainQueryAction.java:415)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access.DataDomainQueryAction.execute(DataDomainQueryAction.java:119)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:746)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:
    282)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access.DataContextQueryAction.execute(DataContextQueryAction.java:59)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1323)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataContext.performQuery(DataContext.java:
    1312)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataContext.performQuery(DataContext.java:
    1389)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .pref.CayennePreferenceService.getDomain(CayennePreferenceService.java:
    83)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .pref
    .CayennePreferenceService
    .getPreferenceDomain(CayennePreferenceService.java:135)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .pref
    .CayennePreferenceService
    .initPreferences(CayennePreferenceService.java:143)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .pref
    .HSQLEmbeddedPreferenceService
    .startService(HSQLEmbeddedPreferenceService.java:127)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache.cayenne.modeler.Application.initPreferences(Application.java:
    260)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.modeler.Application.startup(Application.java:153)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.modeler.Main$1.run(Main.java:114)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java
    .awt
    .EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:
    269)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java
    .awt
    .EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
    190)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: Caused by:
    java.lang.NullPointerException
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.hsqldb.DatabaseURL.parseURL(Unknown Source)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.hsqldb.jdbcDriver.connect(Unknown Source)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne.conn.DriverDataSource.getConnection(DriverDataSource.java:148)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne.conn.PooledConnectionImpl.reconnect(PooledConnectionImpl.java:
    86)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .conn.PooledConnectionImpl.getConnection(PooledConnectionImpl.java:121)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.conn.PoolManager.uncheckConnection(PoolManager.java:
    383)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:354)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:344)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataNode
    $TransactionDataSource.getConnection(DataNode.java:327)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache.cayenne.conf.NodeDataSource.getConnection(NodeDataSource.java:
    47)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.dba.AutoAdapter.loadAdapter(AutoAdapter.java:143)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.dba.AutoAdapter.getAdapter(AutoAdapter.java:128)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.dba.AutoAdapter.getExtendedTypes(AutoAdapter.java:
    228)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataNode.performQueries(DataNode.java:209)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:446)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomainQueryAction.access
    $0(DataDomainQueryAction.java:424)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomainQueryAction
    $2.transform(DataDomainQueryAction.java:418)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:
    853)
    Aug 4 01:20:44 vapour [0x0-0xb50b5].CayenneModeler[59365]: ... 22 more
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: Exception
    in thread "CayennePrefrencesService Shutdown"
    org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Oct 26
    2007 03:36:52] java.lang.NullPointerException
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:
    865)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access
    .DataDomainQueryAction
    .runQueryInTransaction(DataDomainQueryAction.java:415)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access.DataDomainQueryAction.execute(DataDomainQueryAction.java:119)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomain.onQuery(DataDomain.java:746)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .util.ObjectContextQueryAction.runQuery(ObjectContextQueryAction.java:
    282)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access.DataContextQueryAction.execute(DataContextQueryAction.java:59)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataContext.onQuery(DataContext.java:1323)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne.access.DataContext.performGenericQuery(DataContext.java:1284)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne.access.DataContext.performNonSelectingQuery(DataContext.java:
    1333)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .pref
    .HSQLEmbeddedPreferenceService
    .stopService(HSQLEmbeddedPreferenceService.java:146)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.pref.CayennePreferenceService
    $1.run(CayennePreferenceService.java:119)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: Caused by:
    java.lang.NullPointerException
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.hsqldb.DatabaseURL.parseURL(Unknown Source)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.hsqldb.jdbcDriver.getConnection(Unknown Source)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.hsqldb.jdbcDriver.connect(Unknown Source)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne.conn.DriverDataSource.getConnection(DriverDataSource.java:148)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne.conn.PooledConnectionImpl.reconnect(PooledConnectionImpl.java:
    86)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .conn.PooledConnectionImpl.getConnection(PooledConnectionImpl.java:121)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.conn.PoolManager.uncheckConnection(PoolManager.java:
    383)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:354)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.conn.PoolManager.getConnection(PoolManager.java:344)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataNode
    $TransactionDataSource.getConnection(DataNode.java:327)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache.cayenne.conf.NodeDataSource.getConnection(NodeDataSource.java:
    47)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.dba.AutoAdapter.loadAdapter(AutoAdapter.java:143)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.dba.AutoAdapter.getAdapter(AutoAdapter.java:128)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.dba.AutoAdapter.getExtendedTypes(AutoAdapter.java:
    228)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataNode.performQueries(DataNode.java:209)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org
    .apache
    .cayenne
    .access.DataDomainQueryAction.runQuery(DataDomainQueryAction.java:446)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomainQueryAction.access
    $0(DataDomainQueryAction.java:424)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomainQueryAction
    $2.transform(DataDomainQueryAction.java:418)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: at
    org.apache.cayenne.access.DataDomain.runInTransaction(DataDomain.java:
    853)
    Aug 4 01:20:46 vapour [0x0-0xb50b5].CayenneModeler[59365]: ... 10 more
    Aug 4 01:20:48 vapour /System/Library/CoreServices/Finder.app/
    Contents/MacOS/Finder[155]: StatusMonitor::volumesChangedCallBack
    returned -47

    -------------------------->
    ish
    http://www.ish.com.au
    Level 1, 30 Wilson Street Newtown 2042 Australia
    phone +61 2 9550 5001 fax +61 2 9550 4001
    GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A



    This archive was generated by hypermail 2.0.0 : Sun Aug 03 2008 - 11:40:00 EDT