On Nov 10, 2008, at 11:13 AM, Timothy Reaves wrote:
I'm trying to follow along with the video tutorial (Part 1) for
SooperSeekrit. I have my project set up, my database running
(Postgresql in my case), my migration, etc. When I go to run the
app the first time (about 11 minutes into the video), it is supposed
to connect to the database and create the user table. Instead I get
a stack trace.
I've gone back and double checked everything, and it all seems
fine. My JDBC driver is in the Library folder, etc. It seems that
the database type isn't being identified somewhere. The stack trace
(bottom of it) is below. I'd appreciate any help!
Caused by: com.webobjects.foundation.NSForwardException
[java.lang.NullPointerException] null:Failed to create sql helper
for the database with the product name 'null'.
at er.extensions.jdbc.ERXSQLHelper.newSQLHelper(ERXSQLHelper.java:
1468)
at er.extensions.jdbc.ERXSQLHelper.newSQLHelper(ERXSQLHelper.java:
1415)
at er.extensions.jdbc.ERXSQLHelper.newSQLHelper(ERXSQLHelper.java:
1410)
at er.extensions.jdbc.ERXSQLHelper.newSQLHelper(ERXSQLHelper.java:
1423)
at
er.extensions.migration.ERXMigrator.migrateToLatest(ERXMigrator.java:
176)
... 14 more
Caused by: java.lang.NullPointerException
at er.extensions.jdbc.ERXSQLHelper.newSQLHelper(ERXSQLHelper.java:
1435)
... 18 more
So, there are a few important things missing from the video tutorial;
when using PostgreSQL, the PostresqlPlugin framework must be added,
and specified. The information to figure this out wasn't present on
the wiki.objectstyle.org web site. It really is a confusing web site
- Confluence doesn't work that well. But I do now have it creating db
objects.
_______________________________________________
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]