Error Org Apache Tiles Impl Basictilescontainer Error Rendering Tile
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Spring 3.0.5 / Tiles 2.2 Error up vote 9 down vote favorite 2 I have a large application used in a production environment. My tiles setup is complex, with many tiles per page. The application works great with the exception of one thing. After starting the server the first page load throws an exception, an error in apache.commons.digester.Digester at line 789/Digester.getParser It throws this: UnsupportedOperationException:: This parser does not support specification "null" version null" The amazing thing is, this error only happens on the first page load, all subsequent loads work just fine. Looking for help with this, let me know what info you need. Thanks in advance. This is the nested stack trace: ERROR 08-12-11 15:30:05 (apache.commons.digester.Digester:789) ***Digester.getParser: *** java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null" at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.java:448) at org.apache.commons.digester.Digester.getFactory(Digester.java:534) at org.apache.commons.digester.Digester.getParser(Digester.java:786) at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058) at org.apache.commons.digester.Digester.parse(Digester.java:1887) at org.apache.tiles.definition.digester.DigesterDefinitionsReader.read(DigesterDefinitionsReader.java:329) at org.apache.tiles.definition.dao.BaseLocaleUrlDefinitionDAO.loadDefinitionsFromURL(BaseLocaleUrlDefinitionDAO.java:276) at org.apache.tiles.definition.dao.CachingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs(CachingLocaleUrlDefinitionDAO.java:251) at org.apache.tiles.de
post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Error rendering tile java.lang.NullPointerException Hi, Components: tiles-api, tiles-core, tiles-jsp (jsp support) > Affects Versions: 2.0.5 > Environment: Weblogic10.3, JDK1.6.X, Myfaces1.2.5, Tomahawk 1.1.9, Richfaces3.3.2, tiles2.0.5 > > I'm getting the following exception when i try to access my application. > I have recently updated the following components in my application > weblogic8.1 to weblogic 10.3 > myfaces http://stackoverflow.com/questions/7034008/spring-3-0-5-tiles-2-2-error 1.1.5 to 1.2.5 > richfaces 3.0.1 to 3.3.2 > tomahawk 1.1.5 to 1.1.9 > struts tiles to Tiles core - api- jsp 2.0.5 Mar 25, 2010 7:47:14 PM > org.ajax4jsf.webapp.BaseFilter checkMyFacesExtensionsFilter > WARNING: MyFaces Extensions Filter should be configured to execute > *AFTER* RichFaces filter. Refer to SRV.6.2.4 section of Servlets http://struts.1045723.n5.nabble.com/Error-rendering-tile-java-lang-NullPointerException-td3554384.html specification on how to achieve that. > Mar 25, 2010 7:47:14 PM > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > getBooleanInitParameter > INFO: No context init parameter > 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using > default value true Mar 25, 2010 7:47:14 PM > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > getBooleanInitParameter > INFO: No context init parameter > 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value > true Mar 25, 2010 7:47:14 PM > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > getBooleanInitParameter > INFO: No context init parameter > 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value > true Mar 25, 2010 7:47:14 PM > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > getLongInitParameter > INFO: No context init parameter > 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value > 2 Mar 25, 2010 7:47:14 PM > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > getStringInitParameter > INFO: No context init parameter > 'org.apache.myfaces.RESOURCE_VIRTUAL_PATH' found, using default value > /faces/myFacesExte nsionResource Mar 25, 2010 7:47:14 PM > org.apache.myfaces.shared_tomahawk.config.MyfacesConfig > createAndInitializeMyFacesConfig > INFO: Starting up Tomahawk on the MyFaces-JSF-Implementation Mar 25, > 2010 7:47:14 PM org.apache.tiles.impl.BasicTilesContainer render > SEVERE: Error rendering tile > java.lang.NullPointerException > at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(Serv letTilesR
This Site Careers Other all forums Forum: JSF JSf 2.1+apache tiles is not https://richardbarabe.wordpress.com/2009/02/17/apache-tiles-2-a-brief-example/ able to render the page. Harbinder perhar Greenhorn Posts: 5 posted 3 years ago error org Hi all, I am upgrading a project which was written in JSF 1.2 ,apache tiles 2.0.6 and other libraries; now I'm using JSF 2.1. First of all, can I error org apache use apache tiles 2.0.6 with JSF 2.1? In JSF 2.1, where I am having xhtml and jsp(only for apache tiles -/tiles/layout-wide.jsp) pages, I'm getting following error, because of which my home page does not render properly and it displays only some portion of the page: oracle-glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=40;_ThreadName=Thread-2;|ApplicationDispatcher[/specialist-directory] PWC1231: Servlet.service() for servlet jsp threw exception java.lang.IllegalArgumentException: Cannot find a factory to create the request context at org.apache.tiles.context.ChainedTilesContextFactory.createRequestContext(ChainedTilesContextFactory.java:140) at org.apache.tiles.impl.BasicTilesContainer.getRequestContext(BasicTilesContainer.java:498) at org.apache.tiles.impl.BasicTilesContainer.getAttributeContext(BasicTilesContainer.java:166) at org.apache.tiles.jsp.taglib.InsertAttributeTag.startContext(InsertAttributeTag.java:125) at org.apache.tiles.jsp.taglib.ContainerTagSupport.doStartTag(ContainerTagSupport.java:69) at org.apache.tiles.jsp.taglib.RenderTagSupport.doStartTag(RenderTagSupport.java:138) at org.apache.jsp.tiles.layout_002dwide_jsp._jspx_meth_tiles_insertAttribute_0(layout_002dwide_jsp.java from :395) at org.apache.jsp.tiles.layout_002dwide_jsp._jspService(layout_002dwide_jsp.java from :286) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java