Hello,
we are using CMDBuild 2.03 version with CASAuthenticator feature without problems, but when we have tried to upgrade to version 2.1.2, CASAuthenticator doesn't work.
Here is the error trace:
java.lang.NullPointerException
org.cmdbuild.auth.DBUserFetcher.loginAttributeName(DBUserFetcher.java:233)
org.cmdbuild.auth.DBUserFetcher.fetchUserCard(DBUserFetcher.java:160)
org.cmdbuild.auth.DBUserFetcher.fetchUser(DBUserFetcher.java:52)
org.cmdbuild.auth.DefaultAuthenticationService.fetchUser(DefaultAuthenticationService.java:269)
org.cmdbuild.auth.DefaultAuthenticationService.fetchAuthenticatedUser(DefaultAuthenticationService.java:258)
org.cmdbuild.auth.DefaultAuthenticationService.authenticate(DefaultAuthenticationService.java:222)
org.cmdbuild.logic.auth.DefaultAuthenticationLogic.login(DefaultAuthenticationLogic.java:191)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
$Proxy717.login(Unknown Source)
org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:123)
org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:33)
org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:39)
Please, can you help us?
Thanks and kind regards.
Dear Miguel,
we verified this error and we are working on it. We'll provide a fix in the upcoming version that we'll release within some days.
Best regards.
-- Davide Pavan
Previously miguel wrote:
Hello,
we are using CMDBuild 2.03 version with CASAuthenticator feature without problems, but when we have tried to upgrade to version 2.1.2, CASAuthenticator doesn't work.
Here is the error trace:
java.lang.NullPointerException
org.cmdbuild.auth.DBUserFetcher.loginAttributeName(DBUserFetcher.java:233)
org.cmdbuild.auth.DBUserFetcher.fetchUserCard(DBUserFetcher.java:160)
org.cmdbuild.auth.DBUserFetcher.fetchUser(DBUserFetcher.java:52)
org.cmdbuild.auth.DefaultAuthenticationService.fetchUser(DefaultAuthenticationService.java:269)
org.cmdbuild.auth.DefaultAuthenticationService.fetchAuthenticatedUser(DefaultAuthenticationService.java:258)
org.cmdbuild.auth.DefaultAuthenticationService.authenticate(DefaultAuthenticationService.java:222)
org.cmdbuild.logic.auth.DefaultAuthenticationLogic.login(DefaultAuthenticationLogic.java:191)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
$Proxy717.login(Unknown Source)
org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:123)
org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:33)
org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:39)
Please, can you help us?
Thanks and kind regards.
Hello,
We have just released CMDBuild 2.1.3, that fixes this bug (and some others, see the changelog file)
CMDBuild Team