Hibernate 3.3.2.GA hands in StatefulPersistenceContext.java:785

Description

Hibernate hangs in StatefulPersistenceContext.java:785:

"501471083@qtp-278005569-2629" id=21157 idx=0x738 tid=5814 prio=5 alive, native_blocked
at java/util/HashMap.put(HashMap.java:468)[optimized]
at org/hibernate/util/IdentityMap.put(IdentityMap.java:170)[optimized]
at org/hibernate/engine/StatefulPersistenceContext.addCollection(StatefulPersistenceContext.java:785)[inlined]
at org/hibernate/engine/StatefulPersistenceContext.addUninitializedCollection(StatefulPersistenceContext.java:756)[optimized]
at org/hibernate/type/CollectionType.getCollection(CollectionType.java:642)[optimized]
at org/hibernate/type/CollectionType.resolveKey(CollectionType.java:430)[inlined]
at org/hibernate/type/CollectionType.resolve(CollectionType.java:424)[optimized]
at org/hibernate/engine/TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:139)[optimized]
at org/hibernate/loader/Loader.initializeEntitiesAndCollections(Loader.java:877)[inlined]
at org/hibernate/loader/Loader.doQuery(Loader.java:752)[inlined]
at org/hibernate/loader/Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)[inlined]
at org/hibernate/loader/Loader.loadCollectionBatch(Loader.java:2053)[optimized]
at org/hibernate/loader/collection/BatchingCollectionInitializer.initialize(BatchingCollectionInitializer.java:70)[optimized]
at org/hibernate/persister/collection/AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:587)[optimized]
at org/hibernate/event/def/DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:83)[optimized]
at org/hibernate/impl/SessionImpl.initializeCollection(SessionImpl.java:1743)[optimized]
at org/hibernate/collection/AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366)[inlined]
at org/hibernate/collection/AbstractPersistentCollection.read(AbstractPersistentCollection.java:108)[inlined]
at org/hibernate/collection/AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:131)[inlined]
at org/hibernate/collection/PersistentSet.size(PersistentSet.java:162)[optimized]
at org/jboss/seam/el/SeamELResolver.resolveInCollection(SeamELResolver.java:128)[inlined]
at org/jboss/seam/el/SeamELResolver.getValue(SeamELResolver.java:65)[optimized]
at javax/el/CompositeELResolver.getValue(CompositeELResolver.java:175)[inlined]
at com/sun/faces/el/FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)[optimized]
at org/jboss/el/parser/AstPropertySuffix.getValue(AstPropertySuffix.java:53)[optimized]
at org/jboss/el/parser/AstValue.getValue(AstValue.java:67)[optimized]
at org/jboss/el/ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)[optimized]
at com/sun/facelets/el/TagValueExpression.getValue(TagValueExpression.java:71)[optimized]
at javax/faces/component/UIOutput.getValue(UIOutput.java:173)
at com/sun/faces/renderkit/html_basic/HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
at com/sun/faces/renderkit/html_basic/HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
at com/sun/faces/renderkit/html_basic/HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
at javax/faces/component/UIComponentBase.encodeEnd(UIComponentBase.java:836)
at com/sun/faces/renderkit/html_basic/HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:279)
at com/sun/faces/renderkit/html_basic/TableRenderer.encodeChildren(TableRenderer.java:307)
at javax/faces/component/UIComponentBase.encodeChildren(UIComponentBase.java:812)
at javax/faces/component/UIComponent.encodeAll(UIComponent.java:886)
at javax/faces/render/Renderer.encodeChildren(Renderer.java:137)
at javax/faces/component/UIComponentBase.encodeChildren(UIComponentBase.java:812)
at javax/faces/component/UIComponent.encodeAll(UIComponent.java:886)
at javax/faces/component/UIComponent.encodeAll(UIComponent.java:892)
at com/sun/facelets/FaceletViewHandler.renderView(FaceletViewHandler.java:592)
at com/sun/faces/lifecycle/RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com/sun/faces/lifecycle/LifecycleImpl.phase(LifecycleImpl.java:251)
at com/sun/faces/lifecycle/LifecycleImpl.render(LifecycleImpl.java:144)
at javax/faces/webapp/FacesServlet.service(FacesServlet.java:245)
at org/mortbay/jetty/servlet/ServletHolder.handle(ServletHolder.java:511)[inlined]
at org/mortbay/jetty/servlet/jsr77/Jsr77ServletHolder.handle(Jsr77ServletHolder.java:74)[optimized]
at org/mortbay/jetty/servlet/ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)[optimized]
at org/jboss/seam/servlet/SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org/jboss/seam/web/LoggingFilter.doFilter(LoggingFilter.java:58)
at org/jboss/seam/servlet/SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org/jboss/seam/web/MultipartFilter.doFilter(MultipartFilter.java:85)
at org/jboss/seam/servlet/SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org/jboss/seam/web/ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org/jboss/seam/servlet/SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org/jboss/seam/web/RedirectFilter.doFilter(RedirectFilter.java:45)
at org/jboss/seam/servlet/SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org/jboss/seam/servlet/SeamFilter.doFilter(SeamFilter.java:158)
at org/mortbay/jetty/servlet/ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)[optimized]
at org/mortbay/jetty/servlet/ServletHandler.handle(ServletHandler.java:399)[optimized]
at org/mortbay/jetty/security/SecurityHandler.handle(SecurityHandler.java:216)[optimized]
at org/mortbay/jetty/servlet/SessionHandler.handle(SessionHandler.java:182)[optimized]
at org/mortbay/jetty/handler/ContextHandler.handle(ContextHandler.java:766)[optimized]
at org/mortbay/jetty/webapp/WebAppContext.handle(WebAppContext.java:450)[optimized]
at org/mortbay/jetty/handler/ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[optimized]
at org/mortbay/jetty/handler/HandlerCollection.handle(HandlerCollection.java:114)[optimized]
at org/mortbay/jetty/handler/HandlerWrapper.handle(HandlerWrapper.java:152)[inlined]
at org/mortbay/jetty/handler/StatisticsHandler.handle(StatisticsHandler.java:53)[optimized]
at org/mortbay/jetty/handler/HandlerWrapper.handle(HandlerWrapper.java:152)[inlined]
at org/mortbay/jetty/Server.handle(Server.java:326)[optimized]
at org/mortbay/jetty/HttpConnection.handleRequest(HttpConnection.java:542)[optimized]
at org/mortbay/jetty/HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)[optimized]
at org/mortbay/jetty/HttpParser.parseNext(HttpParser.java:549)[optimized]
at org/mortbay/jetty/HttpParser.parseAvailable(HttpParser.java:212)[optimized]
at org/mortbay/jetty/HttpConnection.handle(HttpConnection.java:404)[optimized]
at org/mortbay/io/nio/SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)[optimized]
at org/mortbay/thread/QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)[optimized]
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)

Environment

3.3.2
Oracle 10g

Activity

Show:
Eugene Batogov
October 2, 2012, 10:04 AM

*hanGs

Brett Meyer
October 2, 2012, 2:43 PM

, please provide a test case that duplicates the issue. 3.3 is no longer maintained, so the test case will need to verify that this is still an issue in 4.1.x.

Brett Meyer
December 19, 2013, 7:13 PM

rejecting – no test case or additional details

Assignee

Unassigned

Reporter

Eugene Batogov

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure