Menu

#4267 [HHQ-4167] java.lang.StackOverflowError when deleting a vCen

Bug
open
None
9
2012-10-09
2010-07-28
No

http://jira.hyperic.com/browse/HHQ-4167
java.lang.StackOverflowError while deleting a vCenter server from HQ. Initially this was crashing the entire jvm, but with openjdk it stays up and has this error.



To reproduce:



create an agent on a vm which is monitoring a vCenter server which in turn montiors that vm.




2010-07-26 10:35:50,671 ERROR [http-0.0.0.0-7080-4] [org.jboss.ejb.plugins.LogInterceptor@413] RuntimeException in method: public abstract org.hyperic.hq.appdef.shared.AppdefEntityID[] org.hyperic.hq.authz.shared.ResourceManagerLocal.removeResourcePerms(org.hyperic.hq.authz.server.session.AuthzSubject,org.hyperic.hq.authz.server.session.Resource,boolean) throws org.hyperic.hq.common.VetoException,org.hyperic.hq.authz.shared.PermissionException:


java.lang.RuntimeException: java.lang.StackOverflowError


...


...


...


        at $Proxy324.removeResourcePerms(Unknown Source)


Caused by: java.lang.StackOverflowError


...


...


        at org.hyperic.hq.authz.server.session.ResourceEdgeDAO.findDescendantEdges(ResourceEdgeDAO.java:106)


        at org.hyperic.hq.authz.server.session.ResourceEdgeDAO.findDescendantEdges(ResourceEdgeDAO.java:118)


        at org.hyperic.hq.authz.server.session.ResourceManagerEJBImpl.removeResourcePerms(ResourceManagerEJBImpl.java:383)


        at org.hyperic.hq.authz.server.session.ResourceManagerEJBImpl.removeResourcePerms(ResourceManagerEJBImpl.java:389)


        at org.hyperic.hq.authz.server.session.ResourceManagerEJBImpl.removeResourcePerms(ResourceManagerEJBImpl.java:389)


        at org.hyperic.hq.authz.server.session.ResourceManagerEJBImpl.removeResourcePerms(ResourceManagerEJBImpl.java:389)


        at org.hyperic.hq.authz.server.session.ResourceManagerEJBImpl.removeResourcePerms(ResourceManagerEJBImpl.java:389)


        at org.hyperic.hq.authz.server.session.ResourceManagerEJBImpl.removeResourcePerms(ResourceManagerEJBImpl.java:389)


...


...

Discussion

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.