2 Replies Latest reply on Nov 6, 2007 12:01 PM by Gustavo Delgado

    RichFaces with Netbeans Visual Web Pack

    Gustavo Delgado Newbie

      Hi,

      When I add the RichFaces jars, I have a problem with the visual editor of Netbeans (Visual Web Pack).


      The files of my library are:

      commons-beanutils.jar

      commons-digester-1.8.jar

      commons-collections-3.2.jar

      richfaces-impl-3.1.2.GA.jar

      richfaces-api-3.1.2.GA.jar

      richfaces-ui-3.1.0.jar


      This is the error:


      INFORMATIONAL *********** Exception occurred ************ at 8:07 PM
      on Nov 5, 2007
      java.lang.NullPointerException
      at org.ajax4jsf.application.AjaxViewHandler.writeState(AjaxViewHandler.java:131)
      at com.sun.rave.web.ui.renderer.FormRenderer.renderEnd(FormRenderer.java:177)
      at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeEnd(AbstractRenderer.java:235)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
      [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1319)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1076)
      at com.sun.rave.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1614)
      at com.sun.rave.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1554)
      at com.sun.rave.insync.models.FacesModel.findHtmlBody(FacesModel.java:1578)
      at com.sun.rave.insync.models.FacesModel.getHtmlBody(FacesModel.java:1566)
      at com.sun.rave.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:434)
      at com.sun.rave.designer.WebForm.getHtmlBody(WebForm.java:863)
      at com.sun.rave.designer.WebForm.getHtmlBody(WebForm.java:849)
      at com.sun.rave.designer.DesignerPaneUI.resetPageBox(DesignerPaneUI.java:582)
      at com.sun.rave.designer.WebForm.modelRefreshed(WebForm.java:1484)
      at com.sun.rave.designer.WebForm.access$200(WebForm.java:85)
      at com.sun.rave.designer.WebForm$HtmlDomProviderListener.modelRefreshed(WebForm.java:1804)
      at com.sun.rave.designer.jsf.JsfForm.fireModelRefreshed(JsfForm.java:697)
      at com.sun.rave.designer.jsf.JsfForm.refreshModel(JsfForm.java:555)
      at com.sun.rave.designer.WebForm.refreshModel(WebForm.java:1444)
      at com.sun.rave.designer.action.RefreshAction.refresh(RefreshAction.java:71)
      at com.sun.rave.designer.action.RefreshAction.performAction(RefreshAction.java:65)
      at com.sun.rave.spi.designtime.idebridge.action.AbstractDesignBeanAction$DelegateAction.actionPerformed(AbstractDesignBeanAction.java:158)
      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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      at java.awt.Component.processMouseEvent(Component.java:6038)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
      at org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:39)
      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)
      INFORMATIONAL *********** Exception occurred ************ at 8:07 PM
      on Nov 5, 2007
      java.lang.NullPointerException
      at org.ajax4jsf.application.AjaxViewHandler.writeState(AjaxViewHandler.java:131)
      at com.sun.rave.web.ui.renderer.FormRenderer.renderEnd(FormRenderer.java:177)
      at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeEnd(AbstractRenderer.java:235)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
      [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1319)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1076)
      at com.sun.rave.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1614)
      at com.sun.rave.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1554)
      at com.sun.rave.designer.jsf.JsfForm.getHtmlDocumentFragment(JsfForm.java:429)
      at com.sun.rave.designer.jsf.DomSynchronizer.processRefresh(DomSynchronizer.java:1106)
      at com.sun.rave.designer.jsf.DomSynchronizer.processUpdates(DomSynchronizer.java:747)
      at com.sun.rave.designer.jsf.DomSynchronizer.run(DomSynchronizer.java:648)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      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)
      INFORMATIONAL *********** Exception occurred ************ at 8:07 PM
      on Nov 5, 2007
      java.lang.NullPointerException
      at org.ajax4jsf.application.AjaxViewHandler.writeState(AjaxViewHandler.java:131)
      at com.sun.rave.web.ui.renderer.FormRenderer.renderEnd(FormRenderer.java:177)
      at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeEnd(AbstractRenderer.java:235)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
      [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1319)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1076)
      at com.sun.rave.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1614)
      at com.sun.rave.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1554)
      at com.sun.rave.insync.models.FacesModel.findHtmlBody(FacesModel.java:1578)
      at com.sun.rave.insync.models.FacesModel.getHtmlBody(FacesModel.java:1566)
      at com.sun.rave.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:434)
      at com.sun.rave.designer.WebForm.getHtmlBody(WebForm.java:863)
      at com.sun.rave.designer.WebForm.getHtmlBody(WebForm.java:849)
      at com.sun.rave.designer.DesignerPaneUI.resetPageBox(DesignerPaneUI.java:582)
      at com.sun.rave.designer.WebForm.modelRefreshed(WebForm.java:1484)
      at com.sun.rave.designer.WebForm.access$200(WebForm.java:85)
      at com.sun.rave.designer.WebForm$HtmlDomProviderListener.modelRefreshed(WebForm.java:1804)
      at com.sun.rave.designer.jsf.JsfForm.fireModelRefreshed(JsfForm.java:697)
      at com.sun.rave.designer.jsf.JsfForm.refreshModel(JsfForm.java:555)
      at com.sun.rave.designer.WebForm.refreshModel(WebForm.java:1444)
      at com.sun.rave.designer.action.RefreshAction.refresh(RefreshAction.java:71)
      at com.sun.rave.designer.action.RefreshAction.performAction(RefreshAction.java:65)
      at com.sun.rave.spi.designtime.idebridge.action.AbstractDesignBeanAction$DelegateAction.actionPerformed(AbstractDesignBeanAction.java:158)
      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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
      at java.awt.Component.processMouseEvent(Component.java:6038)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
      at org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:39)
      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)
      INFORMATIONAL *********** Exception occurred ************ at 8:07 PM
      on Nov 5, 2007
      java.lang.NullPointerException
      at org.ajax4jsf.application.AjaxViewHandler.writeState(AjaxViewHandler.java:131)
      at com.sun.rave.web.ui.renderer.FormRenderer.renderEnd(FormRenderer.java:177)
      at com.sun.rave.web.ui.renderer.AbstractRenderer.encodeEnd(AbstractRenderer.java:235)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
      [catch] at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1319)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1492)
      at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1306)
      at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1076)
      at com.sun.rave.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1614)
      at com.sun.rave.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1554)
      at com.sun.rave.designer.jsf.JsfForm.getHtmlDocumentFragment(JsfForm.java:429)
      at com.sun.rave.designer.jsf.DomSynchronizer.processRefresh(DomSynchronizer.java:1106)
      at com.sun.rave.designer.jsf.DomSynchronizer.processUpdates(DomSynchronizer.java:747)
      at com.sun.rave.designer.jsf.DomSynchronizer.run(DomSynchronizer.java:648)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      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)