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 Icesoft by titoermejo, 1 year ago
Failed to append text[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">] into #document
via Icesoft by ratzadesso, 7 months ago
Failed to append element[tag: html; attributes: ] into #document
via Icesoft by perrotekel, 1 year ago
Failed to append element[tag: html; attributes: ] into #document
via Icesoft by renayams, 7 months ago
Failed to append text[<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="] into #document
via Icesoft by inget, 7 months ago
Failed to append element[tag: body; attributes: ] into #document
via ICEsoft JIRA Issue Tracker by Senthilkumar Muthusamy, 1 year ago
Failed to append text[JBoss Suites: Seam Framework] into #document
org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. 	at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(ParentNode.java:356)	at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(ParentNode.java:284)	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:389)	at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)	at com.icesoft.faces.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:587)	at com.icesoft.faces.context.DOMResponseWriter.write(DOMResponseWriter.java:281)	at com.sun.webui.jsf.renderkit.html.PageRenderer.encodeBegin(PageRenderer.java:80)	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)	at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:514)	at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:522)	at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:481)	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)	at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19)	at com.icesoft.faces.context.View$2$1.respond(View.java:48)	at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet$GlassFishRequestResponse.respondWith(GlassFishAdaptingServlet.java:159)	at com.icesoft.faces.context.View$2.serve(View.java:76)	at com.icesoft.faces.context.View.servePage(View.java:139)	at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:55)	at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:42)	at com.icesoft.faces.webapp.http.servlet.GlassFishAdaptingServlet.service(GlassFishAdaptingServlet.java:60)	at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:62)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)	at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:875)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:558)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:490)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)	at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320)	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:145)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)	at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)	at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)	at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:67)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:89)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)	at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)	at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)	at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)	at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)	at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)	at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)	at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)	at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)	at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)	at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)	at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)