[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-929) NPE during user creation with Postgre

Boleslaw Dawidowicz (JIRA) jira-events at lists.jboss.org
Wed Mar 24 05:54:38 EDT 2010


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12521637#action_12521637 ] 

Boleslaw Dawidowicz commented on GTNPORTAL-929:
-----------------------------------------------

Actually I cannot reproduce manually anymore... it is quite odd as:

1) I change selenium tests pom to only run the "Test_SNF_PRL_33_SettingAccount" - the one with the same exception as here - and it is passing...
2) DB cleanup, server restart, pom set to run everything and the very first test "Test_SNF_PRL_33_SettingAccount" fails....
3) Shortly after I see the failed sign in in selenium UI I stop the tests (ctr+c) and open GTN on my own and I'm able to login with the same credentials that just failed for selenium (test_user_33/test_pwd_33)

There is other issue at the same time - this test removes the user in the last step but don't check if the operation went ok. It passes even when GTN shows error message in the UI - which looks as a separate bug actually . 

> NPE during user creation with Postgre
> -------------------------------------
>
>                 Key: GTNPORTAL-929
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-929
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.0.0-GA
>            Reporter: Prabhat Jha
>            Assignee: Boleslaw Dawidowicz
>
> Full log is at http://hudson.qa.jboss.com/hudson/view/EPP5/job/epp5_ui_selenium_tests_postgresql/14/consoleFull
> 07:12:56,483 INFO  [UserDAOImpl] Cannot authenticate user: test_user_02; 
> java.lang.NullPointerException
> 	at org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.validateCredential(HibernateIdentityStoreImpl.java:2175)
> 	at org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.validateCredential(WrapperIdentityStoreRepository.java:287)
> 	at org.picketlink.idm.impl.api.session.managers.AttributesManagerImpl.validatePassword(AttributesManagerImpl.java:364)
> 	at org.exoplatform.services.organization.idm.UserDAOImpl.authenticate(UserDAOImpl.java:265)
> 	at org.exoplatform.services.organization.auth.OrganizationAuthenticatorImpl.validateUser(OrganizationAuthenticatorImpl.java:131)
> 	at org.exoplatform.services.security.jaas.DefaultLoginModule.login(DefaultLoginModule.java:117)
> 	at sun.reflect.GeneratedMethodAccessor653.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

-- 
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 gatein-issues mailing list