2 Replies Latest reply on Aug 27, 2010 1:46 AM by Akshay Jain

    big time trouble with inputNumberSpinner

    Akshay Jain Newbie

      I am having a big time trouble with inputNumberSpinner. Below is the code i am using

       

      <rich:inputNumberSpinner value="#{nodeFlowBean.nodeVo.latDeg }" cycled="true" enableManualInput="true" inputSize="1"
                                                      maxValue="90" minValue="00" id="latDeg"/>

       

      and when i navigate to this page below is the error i get:

       

      Caused by: javax.el.PropertyNotFoundException: //G:/Eclipse/java_workspace/NetWorks/WebSources/flows/node/addNode.jspx @56,54 value="#{nodeFlowBean.nodeVo.latDeg }": Target Unreachable, 'nodeVo' returned null
           at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)
           at org.ajax4jsf.util.SelectUtils.getConverterForProperty(SelectUtils.java:294)
           at org.richfaces.renderkit.InputRendererBase.getInputValue(InputRendererBase.java:65)
           at org.richfaces.renderkit.html.InputNumberSpinnerRenderer.doEncodeEnd(InputNumberSpinnerRenderer.java:243)
           at org.richfaces.renderkit.html.InputNumberSpinnerRenderer.doEncodeEnd(InputNumberSpinnerRenderer.java:378)
           at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:134)
           at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
           at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:281)
           at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
           at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:279)
           at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
           at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:200)
           at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:195)
           at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
           at org.richfaces.renderkit.html.LayoutRenderer.renderLayout(LayoutRenderer.java:62)
           at org.richfaces.renderkit.html.LayoutRenderer.doEncodeChildren(LayoutRenderer.java:45)
           at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
           at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)
           at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)
           at org.richfaces.renderkit.html.PageRenderer.doEncodeChildren(PageRenderer.java:265)
           at org.richfaces.renderkit.html.PageRenderer.doEncodeChildren(PageRenderer.java:254)
           at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
           at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
           at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
           at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:594)
           at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
           at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
           at org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:99)
           at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

       

       

      I have double checked all the getters and setters on nodeFlowBean, nodeVo and latDeg. They are all fine but it still is not working. Please help its urgent