5 Replies Latest reply on Oct 16, 2007 6:03 AM by Pete Muir

    El Exception in Seam V2 cr2

    Lee Hualiang Newbie

      El Exception in Seam V2 cr2:

      @Name("searchQueryView")
      class SearchQueryView{
       private LabelSystems labelSystems;
      
       public LabelSystems getLabelSystems(){
       return labelSystems;
       }
      
       public void test(){
       ......
       }
      }
      

      when I first entry page 'selectQueryView.xhtml' ,no Exceptin occur,
      then, if the link :
      <h:commandLink value="test" action="#{searchQueryView.test}"><f aram value="#{sv.autoId}" name="deleteAutoId"/></h:commandLink>
      
      was click, following exception occur
      javax.el.PropertyNotFoundException: /main/resourceQueryView/selectQueryView.xhtml @42,32 value="#{searchQueryView.labelSystems.name}": Target Unreachable, 'labelSystems' returned null on 'org.javassist.tmp.java.lang.Object_$$_javassist_6'
      


      my env is:
      jboss 4.2.1 + seam V2 cr2