Would this help ? Not quite sure which version that was with. I believe it 
could be 1.2.126 (from the exception [50000-126]) but I am not sure at all. I 
will try to find out more details.

Kind regards
Alex

> Caused by: com.j2anywhere.addressbookserver.AddressBookServerException: 
> org.hibernate.exception.GenericJDBCException: could not initialize a 
> collection: 
> [com.j2anywhere.addressbookserver.entities.Calendar.events#D18A4104-AA73-4C56-9B3B-0F4F75757E12]
>       at 
> com.j2anywhere.addressbookserver.web.DataController.getCalendarNames(DataController.java:640)
>       at 
> com.j2anywhere.addressbookserver.web.CalendarController.readCalendarNames(CalendarController.java:62)
>       at 
> com.j2anywhere.addressbookserver.web.CalendarController.(CalendarController.java:40)
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>       at java.lang.Class.newInstance0(Class.java:355)
>       at java.lang.Class.newInstance(Class.java:308)
>       at 
> com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186)
>       ... 46 more
> Caused by: org.hibernate.exception.GenericJDBCException: could not initialize 
> a collection: 
> [com.j2anywhere.addressbookserver.entities.Calendar.events#D18A4104-AA73-4C56-9B3B-0F4F75757E12]
>       at 
> org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
>       at 
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
>       at 
> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
>       at org.hibernate.loader.Loader.loadCollection(Loader.java:2022)
>       at 
> org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:59)
>       at 
> org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:587)
>       at 
> org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)
>       at 
> org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1743)
>       at 
> org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366)
>       at 
> org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108)
>       at 
> org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:131)
>       at org.hibernate.collection.PersistentBag.size(PersistentBag.java:248)
>       at 
> com.j2anywhere.addressbookserver.web.DataController.getCalendarNames(DataController.java:627)
>       ... 55 more
> Caused by: org.h2.jdbc.JdbcSQLException: General error: 
> "java.lang.ArrayIndexOutOfBoundsException"; SQL statement:
> select events0_.calendar_identifier as calendar17_1_, events0_.identifier as 
> identifier1_, events0_.identifier as identifier16_0_, events0_.changeType as 
> changeType16_0_, events0_.updatedOn as updatedOn16_0_, events0_.allDay as 
> allDay16_0_, events0_.calendar_identifier as calendar17_16_0_, 
> events0_.classification as classifi5_16_0_, events0_.description as 
> descript6_16_0_, events0_.endDate as endDate16_0_, events0_.floatingGMTDate 
> as floating8_16_0_, events0_.floatingOffset as floating9_16_0_, 
> events0_.location as location16_0_, events0_.originalDate as origina11_16_0_, 
> events0_.priority as priority16_0_, events0_.startDate as startDate16_0_, 
> events0_.status as status16_0_, events0_.summary as summary16_0_, 
> events0_.url as url16_0_ from Events events0_ where 
> events0_.calendar_identifier=? [50000-126]
>       at org.h2.message.Message.getSQLException(Message.java:110)
>       at org.h2.message.Message.convert(Message.java:287)
>       at org.h2.message.Message.convert(Message.java:248)
>       at org.h2.command.Command.executeQuery(Command.java:134)
>       at org.h2.server.TcpServerThread.process(TcpServerThread.java:283)
>       at org.h2.server.TcpServerThread.run(TcpServerThread.java:137)
>       at java.lang.Thread.run(Thread.java:637)
> Caused by: java.lang.ArrayIndexOutOfBoundsException
> 
>       at org.h2.engine.SessionRemote.done(SessionRemote.java:522)
>       at org.h2.command.CommandRemote.executeQuery(CommandRemote.java:161)
>       at 
> org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:98)
>       at 
> org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)
>       at 
> org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208)
>       at org.hibernate.loader.Loader.getResultSet(Loader.java:1808)
>       at org.hibernate.loader.Loader.doQuery(Loader.java:697)
>       at 
> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
>       at org.hibernate.loader.Loader.loadCollection(Loader.java:2015)
>       ... 64 more


On 15 Jan 2010, at 15:06, Thomas Mueller wrote:

> Hi Alexander,
> 
>> 2010-Jan-13 18:27:04 [JCLLoggerAdapter - ERROR] General error: 
>> "java.lang.ArrayIndexOutOfBoundsException: 0"; SQL statement:
> 
> Thanks for your mail. This exception message looks very similar to the
> one from Steve McLeod, however the 'root cause' of the exception is
> missing. Could you check if there is more in the .trace.db file?
> 
> Additionally I would be interested in the same information as I asked
> before (database create version, file system,...).
> 
> Regards,
> Thomas
> -- 
> You received this message because you are subscribed to the Google Groups "H2 
> Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/h2-database?hl=en.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to