Error on SQL generation

From: David Holt (programmingos..ac.com)
Date: Sat Mar 08 2008 - 11:58:57 EST

  • Next message: Mike Schrag: "Re: Error on SQL generation"

    Right list might help!

    I got the following error from EntityModeler when I tried to generate
    SQL. This is happening on Leopard. The same model was working fine on
    my Tiger work machine. Same version of Eclipse 3.3.2 and WOLips
    nightly, WO 5.4.1

    A brand new project and model resulted in the same error. They're
    WOnder projects, but I doubt that is where the issue lies...

    java.lang.NullPointerException
            at com.webobjects.foundation.NSDictionary.<init>(NSDictionary.java:341)
            at
    com
    .webobjects.eoaccess.EOAdaptor.setConnectionDictionary(EOAdaptor.java:
    758)
            at
    com
    .webobjects
    .jdbcadaptor.JDBCAdaptor.setConnectionDictionary(JDBCAdaptor.java:214)
            at com.webobjects.eoaccess.EOAdaptor.adaptorWithModel(EOAdaptor.java:
    315)
            at com.webobjects.eoaccess.EOModel.createPrototypeCache(EOModel.java:
    622)
            at
    com.webobjects.eoaccess.EOModel.prototypeAttributeNamed(EOModel.java:
    697)
            at com.webobjects.eoaccess.EOAttribute.<init>(EOAttribute.java:998)
            at com.webobjects.eoaccess.EOEntity.attributes(EOEntity.java:814)
            at com.webobjects.eoaccess.EOEntity.attributeNamed(EOEntity.java:787)
            at
    com
    .webobjects
    .eoaccess.EORelationship.awakeWithPropertyList(EORelationship.java:941)
            at com.webobjects.eoaccess.EOEntity.relationships(EOEntity.java:1069)
            at com.webobjects.eoaccess.EOEntity.relationshipNamed(EOEntity.java:
    914)
            at com.webobjects.eoaccess.EOEntity.classProperties(EOEntity.java:1098)
            at
    org
    .objectstyle
    .wolips
    .eomodeler
    .core
    .sql.EOFSQLGenerator.createLocalizedAttributes(EOFSQLGenerator.java:276)
            at
    org
    .objectstyle
    .wolips
    .eomodeler
    .core.sql.EOFSQLGenerator.localizeEntities(EOFSQLGenerator.java:228)
            at
    org
    .objectstyle
    .wolips.eomodeler.core.sql.EOFSQLGenerator.<init>(EOFSQLGenerator.java:
    171)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
    Method)
            at
    sun
    .reflect
    .NativeConstructorAccessorImpl
    .newInstance(NativeConstructorAccessorImpl.java:39)
            at
    sun
    .reflect
    .DelegatingConstructorAccessorImpl
    .newInstance(DelegatingConstructorAccessorImpl.java:27)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
            at
    org
    .objectstyle
    .wolips
    .eomodeler
    .core
    .sql.EOFSQLGeneratorFactory.sqlGenerator(EOFSQLGeneratorFactory.java:33)
            at
    org
    .objectstyle
    .wolips
    .eomodeler
    .actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:270)
            at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog
    $1.run(GenerateSQLDialog.java:252)
            at java.lang.Thread.run(Thread.java:613)



    This archive was generated by hypermail 2.0.0 : Sat Mar 08 2008 - 12:00:19 EST