4 Replies Latest reply on Mar 3, 2008 7:44 PM by Nick Belaevski

    click to left side of list shuttle results in Transaction is

    x y Newbie

      List shuttle renders fine but double clicking on left side results in the following:

      (Note: OrganizationHome, ListShuttle.js, ProductConverter, and log output follows up.)

      SQL Error: 0, SQLState: null
      00:28:16,672 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:20d status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:20d status: ActionStatus.ABORT_ONLY >)
      00:28:16,680 WARN [lifecycle] executePhase(UPDATE_MODEL_VALUES 4,com.sun.faces.context.FacesContextImpl@8ff451) threw exception
      java.lang.NullPointerException
      at org.richfaces.component.UIOrderingBaseComponent.updateModel(UIOrderingBaseComponent.java:458)
      at org.richfaces.component.UIListShuttle.updateModel(UIListShuttle.java:499)

      ================
      package com.karel.dp.session;

      import java.util.ArrayList;
      import java.util.List;
      import java.util.Set;
      import java.util.Stack;

      import javax.ejb.Remove;
      import javax.ejb.Stateful;

      import org.jboss.seam.annotations.Begin;
      import org.jboss.seam.annotations.Destroy;
      import org.jboss.seam.annotations.In;
      import org.jboss.seam.annotations.Logger;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.web.RequestParameter;
      import org.jboss.seam.framework.EntityHome;
      import org.jboss.seam.log.Log;

      import com.karel.dp.entity.Category;
      import com.karel.dp.entity.Named;
      import com.karel.dp.entity.Organization;
      import com.karel.dp.entity.Product;

      @Stateful
      @Name("organizationHome")
      public class OrganizationHome extends EntityHome implements LocalOrganizationHome
      {
      @In(required=false)
      CountryHome countryHome;

      @RequestParameter
      Long organizationId;

      @Logger
      Log log;

      private Category ellipsis = null;

      private List productSourceList = new ArrayList();
      private List productTargetList = new ArrayList();
      private Set productSourceSelection = null;

      private Stack history = new Stack();

      // private List sourceList = new ArrayList();
      // private List targetList = new ArrayList();

      public List getProductSourceList()
      {
      log.info("++++++++++++++++++++ OH:gpsl1 ");

      if (productSourceSelection != null)
      {
      log.info("***** OH:gpsl2 " + productSourceSelection.toArray()[0]);
      }

      if (productSourceList == null)
      {
      log.info("@@@@@@@@@@ SOURCE LIST IS NULL");
      }
      try
      {
      // Category selected = (Category) getProductSourceSelection().toArray()[0];
      /*
      if (selected.getName().equals(".."))
      {
      history.pop();
      // Category c = history.peek();
      }
      else
      {
      Category c = history.peek();

      if (c.getId() != selected.getId())
      {
      history.push(selected);
      }
      }
      */
      // refreshSource();
      }
      catch (Exception e)
      {
      e.printStackTrace();
      }

      // refreshSource();
      return productSourceList;
      }

      public void setProductSourceList(List productSourceList)
      {
      log.info("++++++++++++++++++++ OH:spsl ");
      this.productSourceList = productSourceList;
      }

      public List getProductTargetList()
      {
      log.info("++++++++++++++++++++ OH:gptl ");
      return productTargetList;
      }

      public void setProductTargetList(List productTargetList)
      {
      log.info("++++++++++++++++++++ OH:sptl ");
      this.productTargetList = productTargetList;
      }

      @Override
      public Object getId()
      {
      log.info("++++++++++++++++++++ OH:getid ");

      if (organizationId==null)
      {
      return super.getId();
      }
      else
      {
      return organizationId;
      }
      }

      private void refreshSource()
      {
      log.info("++++++++++++++++++++ OH:refresh source");

      productSourceList.clear();

      log.info("***** OH:refresh source #1");

      Category c;

      if (history.size() > 1)
      {
      // productSourceList.add(ellipsis);
      }

      c = history.peek(); //getEntityManager().find(Category.class, new Long(16));
      // history.push(c);

      if (c == null)
      {
      log.info("C IS NULL");
      }
      else
      {
      log.info("C " + c.getId());
      }
      log.info("***** OH:refresh source #2");

      List categorySourceList_ = getEntityManager().createQuery("from Category where parent.id = " + c.getId())
      .getResultList();

      log.info("***** OH:refresh source #3");

      for (Category g: categorySourceList_)
      {
      productSourceList.add(g);
      }

      log.info("***** OH:refresh source #4");
      //

      if (getInstance().getProductList() != null)
      {
      for (Product p: getInstance().getProductList())
      {
      if (!productTargetList.contains(p))
      {
      productTargetList.add(p);
      }
      }
      }

      log.info("***** OH:refresh source #5");

      List productSourceList_ = getEntityManager().createQuery("from Product where category.id = " + c.getId())
      .getResultList();

      for (Product p: productSourceList_)
      {
      if (!productTargetList.contains(p))
      {
      productSourceList.add(p);
      }
      }

      log.info("***** OH:refresh source #6");
      }

      @Override @Begin(join=true)
      public void create()
      {
      super.create();
      log.info("++++++++++++++++++++ OH:CREATE");
      // if (currentCategory == null)
      // {
      // currentCategory = getEntityManager().find(Category.class, new Long(16));
      // ellipsis = getEntityManager().find(Category.class, new Long(-1));

      Category c = getEntityManager().find(Category.class, new Long(20));
      history.push(c);
      // }
      refreshSource();
      }

      @Override
      public String persist()
      {
      String s = super.persist();
      countryHome.getInstance().getOrganizationList().add(getInstance());
      persistProductList();
      return s;
      }

      @Override
      public String update()
      {
      persistProductList();
      return super.update();
      }

      private void persistProductList()
      {
      if (getInstance().getProductList() == null)
      {
      getInstance().setProductList(new ArrayList());
      }
      else
      {
      getInstance().getProductList().clear();
      }

      for (Named n: productTargetList)
      {
      Product p = (Product) n;
      getEntityManager().merge(p);
      getInstance().getProductList().add(p);
      }
      }

      @Override
      public boolean isManaged()
      {
      log.info("++++++++++++++++++++ OH:ismanaged ");
      return super.isManaged();
      }

      @Override
      public Organization getInstance()
      {
      log.info("++++++++++++++++++++ OH:getinstance ");
      return super.getInstance();
      }

      @Override
      public String remove()
      {
      log.info("++++++++++++++++++++ OH:remove ");
      return super.remove();
      }

      @Destroy
      @Remove
      public void destroy() { log.info("++++++++++++++++++++ OH:destroy "); }

      public Set getProductSourceSelection()
      {
      log.info("++++++++++++++++++++ OH:gpss");

      log.info("***** OH:1: " + productSourceSelection);

      log.info("***** OH:2: " + productSourceList);


      if ((productSourceSelection != null) && (productSourceSelection.size() == 1))
      {
      Named n = (Named) productSourceSelection.toArray()[0];
      log.info("***** OH:ss " + n);
      }

      return productSourceSelection;
      }

      public void setProductSourceSelection(Set productSourceSelection)
      {
      log.info("++++++++++++++++++++ OH:spss ");

      if (productSourceSelection != null)
      {
      Named n = (Named) productSourceSelection.toArray()[0];
      log.info("***** OH:pss " + n);

      if (n.getName().equals(".."))
      {
      history.pop();
      // Category c = history.peek();
      }
      else
      {
      Category c = history.peek();

      // if (c.getId() != n.getId())
      // {
      if (n instanceof Category)
      {
      history.push((Category)n);
      log.info("********** PUSHED " + n.getName());
      }
      else
      {
      log.info("********** NOT PUSHED " + n.getName());

      }
      // }
      }
      }

      this.productSourceSelection = productSourceSelection;

      refreshSource();
      }

      }
      =====================
      moveItemByClick: function(event, sourceComponent, targetComponent, layoutManager) {
      var item = this.sourceList.getEventTargetRow(event);
      var value = item.cells.item(0).lastChild.value.split(":")[1];

      if (value.substring(0, 1) == '+')
      {
      this.controlListManager();
      this.sourceList.saveState();
      }
      else
      {
      this.moveItem(sourceComponent, targetComponent, item);
      this.controlListManager();
      this.targetList.controlListManager();
      this.saveState();
      this.targetLayoutManager.widthSynchronization();
      this.sourceLayoutManager.widthSynchronization();
      $(this.containerId).fire("rich:onlistchanged", {});
      }
      }
      =======================
      package com.karel.dp.converter;

      import javax.faces.component.UIComponent;
      import javax.faces.context.FacesContext;
      import javax.persistence.EntityManager;

      import org.jboss.seam.Component;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.Transactional;
      import org.jboss.seam.annotations.faces.Converter;
      import org.jboss.seam.annotations.intercept.BypassInterceptors;

      import com.karel.dp.entity.Category;
      import com.karel.dp.entity.Named;
      import com.karel.dp.entity.Organization;
      import com.karel.dp.entity.Product;

      @Name("productConverter")
      @BypassInterceptors
      @Converter
      public class ProductConverter implements javax.faces.convert.Converter
      {
      @Transactional
      public Object getAsObject(FacesContext context, UIComponent component, String value)
      {
      EntityManager entityManager = (EntityManager) Component.getInstance("entityManager");
      entityManager.joinTransaction();

      Long id = Long.valueOf(value.substring(value.indexOf(":") + 1));

      Named o = null;
      if (value.startsWith("+"))
      {
      if (value.equals("+.."))
      {
      o = new Category();
      o.setName("..");
      o.setId(new Long(-1));
      }
      else
      {
      o = entityManager.find(Category.class, id);
      }
      }
      else
      {
      o = entityManager.find(Product.class, id);
      }

      System.out.println("PCGAO:" + o);

      return o;
      }

      public String getAsString(FacesContext context, UIComponent component, Object value)
      {
      if (value == null)
      {
      return "+..";
      }
      else
      {
      Named n = (Named) value;
      String s = n.getName() + ":" + n.getId();

      if (value instanceof Category)
      {
      s = "+" + s.toUpperCase();
      }

      System.out.println("PCGAS:" + s);
      return s;
      }
      }
      }
      =====================
      21:16:42,571 INFO [STDOUT] PCGAO:MS26 PBX!
      21:16:42,573 INFO [STDOUT] PCGAO:accessory2
      21:16:42,573 INFO [STDOUT] PCGAO:MS48 PBX
      21:16:42,576 INFO [STDOUT] PCGAO:accessory1
      21:16:42,582 INFO [OrganizationHome] ++++++++++++++++++++ OH:gpsl1
      21:16:42,604 INFO [OrganizationHome] ++++++++++++++++++++ OH:gptl
      21:16:42,620 INFO [OrganizationHome] ++++++++++++++++++++ OH:gpsl1
      21:16:42,665 INFO [OrganizationHome] ++++++++++++++++++++ OH:gptl
      21:16:42,692 INFO [OrganizationHome] ++++++++++++++++++++ OH:gpsl1
      21:16:42,707 INFO [OrganizationHome] ++++++++++++++++++++ OH:gptl
      21:16:42,729 INFO [OrganizationHome] ++++++++++++++++++++ OH:ismanaged
      21:16:42,729 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,731 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,749 INFO [OrganizationHome] ++++++++++++++++++++ OH:ismanaged
      21:16:42,749 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,751 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,787 INFO [OrganizationHome] ++++++++++++++++++++ OH:ismanaged
      21:16:42,787 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,789 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,863 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,885 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,947 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:42,982 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,013 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,034 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,094 INFO [OrganizationHome] ++++++++++++++++++++ OH:ismanaged
      21:16:43,095 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,096 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,114 INFO [OrganizationHome] ++++++++++++++++++++ OH:ismanaged
      21:16:43,114 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,116 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,162 INFO [OrganizationHome] ++++++++++++++++++++ OH:ismanaged
      21:16:43,162 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,164 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,197 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,229 INFO [OrganizationHome] ++++++++++++++++++++ OH:getinstance
      21:16:43,260 INFO [STDOUT] ########## UPDATE MODEL com.sun.faces.context.FacesContextImpl@a9693e
      21:16:43,261 INFO [STDOUT] ########## UPDATE CMD org.richfaces.component.UIListShuttle$2@3c8cc4
      21:16:43,261 INFO [STDOUT] ########## UPDATE MODEL com.sun.faces.context.FacesContextImpl@a9693e
      21:16:43,262 INFO [STDOUT] ########## UPDATE CMD org.richfaces.component.UIListShuttle$3@3d9b0e
      21:16:43,267 INFO [OrganizationHome] ++++++++++++++++++++ OH:spss
      21:16:43,355 INFO [STDOUT] ########## UPDATE MODEL com.sun.faces.context.FacesContextImpl@a9693e
      21:16:43,356 INFO [STDOUT] ########## UPDATE CMD org.richfaces.component.UIListShuttle$1@a46d83
      21:16:43,364 INFO [STDOUT] ########## UPDATE MODEL com.sun.faces.context.FacesContextImpl@a9693e
      21:16:43,365 INFO [STDOUT] ########## UPDATE CMD org.richfaces.component.UIListShuttle$4@11e37c
      21:16:43,534 INFO [OrganizationHome] ++++++++++++++++++++ OH:CREATE
      21:16:43,535 INFO [OrganizationHome] ++++++++++++++++++++ OH:refresh source
      21:16:43,535 INFO [OrganizationHome] ***** OH:refresh source #1
      21:16:43,536 INFO [OrganizationHome] C 20
      21:16:43,536 INFO [OrganizationHome] ***** OH:refresh source #2
      21:16:43,543 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
      21:16:43,544 ERROR [JDBCExceptionReporter] Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:626 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:626 status: ActionStatus.ABORT_ONLY >)
      21:16:43,547 INFO [STDOUT] ########## SHIT HAPPENED
      21:16:43,548 ERROR [STDERR] javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.GenericJDBCException: Cannot open connection
      21:16:43,549 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
      21:16:43,549 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130)
      21:16:43,550 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
      21:16:43,550 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,550 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
      21:16:43,550 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,550 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
      21:16:43,550 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,550 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      21:16:43,551 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
      21:16:43,551 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,551 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      21:16:43,551 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,551 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      21:16:43,551 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,551 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
      21:16:43,551 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
      21:16:43,552 ERROR [STDERR] at $Proxy557.create(Unknown Source)
      21:16:43,552 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:16:43,552 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:16:43,552 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:16:43,552 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      21:16:43,553 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
      21:16:43,554 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_6.create(Object_$$_javassist_6.java)
      21:16:43,554 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:16:43,554 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:16:43,554 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:16:43,554 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      21:16:43,554 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      21:16:43,554 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
      21:16:43,555 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:2074)
      21:16:43,555 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1997)
      21:16:43,555 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1968)
      21:16:43,555 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1865)
      21:16:43,555 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1832)
      21:16:43,555 ERROR [STDERR] at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
      21:16:43,556 ERROR [STDERR] at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
      21:16:43,556 ERROR [STDERR] at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
      21:16:43,556 ERROR [STDERR] at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
      21:16:43,556 ERROR [STDERR] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
      21:16:43,556 ERROR [STDERR] at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
      21:16:43,557 ERROR [STDERR] at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
      21:16:43,557 ERROR [STDERR] at org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
      21:16:43,557 ERROR [STDERR] at org.jboss.el.parser.AstValue.setValue(AstValue.java:83)
      21:16:43,557 ERROR [STDERR] at org.jboss.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:249)
      21:16:43,557 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
      21:16:43,557 ERROR [STDERR] at javax.faces.component.ValueBindingValueExpressionAdapter.setValue(ValueBindingValueExpressionAdapter.java:141)
      21:16:43,557 ERROR [STDERR] at org.richfaces.component.UIListShuttle$4.execute(UIListShuttle.java:429)
      21:16:43,558 ERROR [STDERR] at org.richfaces.component.UIOrderingBaseComponent.updateModel(UIOrderingBaseComponent.java:431)
      21:16:43,558 ERROR [STDERR] at org.richfaces.component.UIListShuttle.updateModel(UIListShuttle.java:499)
      21:16:43,558 ERROR [STDERR] at org.richfaces.component.UIOrderingBaseComponent.processUpdates(UIOrderingBaseComponent.java:404)
      21:16:43,558 ERROR [STDERR] at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      21:16:43,558 ERROR [STDERR] at org.richfaces.component.UISwitchablePanel.processUpdates(UISwitchablePanel.java:191)
      21:16:43,558 ERROR [STDERR] at javax.faces.component.UIForm.processUpdates(UIForm.java:255)
      21:16:43,559 ERROR [STDERR] at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      21:16:43,559 ERROR [STDERR] at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:706)
      21:16:43,559 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.access$101(AjaxViewRoot.java:57)
      21:16:43,559 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:291)
      21:16:43,559 ERROR [STDERR] at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
      21:16:43,560 ERROR [STDERR] at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:170)
      21:16:43,560 ERROR [STDERR] at org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:305)
      21:16:43,560 ERROR [STDERR] at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
      21:16:43,560 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      21:16:43,560 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      21:16:43,560 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      21:16:43,561 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      21:16:43,561 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      21:16:43,561 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      21:16:43,561 ERROR [STDERR] at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      21:16:43,561 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      21:16:43,561 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
      21:16:43,561 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      21:16:43,562 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      21:16:43,562 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      21:16:43,562 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      21:16:43,562 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      21:16:43,562 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      21:16:43,562 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      21:16:43,562 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      21:16:43,563 ERROR [STDERR] at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      21:16:43,563 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      21:16:43,563 ERROR [STDERR] at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      21:16:43,563 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      21:16:43,563 ERROR [STDERR] at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      21:16:43,564 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      21:16:43,564 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      21:16:43,564 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      21:16:43,564 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      21:16:43,565 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      21:16:43,565 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      21:16:43,565 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      21:16:43,565 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      21:16:43,565 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      21:16:43,565 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      21:16:43,565 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      21:16:43,566 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      21:16:43,566 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      21:16:43,566 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      21:16:43,566 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      21:16:43,566 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      21:16:43,566 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      21:16:43,566 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      21:16:43,567 ERROR [STDERR] at java.lang.Thread.run(Thread.java:613)
      21:16:43,568 ERROR [STDERR] Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
      21:16:43,568 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
      21:16:43,569 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
      21:16:43,569 ERROR [STDERR] at com.karel.dp.session.OrganizationHome.refreshSource(OrganizationHome.java:154)
      21:16:43,569 ERROR [STDERR] at com.karel.dp.session.OrganizationHome.create(OrganizationHome.java:206)
      21:16:43,569 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      21:16:43,569 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      21:16:43,569 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:16:43,570 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      21:16:43,570 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      21:16:43,570 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      21:16:43,570 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
      21:16:43,570 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      21:16:43,570 ERROR [STDERR] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
      21:16:43,571 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,571 ERROR [STDERR] at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
      21:16:43,571 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,571 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
      21:16:43,571 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,571 ERROR [STDERR] at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:56)
      21:16:43,572 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,572 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
      21:16:43,572 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,572 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
      21:16:43,572 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,573 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
      21:16:43,573 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      21:16:43,573 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
      21:16:43,573 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
      21:16:43,573 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
      21:16:43,573 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      21:16:43,573 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      21:16:43,573 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
      21:16:43,573 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      21:16:43,573 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,573 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
      21:16:43,575 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,575 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      21:16:43,576 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,576 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      21:16:43,576 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      21:16:43,576 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
      21:16:43,576 ERROR [STDERR] ... 108 more
      21:16:43,600 ERROR [STDERR] Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
      21:16:43,600 ERROR [STDERR] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
      21:16:43,600 ERROR [STDERR] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
      21:16:43,600 ERROR [STDERR] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      21:16:43,600 ERROR [STDERR] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
      21:16:43,601 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
      21:16:43,601 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
      21:16:43,601 ERROR [STDERR] at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.Loader.doQuery(Loader.java:673)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.Loader.doList(Loader.java:2220)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.Loader.list(Loader.java:2099)
      21:16:43,601 ERROR [STDERR] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
      21:16:43,601 ERROR [STDERR] at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
      21:16:43,601 ERROR [STDERR] at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
      21:16:43,601 ERROR [STDERR] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
      21:16:43,602 ERROR [STDERR] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
      21:16:43,602 ERROR [STDERR] at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
      21:16:43,602 ERROR [STDERR] ... 147 more
      21:16:43,602 ERROR [STDERR] Caused by: org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:626 status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:626 status: ActionStatus.ABORT_ONLY >)
      21:16:43,602 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
      21:16:43,602 ERROR [STDERR] at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
      21:16:43,602 ERROR [STDERR] at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
      21:16:43,602 ERROR [STDERR] ... 161 more
      21:16:43,603 ERROR [STDERR] Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57ff9c:e817:47c80caf:626 status: ActionStatus.ABORT_ONLY >
      21:16:43,603 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:304)
      21:16:43,603 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
      21:16:43,603 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
      21:16:43,603 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
      21:16:43,603 ERROR [STDERR] ... 163 more
      21:16:43,616 WARN [lifecycle] executePhase(UPDATE_MODEL_VALUES 4,com.sun.faces.context.FacesContextImpl@a9693e) threw exception
      java.lang.NullPointerException
      at org.richfaces.component.UIOrderingBaseComponent.updateModel(UIOrderingBaseComponent.java:466)
      at org.richfaces.component.UIListShuttle.updateModel(UIListShuttle.java:499)
      at org.richfaces.component.UIOrderingBaseComponent.processUpdates(UIOrderingBaseComponent.java:404)
      at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      at org.richfaces.component.UISwitchablePanel.processUpdates(UISwitchablePanel.java:191)
      at javax.faces.component.UIForm.processUpdates(UIForm.java:255)
      at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:706)
      at org.ajax4jsf.component.AjaxViewRoot.access$101(AjaxViewRoot.java:57)
      at org.ajax4jsf.component.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:291)
      at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
      at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:170)
      at org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:305)
      at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:613)
      21:16:43,713 ERROR [ExceptionFilter] handling uncaught exception
      javax.servlet.ServletException
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:613)
      Caused by: java.lang.NullPointerException
      at org.richfaces.component.UIOrderingBaseComponent.updateModel(UIOrderingBaseComponent.java:466)
      at org.richfaces.component.UIListShuttle.updateModel(UIListShuttle.java:499)
      at org.richfaces.component.UIOrderingBaseComponent.processUpdates(UIOrderingBaseComponent.java:404)
      at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      at org.richfaces.component.UISwitchablePanel.processUpdates(UISwitchablePanel.java:191)
      at javax.faces.component.UIForm.processUpdates(UIForm.java:255)
      at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:706)
      at org.ajax4jsf.component.AjaxViewRoot.access$101(AjaxViewRoot.java:57)
      at org.ajax4jsf.component.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:291)
      at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
      at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:170)
      at org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:305)
      at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      ... 38 more
      21:16:43,715 ERROR [ExceptionFilter] exception root cause
      java.lang.NullPointerException
      at org.richfaces.component.UIOrderingBaseComponent.updateModel(UIOrderingBaseComponent.java:466)
      at org.richfaces.component.UIListShuttle.updateModel(UIListShuttle.java:499)
      at org.richfaces.component.UIOrderingBaseComponent.processUpdates(UIOrderingBaseComponent.java:404)
      at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      at org.richfaces.component.UISwitchablePanel.processUpdates(UISwitchablePanel.java:191)
      at javax.faces.component.UIForm.processUpdates(UIForm.java:255)
      at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1056)
      at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:706)
      at org.ajax4jsf.component.AjaxViewRoot.access$101(AjaxViewRoot.java:57)
      at org.ajax4jsf.component.AjaxViewRoot$2.invokeRoot(AjaxViewRoot.java:291)
      at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
      at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:170)
      at org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:305)
      at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
      at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
      at java.lang.Thread.run(Thread.java:613)
      21:16:45,274 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
      21:16:45,284 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
      21:16:45,298 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
      21:16:45,307 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      21:16:45,317 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      21:16:45,342 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      21:16:45,351 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      21:16:45,367 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      21:16:45,427 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
      21:16:45,438 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
      21:16:45,450 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
      21:16:45,509 ERROR [STDERR] Mar 1, 2008 9:16:45 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/Users/ali/Java/jboss-4.2.2.GA/server/default/deploy/kareldp-ear.ear/kareldp.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml