1 Reply Latest reply on Jul 21, 2007 2:55 PM by Jason Long

    How to clear the FacesMessage

    Thiagu Mariappan Novice

      Hai every one
      i am using jboss-seam-2.0.0.BETA1 , and i convert my jboss-seam-1.2.1.GA code into new version.
      here i always getting this Exception and pop up aler "view state could't be restore - reload page " . i don't how to clear the face message at every event , Please help me...........


      
      16:07:32,718 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
      sourceId=null[severity=(INFO 0), summary=(Welcome, thiagu), detail=(Welcome, thiagu)]
      16:07:46,218 INFO [STDOUT] Hibernate: select tblproduct0_.PRODUCT_ID as PRODUCT1_4_, tblproduct0_.PRODUCT_SHORT_DESCRIPTION as PRODUCT2_4_, tblproduct0_.PRODUCT_NAME as PRODUCT3_4_, tblproduct0_.SI_RATING as SI4_4_, tblproduct0_.PRODUCT_RELEASE_DATE as PRODUCT5_4_, tblproduct0_.SUBCATEGORY_ID as SUBCATEG6_4_, tblproduct0_.CATEGORY_ID as CATEGORY8_4_, tblproduct0_.BRAND_ID as BRAND7_4_ from appdsi.TBL_PRODUCTS tblproduct0_
      16:07:46,859 INFO [STDOUT] Hibernate: select tblsubcate0_.SUBCATEGORY_ID as SUBCATEG1_6_1_, tblsubcate0_.SUBCATEGORY_NAME as SUBCATEG2_6_1_, tblsubcate0_.CATEGORY_ID as CATEGORY3_6_1_, tblcategor1_.CATEGORY_ID as CATEGORY1_1_0_, tblcategor1_.CATEGORY_NAME as CATEGORY2_1_0_ from appdsi.TBL_SUBCATEGORY tblsubcate0_ left outer join appdsi.TBL_CATEGORY tblcategor1_ on tblsubcate0_.CATEGORY_ID=tblcategor1_.CATEGORY_ID where tblsubcate0_.SUBCATEGORY_ID=?
      16:07:47,468 INFO [STDOUT] Hibernate: select tblbrand0_.BRAND_ID as BRAND1_0_0_, tblbrand0_.BRAND_NAME as BRAND2_0_0_ from appdsi.TBL_BRAND tblbrand0_ where tblbrand0_.BRAND_ID=?
      16:08:31,000 INFO [Contexts] starting up: org.jboss.seam.security.identity
      16:08:31,000 INFO [Contexts] starting up: org.jboss.seam.web.session
      16:08:31,000 WARN [lifecycle] executePhase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@9acfd6) threw exception
      java.lang.IllegalArgumentException: Stack must not be null
       at org.jboss.seam.core.ConversationEntry.<init>(ConversationEntry.java:39)
       at org.jboss.seam.core.ConversationEntries.createConversationEntry(ConversationEntries.java:53)
       at org.jboss.seam.core.Manager.createConversationEntry(Manager.java:510)
       at org.jboss.seam.core.Manager.beforeRedirect(Manager.java:651)
       at org.jboss.seam.faces.FacesManager.beforeRedirect(FacesManager.java:63)


      By

      Thiagu.m