Uploaded image for project: 'Page Subscription'
  1. Page Subscription
  2. PAGESUB-35

NPE when opening subscriptions by group

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.21.0
    • None
    • None
    • 4.10 M2
    • Oui

      When open tool to define subscription for group there is a NPE

      java.lang.NullPointerException
          at java.base/java.util.Objects.requireNonNull(Objects.java:233)
          at java.base/java.util.ImmutableCollections$Map1.<init>(ImmutableCollections.java:1112)
          at java.base/java.util.Map.of(Map.java:1365)
          at org.ametys.plugins.pagesubscription.type.TagSubscriptionType.getAdditionalFilterExpression(TagSubscriptionType.java:146)
          at org.ametys.plugins.pagesubscription.type.TagSubscriptionType.getAdditionalFilterExpression(TagSubscriptionType.java:46)
          at org.ametys.plugins.pagesubscription.type.AbstractSubscriptionType.getSubscriptionsExpressions(AbstractSubscriptionType.java:710)
          at org.ametys.plugins.pagesubscription.type.AbstractSubscriptionType.getGroupsSubscriptions(AbstractSubscriptionType.java:618)
          at org.ametys.plugins.pagesubscription.type.AbstractSubscriptionType.getGroupsSubscriptions(AbstractSubscriptionType.java:603)
          at org.ametys.plugins.pagesubscription.dao.ForceTagSubscriptionsDAO.getForceGroupSubscriptions(ForceTagSubscriptionsDAO.java:156)
      

            lbouchet Loïc Bouchet
            laurence Laurence Aumeunier
            Loïc Bouchet Loïc Bouchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: