-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Transactions
PostPosted: Thu Dec 18, 2003 12:06 pm 
Beginner
Beginner

Joined: Tue Sep 02, 2003 3:25 pm
Posts: 21
Location: Kingston Jamaica, West Indies
I get his error when on the transaction.commit() when I try to update some tables:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
java.util.ArrayList.set(ArrayList.java:343)
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.countParameter(WSJdbcPreparedStatement.java:355)
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setNull(WSJdbcPreparedStatement.java:1050)
cirrus.hibernate.type.NullableType.nullSafeSet(NullableType.java:39)
cirrus.hibernate.type.NullableType.nullSafeSet(NullableType.java:30)
cirrus.hibernate.persister.EntityPersister.dehydrate(EntityPersister.java:403)
cirrus.hibernate.persister.EntityPersister.insert(EntityPersister.java:485)
cirrus.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:20)
cirrus.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:1688)
cirrus.hibernate.impl.SessionImpl.execute(SessionImpl.java:1668)
cirrus.hibernate.impl.SessionImpl.flush(SessionImpl.java:1613)
cirrus.hibernate.transaction.JTATransaction.commit(JTATransaction.java:50)


Top
 Profile  
 
 Post subject: Again Here
PostPosted: Thu Dec 18, 2003 12:07 pm 
Beginner
Beginner

Joined: Tue Sep 02, 2003 3:25 pm
Posts: 21
Location: Kingston Jamaica, West Indies
SystemErr R
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
java.util.ArrayList.set(ArrayList.java:343)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.countParameter(WSJdbcPrepa
redStatement.java:355)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.setNull(WSJdbcPreparedStat
ement.java:1050)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.type.NullableType.nullSafeSet(NullableType.java:40)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.type.NullableType.nullSafeSet(NullableType.java:31)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.type.ManyToOneType.nullSafeSet(ManyToOneType.java:33)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.persister.EntityPersister.dehydrate(EntityPersister.java:36
7)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.persister.EntityPersister.update(EntityPersister.java:626)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.persister.EntityPersister.update(EntityPersister.java:602)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:27)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2101)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2074)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2017)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:57)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(Hiber
nateTransactionManager.java:252)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
org.springframework.transaction.support.AbstractPlatformTransactionManager.c
ommit(AbstractPlatformTransactionManager.java:122)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
org.springframework.transaction.support.TransactionTemplate.execute(Transact
ionTemplate.java:108)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
org.fsl.lmis.cashiering.PaymentServiceHelper.createSaveTransaction(PaymentSe
rviceHelper.java:82)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at
org.fsl.lmis.cashiering.struts.actions.CashierPaymentAcceptAction.execute(Ca
shierPaymentAcceptAction.java:181)
[12/18/03 10:11:57:219 GMT-05:00] 6e9ac442 SystemErr R at


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.