Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null pointer exception durign Ldap profile test #635

Open
maniac777 opened this issue Jan 7, 2022 · 0 comments
Open

Null pointer exception durign Ldap profile test #635

maniac777 opened this issue Jan 7, 2022 · 0 comments

Comments

@maniac777
Copy link

Describe the bug
When click button "Ldap Profile test" I receive an error and application logs null pointer exception during domain configuration load.

2022-01-07T13:42:46Z, DEBUG, ldap.UserInfoReader, {FQVGF,default,rafal.ramocki} completed user password status check for cn=pwm-test,ou=Service Accounts,ou=Users,dc=eo,dc=pl PasswordStatus.PasswordStatusBuilder(expired=false, preExpired=false, violatesPolicy=false, warnPeriod=false) (53ms) [83.3.89.93] 2022-01-07T13:42:46Z, ERROR, servlet.AbstractPwmServlet, {FQVGF,default,rafal.ramocki} unexpected error during action handler for 'password.pwm.http.servlet.configeditor.ConfigEditorServlet:Optional[ldapHealthCheck]', error: null [83.3.89.93] (stacktrace follows) java.lang.NullPointerException at password.pwm.svc.cr.CrService.readUserResponseInfo(CrService.java:410) at password.pwm.ldap.UserInfoReader.getResponseInfoBean(UserInfoReader.java:605) at jdk.internal.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at password.pwm.util.java.CachingProxyWrapper$ProxyInstance.invoke(CachingProxyWrapper.java:84) at com.sun.proxy.$Proxy15.getResponseInfoBean(Unknown Source) at password.pwm.health.LDAPHealthChecker.doLdapTestUserCheck(LDAPHealthChecker.java:403) at password.pwm.health.LDAPHealthChecker.healthForNewConfiguration(LDAPHealthChecker.java:1266) at password.pwm.http.servlet.configeditor.ConfigEditorServlet.restLdapHealthCheck(ConfigEditorServlet.java:626) at jdk.internal.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at password.pwm.http.servlet.ControlledPwmServlet.dispatchMethod(ControlledPwmServlet.java:93) at password.pwm.http.servlet.ControlledPwmServlet.processAction(ControlledPwmServlet.java:134) at password.pwm.http.servlet.AbstractPwmServlet.handleRequest(AbstractPwmServlet.java:127)

To Reproduce
Not sure. I have two instances of PWM one configured for LDAP and one for AD. Both have the same problem. Major non-default change is that both have changed context by parameter "-context ldap" and "-context ad". Both are the same code base but almost all configuration is different.

Expected behavior
Actual error information not null pointer.

Desktop (please complete the following information):

  • OS: Linux
  • Browser Chrome
  • Version 96.0.4664.110

Additional context
Both instances on the same configuration form have problem with downloading certificate from LDAP. Same error message but no exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant