[jboss-user] [JBoss jBPM] - null index column for collection: org.jbpm.context.exe.Token

mikes124 do-not-reply at jboss.com
Thu Jul 5 11:35:41 EDT 2007


hi all,

I have this error on my web application that i use jboss to add a work flow module api in it.This error is lunched only on oracle9i data base,on hsql and sqlserver it work. I am using tomcat 5.0.28 and jbpm3.1.4 and my test are on several database.
the exception is a hibernate exception i had got it when i used the hbm2ddl.auto property to create the data base schema.
Thank you for any help.
this is the exception:
org.hibernate.HibernateException: null index column for collection: org.jbpm.context.exe.TokenVariableMap.variableInstances
	at org.hibernate.persister.collection.AbstractCollectionPersister.readIndex(AbstractCollectionPersister.java:652)
	at org.hibernate.collection.PersistentMap.readFrom(PersistentMap.java:222)
	at org.hibernate.loader.Loader.readCollectionElement(Loader.java:994)
	at org.hibernate.loader.Loader.readCollectionElements(Loader.java:635)
	at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:580)
	at org.hibernate.loader.Loader.doQuery(Loader.java:689)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
	at org.hibernate.loader.Loader.loadCollection(Loader.java:1919)
	at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:71)
	at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:520)
	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1693)
	at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)
	at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
	at org.hibernate.collection.AbstractPersistentCollection.readIndexExistence(AbstractPersistentCollection.java:125)
	at org.hibernate.collection.PersistentMap.containsKey(PersistentMap.java:109)
	at org.jbpm.context.exe.VariableContainer.hasVariableLocally(VariableContainer.java:119)
	at org.jbpm.context.exe.VariableContainer.setVariable(VariableContainer.java:42)
	at org.jbpm.context.exe.VariableContainer.setVariable(VariableContainer.java:49)
	at org.jbpm.context.exe.VariableContainer$$FastClassByCGLIB$$56c4a5bb.invoke()
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
	at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$177bf4ef.setVariable()
  

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060882#4060882

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060882



More information about the jboss-user mailing list