Generally an error that mentions the '<init>' method refers to a problem
with a global variable (instance variables) that you are setting in some way
or another. I've learned that this '<init>' method is a pre-constructor
that builds all the global variables in your object. Check these variables.
Also, if you set the environment variable JAVA_COMPILER=NONE you won't get
those nasty 'Compiled Code' messages, instead, you will get line numbers.
Makes debugging easier.
Hope that helps a little.
Matt MacGillivray
Technical Developer
Delfour Corporation
(905) 415-9779 x2021
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jordi Pinol
Sent: Friday, November 10, 2000 6:59 AM
To: Orion-Interest
Subject: Help me, please
I have a next problem, when my application starts:
java.lang.ArrayIndexOutOfBoundsException: 6
at java.lang.String.<init>(Compiled Code)
at java.lang.String.toUpperCase(Compiled Code)
at java.lang.String.toUpperCase(Compiled Code)
at org.hsql.Tokenizer.getToken(Compiled Code)
at org.hsql.Tokenizer.getString(Compiled Code)
at org.hsql.Database.execute(Compiled Code)
at org.hsql.jdbcConnection.executeStandalone(Compiled Code)
at org.hsql.jdbcConnection.execute(Compiled Code)
at org.hsql.jdbcStatement.fetchResult(Compiled Code)
at org.hsql.jdbcStatement.executeQuery(Compiled Code)
at org.hsql.jdbcPreparedStatement.executeQuery(Compiled Code)
at com.evermind.sql.am.executeQuery(Compiled Code)
at com.evermind.sql.am.executeQuery(Compiled Code)
at com.evermind.sql.am.executeQuery(Compiled Code)
at ants.moo.PlaceDAO.selectByWorld(Compiled Code)
at ants.moo.PlaceDAO.findByWorld(PlaceDAO.java:102)
at ants.moo.PlaceEJB.ejbFindByWorld(PlaceEJB.java:1145)
at PlaceHome_EntityHomeWrapper12.findByWorld(Compiled Code)
at ants.moo.WorldEJB.getPlaces(Compiled Code)
at World_EntityBeanWrapper4.getPlaces(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at com.evermind.server.rmi.bd.run(Compiled Code)
at com.evermind.server.rmi.bb.hy(Compiled Code)
at com.evermind.server.rmi.bb.run(Compiled Code)
at com.evermind.util.f.run(Compiled Code)
java.sql.SQLException: General error
java.lang.ArrayIndexOutOfBoundsException: 6 in statement [select Id from
Places where SubId = 'world1' ]
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.sql.SQLException.<init>(SQLException.java:64)
at org.hsql.Trace.getError(Compiled Code)
at org.hsql.jdbcResultSet.<init>(Compiled Code)
at org.hsql.jdbcConnection.executeStandalone(Compiled Code)
at org.hsql.jdbcConnection.execute(Compiled Code)
at org.hsql.jdbcStatement.fetchResult(Compiled Code)
at org.hsql.jdbcStatement.executeQuery(Compiled Code)
at org.hsql.jdbcPreparedStatement.executeQuery(Compiled Code)
at com.evermind.sql.am.executeQuery(Compiled Code)
at com.evermind.sql.am.executeQuery(Compiled Code)
at com.evermind.sql.am.executeQuery(Compiled Code)
at ants.moo.PlaceDAO.selectByWorld(Compiled Code)
at ants.moo.PlaceDAO.findByWorld(PlaceDAO.java:102)
at ants.moo.PlaceEJB.ejbFindByWorld(PlaceEJB.java:1145)
at PlaceHome_EntityHomeWrapper12.findByWorld(Compiled Code)
at ants.moo.WorldEJB.getPlaces(Compiled Code)
at World_EntityBeanWrapper4.getPlaces(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at com.evermind.server.rmi.bd.run(Compiled Code)
at com.evermind.server.rmi.bb.hy(Compiled Code)
at com.evermind.server.rmi.bb.run(Compiled Code)
at com.evermind.util.f.run(Compiled Code)