5 Replies Latest reply on Dec 17, 2008 11:57 AM by Tim

    pickList NullPointerException

    Tim Newbie

      hi there,

      i got some issues with a picklist. im using richfaces 3.2.2. SR1 and tomcat 5.5.27.
      the values of the picklist are shown correctly in the available selectlist on the left and i can select them, too.

      but as soon as i hit the copy button, i get the following stacktrace.
      and ive got no clou how to solve this.

      any hints, answers or solutions appreciated.


      thanks in advance, tim.



      javax.servlet.ServletException
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
       at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
       at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at com.filter.SecurityFilter.doFilter(SecurityFilter.java:47)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:619)
      16.12.2008 13:29:57 org.ajax4jsf.webapp.BaseXMLFilter doXmlFilter
      SCHWERWIEGEND: Exception in the filter chain
      javax.servlet.ServletException
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
       at sun.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
       at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
       at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
       at sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at com.filter.SecurityFilter.doFilter(SecurityFilter.java:47)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:619)
      16.12.2008 13:29:57 org.apache.catalina.core.StandardWrapperValve invoke
      SCHWERWIEGEND: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
       at javax.faces.component.UISelectMany.matchValue(UISelectMany.java:508)
       at javax.faces.component.UISelectMany.validateValue(UISelectMany.java:466)
       at javax.faces.component.UIInput.validate(UIInput.java:875)
       at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)
       at javax.faces.component.UIInput.processValidators(UIInput.java:672)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
       at org.richfaces.component.UISwitchablePanel.processValidators(UISwitchablePanel.java:236)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
       at javax.faces.component.UIForm.processValidators(UIForm.java:235)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
       at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:439)
       at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:238)
       at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:455)
       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
       at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
       at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
       at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at com.filter.SecurityFilter.doFilter(SecurityFilter.java:47)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:619)
      16.12.2008 13:29:57 org.apache.catalina.core.StandardWrapperValve invoke
      SCHWERWIEGEND: Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
       at javax.faces.component.UISelectMany.matchValue(UISelectMany.java:508)
       at javax.faces.component.UISelectMany.validateValue(UISelectMany.java:466)
       at javax.faces.component.UIInput.validate(UIInput.java:875)
       at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)
       at javax.faces.component.UIInput.processValidators(UIInput.java:672)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
       at org.richfaces.component.UISwitchablePanel.processValidators(UISwitchablePanel.java:236)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
       at javax.faces.component.UIForm.processValidators(UIForm.java:235)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1058)
       at org.ajax4jsf.component.AjaxViewRoot$3.invokeContextCallback(AjaxViewRoot.java:439)
       at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:238)
       at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:455)
       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
       at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
       at sun.reflect.GeneratedMethodAccessor271.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
       at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
       at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
       at sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at com.filter.SecurityFilter.doFilter(SecurityFilter.java:47)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:52)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:619)
      



      and here my code

      .xhtml
      <rich:pickList value="#{userBean.pickListResult}" id="orgUnitPickList"
       sourceListWidth="250" targetListWidth="250" listsHeight="400"
       style="cursor:pointer" converter="#{userBean.pickListConverter}">
       <f:selectItems value="#{userBean.selectOrgUnits}" />
       </rich:pickList>


      converter
      public class PickListConverter implements Converter {
      
       private HashMap<String, OrganizationalUnit> map;
      
       public PickListConverter(List<OrganizationalUnit> objects) {
       map = new HashMap<String, OrganizationalUnit>();
       if (objects != null) {
       for (OrganizationalUnit orgUnit : objects) {
       map.put(orgUnit.getFullName(), orgUnit);
       }
       }
       }
      
       @Override
       public Object getAsObject(FacesContext ctx, UIComponent comp, String str) {
       return map.get(str);
       }
      
       @Override
       public String getAsString(FacesContext ctx, UIComponent comp, Object obj) {
       if (obj instanceof OrganizationalUnit)
       return ((OrganizationalUnit) obj).getFullName();
       return null;
       }
      }
      


      bean
       private PickListConverter pickListConverter;
       private ArrayList<OrganizationalUnit> pickListResult;
      
       public void setPickListConverter(PickListConverter pickListConverter) {
       this.pickListConverter = pickListConverter;
       }
      
       public PickListConverter getPickListConverter() {
       if (pickListConverter == null)
       pickListConverter = new PickListConverter(getPickListResult());
       return pickListConverter;
       }
       public void setPickListResult(
       ArrayList<OrganizationalUnit> pickListResult) {
       this.pickListResult = pickListResult;
       }
      
       public ArrayList<OrganizationalUnit> getPickListResult() {
       if (pickListResult == null) {
       pickListResult = new ArrayList<OrganizationalUnit>();
       pickListResult.addAll(memberOfGroups);
       }
       return pickListResult;
       }
      }