1 Reply Latest reply on Dec 6, 2010 2:05 AM by csenes csenes

    No Long-running conversation exist (issue)

    csenes csenes Newbie

      I cannot fix this problem, when redirect happen ,I meet this debug page like this why did this happen and how can I fix it?? please help me


      first, this class of codes run




      @Stateful
      @Scope(ScopeType.CONVERSATION)
      @Name("Wzrd")
      public class WzrdBean implements Wzrd {
      
      //bla bla bla
      
      
      @Restrict("#{s:hasPermission('dataBasePermissionCheck','DOKUMAN_YONETIM_DOKUMAN_SIHIRBAZ_BUTONU_GORME')}")
           @End(beforeRedirect = true)
           public String wzrd() { 
      
      //blaa lbalbalba
      
      






      after, this class of code run







      package bla.bla.bla
      import bla blb lba;
      
      @Scope(ScopeType.CONVERSATION)
      @Name("dokumanList")
      public class DokumanList extends EntityQuery<Dokuman> {
      
           /**
            * 
            */
           @In
           protected StatusMessages statusMessages;
      
           @In(create = true, required = false)
           @Out(required = false)
           DokumanYonetimPanelBean panelBean;
          
           HibernatePersistenceProvider apr=new HibernatePersistenceProvider();
           
      
           @In(required = false, scope = ScopeType.SESSION)
           @Out(required = false, scope = ScopeType.SESSION)
           public String menuSelect;
      
           @In(required = false, create = true)
           @Out(required = false)
           DokumanYonetimPanel dokpanel = new DokumanYonetimPanelBean();
      
           private static final long serialVersionUID = 1L;
      
           private static final String EJBQL = "select dokuman from Dokuman dokuman";
      
           private static final String[] RESTRICTIONS = {
                     bla,bla,bla };
      
           private Dokuman dokuman = new Dokuman();
           private Evrak evrak = new Evrak();
           private EvrakTipi evrakTipi = new EvrakTipi();;
           private DokumanGelisTipi gelistipi = new DokumanGelisTipi();
           
           @In(required=false,create=true)
           @Out(required=false)
           private List<Dokuman> tempList = null;
      
           @In EntityManager entityManager;
           
           private String gonderNo;
           private String baslik;
      
           private String kurumAdi;
           private Date buTarihtenOnce;
           private Date buTarihtenSonra;
           private int logic;
           private boolean renderet;
           private Integer hangisi;
           private boolean isReset;
      
           
           public DokumanList() {
                setEjbql(EJBQL);
                setRestrictionExpressionStrings(Arrays.asList(RESTRICTIONS));
                setMaxResults(200);
                setLogic(1);
                setHangisi(null);
                setRenderet(false);
                isReset = false;
           
           }
      
           public Dokuman getDokuman() {
                return dokuman;
           }
           @Begin(join=true)
           public List<Dokuman> specFind() {
      
           //bla 
      //bla
      //bla
           }
      
           public void renderEt() {
                setRenderet(true);
           }
      
           public boolean reset() {
                dokuman = new Dokuman();
                evrak = new Evrak();
                evrakTipi = new EvrakTipi();
                gelistipi = new DokumanGelisTipi();
                this.setHangisi(null);
                this.setBaslik(null);
                this.setBuTarihtenOnce(null);
                this.setBuTarihtenSonra(null);
                this.setKurumAdi(null);
                this.setGonderNo(null);
                isReset = true;
                setLogic(1);
                this.renderet = false;
                return isReset;
           }
      
           public void fixLogicOperator() {
                if (logic == 1) {
                     setRestrictionLogicOperator("and");
                } else {
                     setRestrictionLogicOperator("or");
                }
           }
           @Begin(join=true,nested=true)
           @Override
           public List<Dokuman> getResultList() {
                if (tempList == null || tempList.isEmpty() || apr.isDirty(entityManager)) {
                     refresh();
                     tempList = super.getResultList();
                }
                return tempList;
           }
      
      
           public Date getBuTarihtenOnce() {
                try {
      
                     return buTarihtenOnce;
      
                } catch (Exception ex) {
                     ex.printStackTrace();
                     statusMessages.add(StatusMessage.Severity.ERROR, ex.getMessage());
      
                }
                return null;
           }
      
      
           @SuppressWarnings("unused")
           @Remove
           @Destroy
           private void clean() {
                this.reset();
           }
      
      
           
      }