You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by US...@gea-wiegand.de on 2003/11/20 19:45:37 UTC

TorqueSecurity : getUserList - sorted




Hi all,

I try to get a sorted user list from TorqueSecurity using the following
code:

               ...
      Criteria crit = new Criteria();
      crit.addAscendingOrderByColumn(TurbineUserPeer.LOGIN_NAME);
      List users = TurbineSecurity.getUserList(new Criteria());
               ...


Trying this I get the following error:

java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at
org.apache.turbine.services.security.torque.UserPeerManager.doSelect(UserPeerManager.java:767)
      at
org.apache.turbine.services.security.torque.TorqueUserManager.retrieveList(TorqueUserManager.java:255)
      at
org.apache.turbine.services.security.BaseSecurityService.getUserList(BaseSecurityService.java:785)
      at
org.apache.turbine.services.security.TurbineSecurity.getUserList(TurbineSecurity.java:357)
      at
de.gea.wiegand.teben.modules.actions.progtab.SecurityAction.doSelectuser(SecurityAction.java:257)
               ......

This code has worked fine under turbine 2.2 but now ...
Did I miss something or has anybody an idea what´s going wrong or has had
the same problems (and found the solution ;-))

Any help is appreciated

thanks

/uwe



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org