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]

RE: InstantDB: Bug in InstantDB 3.26 (that wasn't there in 3.25)


Hello,

I have been having the same problem.  However, here are lines 186, 187 and 
188 from the latest version of the ScriptTool file:

	if (curLine == null) continue;
	if (curLine.length()==0) continue;
	curLine = curLine.trim();

Should we just swap lines 186 and 188 then?

Thank you.

Marci L.


-----Original Message-----
From: Peter Hearty [mailto:peter.hearty@lutris.com]
Sent: Monday, March 05, 2001 9:34 AM
To: instantDB@enhydra.org
Subject: Re: InstantDB: Bug in InstantDB 3.26 (that wasn't there in
3.25)


Marcel

Switch the two lines 186,187 in ScriptTool.java from:

	if (curLine == null) continue;
	curLine = curLine.trim();

to:

	curLine = curLine.trim();
	if (curLine == null) continue;

Regards

Pete
----- Original Message -----
From: Marcel Maré <mjmare@webtothemax.com>
Date: Monday, March 5, 2001 4:49 pm
Subject: InstantDB: Bug in InstantDB 3.26 (that wasn't there in 3.25)

>I've run into a problem with 3.26.
>
>I want to use InstantDB as the database for Jive (als extremely cool
>open-source project). They provide a ScriptTool script to create all the
>tables. This works flawlessly with v3.25. With 3.26 I get this error:
>
>
>=====================
>C:\Devel\java\tomcat\webapps\jive\WEB-INF\database>java
>org.enhydra.instantdb.ScriptTool Jive_instant_db.sql
>Enhydra InstantDB - Version 3.26
>The Initial Developer of the Original Code is Lutris Technologies Inc.
>Portions created by Lutris are Copyright (C) 1997-2001 Lutris 
>Technologies,Inc.
>All Rights Reserved.
>
>Connected to
>jdbc:idb:c:\\devel\\java\\tomcat\\webapps\\jive\\WEB-
>INF\\database\\Jive_instant_db.properties
>Driver   InstantDB JDBC Driver
>Version  Version 3.26
>
>Jive_instant_db.sql CREATE TABLE jiveFilter ( filterObject   BINARY, 
>forumID
>INT  NOT NULL, filterIndex    INT  NOT NULL, PRIMARY KEY
>(forumID,filterIndex) )
>Jive_instant_db.sql CREATE INDEX filterIndexIdx ON jiveFilter ( 
>filterIndexASC )
>Jive_instant_db.sql CREATE TABLE jiveForum ( forumID        INT  NOT NULL,
>name           VARCHAR(255), description    VARCHAR(2000), 
>modifiedDateVARCHAR(15), creationDate   VARCHAR(15), moderated     INT  NOT 
>NULL,
>PRIMARY KEY (forumID
>) )
>Jive_instant_db.sql CREATE TABLE jiveForumProp ( forumID     INT  NOT NULL,
>name        VARCHAR(30) NOT NULL, propValue   VARCHAR(255) NOT NULL, 
>PRIMARY
>KEY (forumID,name) )
>Jive_instant_db.sql CREATE TABLE jiveGroup ( groupID       INT  NOT NULL,
>name          VARCHAR(50) NOT NULL, description   VARCHAR(255), PRIMARY KEY
>(groupID) )
>Jive_instant_db.sql CREATE TABLE jiveGroupPerm ( forumID       INT NOT
>NULL, groupID       INT  NOT NULL, permission    INT  NOT NULL, PRIMARY KEY
>(forumID,groupID,permission) )
>Jive_instant_db.sql CREATE INDEX groupGroupIdx ON jiveGroupPerm ( 
>groupIDASC )
>Jive_instant_db.sql CREATE TABLE jiveGroupUser ( groupID          INT  NOT
>NULL, userID           INT  NOT NULL, administrator    INT  NOT NULL,
>PRIMARY KEY (groupID,userID) )
>Jive_instant_db.sql CREATE INDEX groupIdx ON jiveGroupUser ( userID
>    ASC )
>java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>        at java.lang.String.charAt(Unknown Source)
>        at org.enhydra.instantdb.SampleThread.getSQL(ScriptTool.java:189)   
>     at org.enhydra.instantdb.SampleThread.run(ScriptTool.java:265)
>        at java.lang.Thread.run(Unknown Source)
>
>
>========================
>
>Any ideas someone?
>
>TIA
>
>Marcel
>
>-------------------------------------------------------------------
>----------
>To unsubscribe from this mailing list, send email to 
>majordomo@enhydra.orgwith 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.
>

-----------------------------------------------------------------------------
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.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

-----------------------------------------------------------------------------
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.