While adding child channel to kickstart profile throws "Internal Server Error".

Solution Verified - Updated -

Issue

  • Adding child channel to kickstart profile throws "Internal Server Error"

    javax.servlet.ServletException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumType
    
    Caused by: org.hibernate.PropertyAccessException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumType
    
    Caused by: java.lang.StackOverflowError
            at com.redhat.rhn.domain.channel.ClonedChannel.getChecksumType(ClonedChannel.java:54)
    
  • Attempting to change the base channel of a kickstart profile fails with an Internal Server Error (ISE). catalina.out has :


2012-07-24 12:38:01,622 [TP-Processor3] WARN org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class org.hibernate.PropertyAccessException 2012-07-24 12:38:01,626 [TP-Processor3] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back javax.servlet.ServletException: org.hibernate.PropertyAccessException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumType at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:99) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:119) [..snip..] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:736) Caused by: org.hibernate.PropertyAccessException: Exception occurred inside getter of com.redhat.rhn.domain.channel.ClonedChannel.checksumType at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:171) at org.hibernate.tuple.entity.AbstractEntityTuplizer.getPropertyValues(AbstractEntityTuplizer.java:271) at org.hibernate.tuple.entity.PojoEntityTuplizer.getPropertyValues(PojoEntityTuplizer.java:244) at org.hibernate.persister.entity.AbstractEntityPersister.getPropertyValues(AbstractEntityPersister.java:3590) at org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:190) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:143) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:58) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:999) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1185) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:835) at com.redhat.rhn.domain.kickstart.KickstartFactory.lookupKickstartCommandName(KickstartFactory.java:271) at com.redhat.rhn.domain.kickstart.KickstartFactory.createKickstartCommand(KickstartFactory.java:286) at com.redhat.rhn.manager.kickstart.KickstartWizardHelper.createCommand(KickstartWizardHelper.java:102) at com.redhat.rhn.manager.kickstart.KickstartWizardHelper.processSkipKey(KickstartWizardHelper.java:224) at com.redhat.rhn.manager.kickstart.KickstartEditCommand.updateRepos(KickstartEditCommand.java:388) at com.redhat.rhn.frontend.action.kickstart.KickstartSoftwareEditAction.processFormValues(KickstartSoftwareEditAction.java:230) at com.redhat.rhn.frontend.action.kickstart.BaseKickstartEditAction.execute(BaseKickstartEditAction.java:80) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ... 40 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor619.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:168) ... 60 more Caused by: java.lang.StackOverflowError at com.redhat.rhn.domain.channel.ClonedChannel.getChecksumType(ClonedChannel.java:57)

Environment

  • Red Hat Network (RHN) Satellite 5.4

  • Red Hat Enterprise Linux (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In