On Feb 18, 2009, at 8:04 PM, amiel montecillo wrote:
As expected from a noob screwed up. Thanks Chuck!
Though it would have been nice to see that suggestion on the error
message box? That would keep noobs like me spamming the list.
I really wouldn't call it spamming the list. These are exactly the
kinds of things new developers run into and the more these types of
questions are asked, the more the answers are available in the archives!
I'm all for more simple questions! That way I can answer a few....
Dave
Amiel
On Wed, Feb 18, 2009 at 11:56 AM, Chuck Hill <ch...@global-
village.net> wrote:
On Feb 17, 2009, at 7:35 PM, amiel montecillo wrote:
Hello List,
I am trying to generate the sql for my eomodel but got an exception:
java.lang.RuntimeException: Failed to generate SQL.
at
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
$
ReflectionSQLGenerator
.generateSchemaCreationScript(EOFSQLGeneratorFactory.java:60)
at
org
.objectstyle
.wolips
.eomodeler
.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:298)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog
$1.run(GenerateSQLDialog.java:279)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory
$
ReflectionSQLGenerator
.generateSchemaCreationScript(EOFSQLGeneratorFactory.java:58)
... 3 more
Caused by: java.lang.NullPointerException
at
com
.webobjects
.jdbcadaptor
.JDBCExpression.columnTypeStringForAttribute(JDBCExpression.java:160)
Check your model for missing external type on one of your attributes.
Chuck
at
com
.webobjects
.eoaccess
.synchronization
.EOSchemaSynchronizationFactory
._columnCreationClauseForAttribute
(EOSchemaSynchronizationFactory.java:2124)
at
com
.webobjects
.eoaccess
.synchronization
.EOSchemaSynchronizationFactory
.createTableStatementsForEntityGroup
(EOSchemaSynchronizationFactory.java:350)
at
com
.webobjects
.eoaccess
.synchronization
.EOSchemaSynchronizationFactory
.createTableStatementsForEntityGroups
(EOSchemaSynchronizationFactory.java:500)
at
com
.webobjects
.eoaccess
.synchronization
.EOSchemaSynchronizationFactory
.schemaCreationStatementsForEntities
(EOSchemaSynchronizationFactory.java:887)
at
com
.webobjects
.eoaccess
.synchronization
.EOSchemaSynchronizationFactory
.schemaCreationScriptForEntities(EOSchemaSynchronizationFactory.java:
685)
at
com
.webobjects
.eoaccess
.EOSynchronizationFactory
.schemaCreationScriptForEntities(EOSynchronizationFactory.java:233)
at
org
.objectstyle
.wolips
.eomodeler
.core
.sql
.EOFSQLGenerator.generateSchemaCreationScript(EOFSQLGenerator.java:
483)
... 8 more
I have the latest wolips nightly build and WO 5.4.3, mysql connector/
j 5.1.7
I found this a post simillar to my problem at http://lists.apple.com/archives/webobjects-dev/2008/May/msg00882.html
but this was a few months ago.
Does anyone know if this is already resolved?
Thanks,
Amiel
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
--
socket error: unable to connect to 127.0.0.1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]