[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-2179) ClassCastException on user search result and page navigation

Boleslaw Dawidowicz (JIRA) jira-events at lists.jboss.org
Fri Sep 26 10:03:21 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBPORTAL-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boleslaw Dawidowicz resolved JBPORTAL-2179.
-------------------------------------------

    Resolution: Done


fixed

> ClassCastException on user search result and page navigation
> ------------------------------------------------------------
>
>                 Key: JBPORTAL-2179
>                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2179
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Core Admin, Portal Identity
>    Affects Versions: 2.6.6 Final
>         Environment: JBoss Portal with LDAP 
>            Reporter: Martin Putz
>            Assignee: Boleslaw Dawidowicz
>             Fix For: 2.6.7 Final
>
>
> When I search users with a search pattern which matches more than 10 users I get a list with the first 10 users and an arrow below the list.
> That's correct. But when I click the arrow the following exception can be found in the server.log:
> 2008-09-25 10:32:26,506 ERROR [org.jboss.portal.core.identity.ui.admin.UserAdministrationBean]
> java.lang.ClassCastException: javax.naming.directory.SearchResult
> at org.jboss.portal.core.identity.ui.common.IdentityUserBean.findUsersFilteredByUserName(IdentityUserBean.java:160)
> at org.jboss.portal.core.identity.ui.admin.UserAdministrationBean.searchUsers(UserAdministrationBean.java:246)
> at org.jboss.portal.core.identity.ui.admin.UserAdministrationBean.nextPage(UserAdministrationBean.java:390)
> 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:585)
> at com.sun.el.parser.AstValue.invoke(AstValue.java:130)
> at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)
> at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
> at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
> ........
> Using DB login module works fine in the same scenario.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list