java.lang.IllegalStateException

ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web27

  • via Unknown by amersohail794,
  • via Unknown by 589616,
  • via Unknown by wbossons,
  • Stack trace

    • java.lang.IllegalStateException: ICEfaces requires the PersistentFacesServlet. Please check your web.xml servlet mappings at com.icesoft.faces.context.DOMResponseWriter.<init>(DOMResponseWriter.java:121) at com.icesoft.faces.context.DOMContext.createTemporaryDOMResponseWriter(DOMContext.java:138) at com.icesoft.faces.context.DOMContext.attachDOMContext(DOMContext.java:106) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:80) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1288) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1544) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1558) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1558) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1104) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1670) at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1623) at org.netbeans.modules.visualweb.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1598) at org.netbeans.modules.visualweb.insync.models.FacesModel.findHtmlBody(FacesModel.java:1622) at org.netbeans.modules.visualweb.insync.models.FacesModel.getHtmlBody(FacesModel.java:1610) at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:1716) at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:1711) at org.netbeans.modules.visualweb.designer.jsf.DomProviderImpl.getHtmlBody(DomProviderImpl.java:117) at org.netbeans.modules.visualweb.designer.WebForm.getHtmlBody(WebForm.java:918) at org.netbeans.modules.visualweb.designer.DesignerPaneUI.resetPageBox(DesignerPaneUI.java:623) at org.netbeans.modules.visualweb.designer.WebForm.resetPanePageBox(WebForm.java:3071) at org.netbeans.modules.visualweb.designer.jsf.ui.JsfTopComponent.designerShowing(JsfTopComponent.java:2581) at org.netbeans.modules.visualweb.designer.jsf.ui.JsfTopComponent.componentShowing(JsfTopComponent.java:1201) at org.netbeans.modules.visualweb.designer.jsf.ui.JsfMultiViewElement.componentShowing(JsfMultiViewElement.java:129) at org.netbeans.modules.visualweb.project.jsfloader.OpenEditOverride$MultiViewDelegate.componentShowing(OpenEditOverride.java:178) at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:198) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:119) at org.openide.windows.WindowManager.componentShowing(WindowManager.java:330) at org.netbeans.core.windows.WindowManagerImpl.componentShowing(WindowManagerImpl.java:1016) at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:161) at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:269) at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:245) at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:183) at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:123) at org.netbeans.core.windows.Central.activateModeTopComponent(Central.java:1697) at org.netbeans.core.windows.WindowManagerImpl.topComponentRequestActive(WindowManagerImpl.java:1126) at org.openide.windows.TopComponent.requestActive(TopComponent.java:709) at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.doOpenDesigner(JsfJavaEditorSupport.java:163) at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$1.run(JsfJavaEditorSupport.java:148) at org.openide.util.Mutex.doEvent(Mutex.java:1203) at org.openide.util.Mutex.writeAccess(Mutex.java:398) at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.openDesigner(JsfJavaEditorSupport.java:146) at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:133) at org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject$OpenEdit.open(JsfJspDataObject.java:250) at org.netbeans.modules.visualweb.project.jsf.ui.PageIterator.instantiate(PageIterator.java:305) at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:595) at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:416) at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248) at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:161) at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1387) at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1341) at org.openide.WizardDescriptor.access$1600(WizardDescriptor.java:119) at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:1908) at org.openide.WizardDescriptor$Listener$2.run(WizardDescriptor.java:1957) at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1316) at org.openide.WizardDescriptor.access$1200(WizardDescriptor.java:119) at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1964) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:449) at $Proxy16.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177) at java.awt.Dialog$1.run(Dialog.java:1039) at java.awt.Dialog$3.run(Dialog.java:1091) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1089) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:834) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:868) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:856) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:104) at org.openide.util.Mutex.doEventAccess(Mutex.java:1223) at org.openide.util.Mutex.readAccess(Mutex.java:242) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:841) at java.awt.Component.show(Component.java:1419) at java.awt.Component.setVisible(Component.java:1372) at java.awt.Window.setVisible(Window.java:801) at java.awt.Dialog.setVisible(Dialog.java:979) at org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:502) at org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:369) at org.netbeans.modules.project.ui.actions.NewFile.doPerform(NewFile.java:147) at org.netbeans.modules.project.ui.actions.NewFile.access$200(NewFile.java:80) at org.netbeans.modules.project.ui.actions.NewFile$PopupListener.actionPerformed(NewFile.java:340) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.