Openmeetings
  1. Openmeetings
  2. OPENMEETINGS-114

With trunk svn 1307221: LDAP authentication fails because user can't be imported into local DB

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      SVN revision: 1307221

      Description

      LDAP user is correctly authentified, his presonnal info retrieved from LDAP but then when trying to import it to DB, an exception occurs in Usermanagement.java: addUser() method

      ERROR 03-30 18:31:18.475 Usermanagement.java 446564 1131 org.openmeetings.app.data.user.Usermanagement [NioProcessor-2] - [registerUser]
      java.lang.NullPointerException: null
      at org.openmeetings.app.data.user.Usermanagement.addUser(Usermanagement.java:1125) [openmeetings-2.0.0-SNAPSHOT.jar:na]
      at org.openmeetings.app.data.user.Usermanagement.registerUserInit(Usermanagement.java:1001) [openmeetings-2.0.0-SNAPSHOT.jar:na]
      at org.openmeetings.app.data.user.Usermanagement$$FastClassByCGLIB$$f76e8fdc.invoke(<generated>) [cglib-jar-2.2.2.jar:na]
      at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [cglib-jar-2.2.2.jar:na]
      at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688) [org.springframework.aop-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [org.springframework.aop-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [org.springframework.transaction-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621) [org.springframework.aop-jar-3.0.6.RELEASE.jar:3.0.6.RELEASE]
      at org.openmeetings.app.data.user.Usermanagement$$EnhancerByCGLIB$$3e03183a.registerUserInit(<generated>) [cglib-jar-2.2.2.jar:na]
      at org.openmeetings.app.ldap.LdapLoginManagement.createUserFromLdapData(LdapLoginManagement.java:677) [openmeetings-2.0.0-SNAPSHOT.jar:na]
      at org.openmeetings.app.ldap.LdapLoginManagement.doLdapLogin(LdapLoginManagement.java:492) [openmeetings-2.0.0-SNAPSHOT.jar:na]
      at org.openmeetings.app.remote.MainService.loginUser(MainService.java:365) [openmeetings-2.0.0-SNAPSHOT.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26]
      at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26]
      at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:198) [red5.jar:na]
      at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:159) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:401) [red5.jar:na]
      at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:133) [red5.jar:na]
      at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:206) [red5.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) [mina-core-2.0.4.jar:na]
      at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) [red5.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) [mina-core-2.0.4.jar:na]
      at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141) [mina-core-2.0.4.jar:na]
      at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) [mina-core-2.0.4.jar:na]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_26]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_26]
      at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]

        Activity

        Hide
        Thibault Le Meur added a comment -

        This is fixed in 1308428.
        Thanks Sebastian

        Show
        Thibault Le Meur added a comment - This is fixed in 1308428. Thanks Sebastian
        Hide
        Maxim Solodovnik added a comment -

        Closing all old 'Resolved' issues

        Show
        Maxim Solodovnik added a comment - Closing all old 'Resolved' issues

          People

          • Assignee:
            Maxim Solodovnik
            Reporter:
            Thibault Le Meur
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development