java.lang.RuntimeException: failed to append text[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Login</title> <script type="text/javascript"> <!-- FIXME: add code to ensure we're the top-most frame --> if (document.getElementById('layout-doc') != null) { // Just refresh the page... login will take over window.location = window.location; } </script> <style type="text/css"> /* clickjacking defense */ body { display : none; } </style> ] into #document

Icesoft | ffrreeaakk | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Can't launch Glassfish Admin Console when Icefaces.jar present in glassfish\lib

    Icesoft | 5 years ago | ffrreeaakk
    java.lang.RuntimeException: failed to append text[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Login</title> <script type="text/javascript"> <!-- FIXME: add code to ensure we're the top-most frame --> if (document.getElementById('layout-doc') != null) { // Just refresh the page... login will take over window.location = window.location; } </script> <style type="text/css"> /* clickjacking defense */ body { display : none; } </style> ] into #document
  2. 0

    How do I configure ICEfaces 3.3 to work on Weblogic 10.3.6, to avoid "failed to append text into..."

    Icesoft | 4 years ago | killerwhaletank
    java.lang.RuntimeException: failed to append text[ ] into #document
  3. 0

    Implementing the List

    Stack Overflow | 2 years ago | seventeen
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to create Dom objects parsing an XML with Stax

    Stack Overflow | 6 years ago | user512345
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
  6. 0

    Problem with adding an XML node to an existent XML File (XML forum at JavaRanch)

    coderanch.com | 2 years ago
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

  1. treefolk 1 times, last 1 month ago
5 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    NodeImpl.appendChild
    1. com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(ParentNode.java:356)
    2. com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(ParentNode.java:284)
    3. com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:399)
    4. com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:235)
    4 frames
  3. org.icefaces.impl
    DOMResponseWriter.write
    1. org.icefaces.impl.context.DOMResponseWriter.appendToCursor(DOMResponseWriter.java:357)
    2. org.icefaces.impl.context.DOMResponseWriter.write(DOMResponseWriter.java:193)
    2 frames
  4. com.sun.jsftemplating
    UtilHandlers.write
    1. com.sun.jsftemplating.handlers.UtilHandlers.write(UtilHandlers.java:166)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. com.sun.jsftemplating
    TemplateRenderer.encodeEnd
    1. com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:442)
    2. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420)
    3. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394)
    4. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:321)
    5. com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
    6. com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
    6 frames
  7. JavaEE 7
    UIComponentBase.encodeEnd
    1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
    1 frame
  8. com.sun.jsftemplating
    TemplateRenderer.encodeEnd
    1. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
    2. com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
    3. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
    4. com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
    5. com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
    6. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
    7. com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
    8. com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
    8 frames
  9. JavaEE 7
    UIComponentBase.encodeEnd
    1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
    1 frame
  10. com.sun.jsftemplating
    TemplateRenderer.encodeEnd
    1. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
    2. com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
    3. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
    4. com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:201)
    5. com.sun.jsftemplating.layout.descriptors.LayoutForEach.encode(LayoutForEach.java:178)
    6. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
    7. com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:250)
    8. com.sun.jsftemplating.renderer.TemplateRenderer.encodeEnd(TemplateRenderer.java:139)
    8 frames
  11. JavaEE 7
    UIComponentBase.encodeEnd
    1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:875)
    1 frame
  12. com.sun.jsftemplating
    LayoutViewHandler.renderView
    1. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:558)
    2. com.sun.jsftemplating.layout.descriptors.LayoutComponent.encode(LayoutComponent.java:243)
    3. com.sun.jsftemplating.layout.descriptors.LayoutElementBase.encode(LayoutElementBase.java:348)
    4. com.sun.jsftemplating.layout.descriptors.LayoutDefinition.encode(LayoutDefinition.java:246)
    5. com.sun.jsftemplating.layout.LayoutViewHandler.renderView(LayoutViewHandler.java:683)
    5 frames
  13. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:121)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    3 frames
  14. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
    1 frame
  15. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
    2. org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:483)
    5. org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:454)
    6. org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:350)
    7. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:300)
    7 frames
  16. org.glassfish.admingui
    AdminConsoleAuthModule.validateRequest
    1. org.glassfish.admingui.common.security.AdminConsoleAuthModule.validateRequest(AdminConsoleAuthModule.java:231)
    1 frame
  17. Security Core Classes
    GFServerConfigProvider$GFServerAuthContext.validateRequest
    1. com.sun.enterprise.security.jmac.config.GFServerConfigProvider$GFServerAuthContext.validateRequest(GFServerConfigProvider.java:1171)
    1 frame
  18. Security
    RealmAdapter.invokeAuthenticateDelegate
    1. com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1445)
    2. com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1323)
    2 frames
  19. Glassfish Core
    StandardPipeline.doChainInvoke
    1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:551)
    2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:623)
    3. org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:600)
    3 frames
  20. Glassfish
    PESessionLockingStandardPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
    2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
    2 frames
  21. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
    2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
    3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    3 frames
  22. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:232)
    1 frame
  23. Grizzly WS
    AbstractThreadPool$Worker.run
    1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
    2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
    3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
    4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
    13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
    13 frames
  24. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame