InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

InstantDB: Problems running instantdb 3.13 under jdk 1.3



Hi,

I am new to the list, 

Has anyone attempted to run instantdb 3.13 under jdk 1.3?

I encountered two errors, one seemed to be caused by a newline at the
end of one of the sql*.txt scripts but the other seems to be caused
by attempting to create the import1 table via the CSV data file and
the schema file.

Here is a little snippet of the error,
Inside the read loop: IMPORT import1 FROM "Import1.txt" USING
"import_schema.txt" BUFFER 1024

sql3.txt java.lang.NullPointerException

java.sql.SQLException
	at db.SQLProg.execute(SQLProg.java:275)
	at jdbc.idbStatement.execute(idbStatement.java:235)
	at jdbc.idbStatement.executeUpdate(idbStatement.java:103)
	at SampleThread.run(sample.java:411)
	at java.lang.Thread.run(Thread.java:484)


I modifed the import statement to include the buffer and the 'inside the
read loop' is my additional
little debugging statement.

If I remove the last newline in the schema, then I start getting null
pointer errors starting at line 79
in the import data file (which only has 78 items).  So there is something
going on with
the text file strategry.  Does readLine() behave differently between the jdk
1.2X and jdk 1.3?

Thanks!
Steve

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.