Uploaded image for project: 'appNG'
  1. appNG
  2. APPNG-2259

Possible NPE in LdapService.getMembersOfGroup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.19.1, 1.21.0, 1.20.3
    • Component/s: appng-core
    • Labels:
      None

      Description

      This happens when the desired LDAP Attribute is null.

      InitializerService:  Error while loading application appng-authentication.
      java.lang.NullPointerException
      	at org.appng.core.service.LdapService.getMembersOfGroup(LdapService.java:319)
      	at org.appng.core.service.CoreService.getApplicationSubjects(CoreService.java:1793)
      	at org.appng.core.service.CoreService$$FastClassBySpringCGLIB$$4bccbf8c.invoke(<generated>)
      	at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      	at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
      	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
      	at org.appng.core.service.CoreService$$EnhancerBySpringCGLIB$$30bf7f23.getApplicationSubjects(<generated>)
      	at org.appng.core.service.InitializerService.loadSite(InitializerService.java:736)
      	at org.appng.core.service.InitializerService.loadPlatform(InitializerService.java:299)
      	at org.appng.core.service.InitializerService.initPlatform(InitializerService.java:170)

        Attachments

          Activity

            People

            • Assignee:
              mueller.matthias Matthias Müller
              Reporter:
              mueller.matthias Matthias Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: