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: Exception in hibernate code
PostPosted: Thu Nov 13, 2008 11:43 am 

Joined: Fri Mar 10, 2006 12:42 pm
Posts: 4
Location: Baltimore, Maryland
I am getting some intermittent problems with low-level exceptions inside the Hibernate code. The code is multi-threaded which makes things much trickier and I will post updates as information becomes available.

Hibernate version: 3.3.1

Full stack trace of any exception that occurs:
at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:384)
at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:383)
at org.hibernate.util.IdentityMap.entryArray(IdentityMap.java:228)
at org.hibernate.util.IdentityMap.concurrentEntries(IdentityMap.java:89)
at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:136)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:88)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:58)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:996)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1141)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:835)
at edu.stsci.synphot.WavelengthRange.getByGlobalID(WavelengthRange.java:30)
at edu.stsci.db.replicationHandlers.SynphotThroughputFileHandler.parseMessage(SynphotThroughputFileHandler.java:97)
at edu.stsci.db.ReplicationSuite$MockReceiver.parseMessage(ReplicationSuite.java:887)
at edu.stsci.db.ReplicationSuite$MockReceiver.handleMessage(ReplicationSuite.java:792)
at edu.stsci.db.StreamHandler.readInputStream(StreamHandler.java:106)
at edu.stsci.db.StreamHandler.doIO(StreamHandler.java:35)
at edu.stsci.db.ReplicationSuite$MockReceiver.run(ReplicationSuite.java:760)

Name and version of the database you are using: Derby 10.4.2

 Post subject: Re: Exception in hibernate code
PostPosted: Tue Jan 17, 2012 9:04 am 

Joined: Tue Dec 26, 2006 1:36 pm
Posts: 4
I've just faced the same problem with 3.3.2GA.

I'm querying for the same object from many parallel threads (Message Driven Beans, glassfish v2.1).

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.