-->
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.  [ 1 post ] 
Author Message
 Post subject: Pleas,Pleeeeeeeease - Mysterious NoSuchElementException
PostPosted: Sun Nov 12, 2006 5:01 pm 
Beginner
Beginner

Joined: Thu Nov 02, 2006 2:23 pm
Posts: 33
I saw that this topic already discussed in the forum, but I didn't find any conclusion.

The problem:
We are having problems with a mysterious NoSuchElementException within the Hibernate library which only seems to occur when the system is under heavy load and even then only occasionally (once every 5 hours or so).


Stack Trace:
java.util.NoSuchElementException
at org.apache.commons.collections.SequencedHashMap$OrderedIterator.next(Unknown Source)
at org.hibernate.util.IdentityMap.entryArray(IdentityMap.java:195)
at org.hibernate.util.IdentityMap.concurrentEntries(IdentityMap.java:59)
at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:104)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:59)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:730)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:324)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)


General Information:
Posted: Tue Sep 26, 2006 7:09 pm Post subject: Can you give me more detalis on the bug?

Thank you for your answer.

We run the jvm with the -server parametes, and still we got this exception (it happened in rare cases under heavy loaded).

Our application is multi threded .

The scenario is:
Web service (so this is new thread, each thread open a new session) get a Event (Event that dosnt exists in the Db, but have relation with another object that may exists in the cache)

in rare cases under heavy loaded i get the exception that mentioned above.

There is no chnace that another thread handle in this event , because this is new events.


link for the older Discussion-
http://forum.hibernate.org/viewtopic.ph ... on&start=0

Thank you.


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

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.