java.lang.IllegalArgumentException: adding container's parent to itself

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Pentaho BI Platform Tracking by Daniel Goodwin, 1 year ago
adding container's parent to itself
via Pentaho BI Platform Tracking by Daniel Goodwin, 1 year ago
adding container's parent to itself
java.lang.IllegalArgumentException: adding container's parent to itself
at org.pentaho.reporting.engine.classic.core.Section.validateLooping(Section.java:123)
at org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.setRootGroup(AbstractReportDefinition.java:251)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.LayoutRootElementHandler.doneParsing(LayoutRootElementHandler.java:218)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.endElement(AbstractXmlReadHandler.java:175)
at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.endElement(RootXmlReadHandler.java:596)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:224)
at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:286)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:389)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:353)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.performExternalParsing(AbstractXmlReadHandler.java:339)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.performExternalParsing(AbstractXmlReadHandler.java:312)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.SubContentRootElementHandler.parseLayout(SubContentRootElementHandler.java:201)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.SubContentRootElementHandler.parseLocalFiles(SubContentRootElementHandler.java:194)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.SubContentRootElementHandler.doneParsing(SubContentRootElementHandler.java:187)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.endElement(AbstractXmlReadHandler.java:175)
at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.endElement(RootXmlReadHandler.java:596)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:224)
at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:286)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:389)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:353)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.performExternalParsing(AbstractXmlReadHandler.java:339)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.SubReportReadHandler.startParsing(SubReportReadHandler.java:82)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.startElement(AbstractXmlReadHandler.java:128)
at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.recurse(RootXmlReadHandler.java:340)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.startElement(AbstractXmlReadHandler.java:145)
at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.startElement(RootXmlReadHandler.java:479)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:224)
at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:286)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:389)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:353)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.performExternalParsing(AbstractXmlReadHandler.java:339)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.ContentRootElementHandler.parseLayout(ContentRootElementHandler.java:238)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.ContentRootElementHandler.parseLocalFiles(ContentRootElementHandler.java:227)
at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.ContentRootElementHandler.doneParsing(ContentRootElementHandler.java:217)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.endElement(AbstractXmlReadHandler.java:175)
at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.endElement(RootXmlReadHandler.java:596)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:224)
at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:286)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:389)
at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:353)
at org.pentaho.reporting.platform.plugin.ReportCreator.createReport(ReportCreator.java:44)
at org.pentaho.reporting.platform.plugin.SimpleReportingComponent.getReport(SimpleReportingComponent.java:253)
at org.pentaho.reporting.platform.plugin.ReportContentGenerator.createContent(ReportContentGenerator.java:200)
at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:51)
at org.pentaho.platform.web.servlet.GenericServlet.doGet(GenericServlet.java:249)
at org.pentaho.platform.web.servlet.GenericServlet.doPost(GenericServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.