[hibernate-issues] [Hibernate-JIRA] Created: (HHH-1985) NodeTraverser is not SOE-safe

Sergey Vladimirov (JIRA) noreply at atlassian.com
Tue Aug 8 07:53:18 EDT 2006


NodeTraverser is not SOE-safe
-----------------------------

         Key: HHH-1985
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1985
     Project: Hibernate3
        Type: Improvement

  Components: core  
    Versions: 3.2.0.cr3    
    Reporter: Sergey Vladimirov
    Priority: Minor


org.hibernate.hql.ast.util.NodeTraverser
It is possible for java.lang.StackOverflowError to occur in NodeTraverser.java:41;42 with very deep tree. Need another algorith to visit whole tree.

08.08 19:50:09 ERROR [ArpSiteServlet] Servlet.service() for servlet ArpSiteServlet threw exception
java.lang.StackOverflowError
        at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:41)
        at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:41)
        at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:42)
        at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:42)
        at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:42)
        at org.hibernate.hql.ast.util.NodeTraverser.visitDepthFirst(NodeTraverser.java:42)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list