Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7752

NPE in logs when renaming a folder of a page attachment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M12
    • None
    • None
    • None

      Category:	org.ametys.web.cache.InvalidateCacheOnResourceUpdateObserver
      Message:		Exception while trying to handle explorer event + event[id: collection.renamed, issuer: UserIdentity [login=admin, population=ametys_demo_users], args: [object.name = Documents, object.old.path = /ametys-internal:sites/www/ametys-internal:sitemaps/fr/fonctionnalites-avancees/pieces-jointes/ametys-internal:attachments/Nouveau dossier, explorer.old.path = /Nouveau dossier, object.old.name = Nouveau dossier, explorer.path = /Nouveau dossier, object.parent = resources-collection://94de363c-8c3b-4201-90cd-01dd9b67b836, object.id = resources-collection://b6ec9d01-5457-41cd-9add-445cb99be892, object.path = /ametys-internal:sites/www/ametys-internal:sitemaps/fr/fonctionnalites-avancees/pieces-jointes/ametys-internal:attachments/Documents]]
      Location:	org.ametys.web.cache.InvalidateCacheOnResourceUpdateObserver.observe(InvalidateCacheOnResourceUpdateObserver.java:86)
      Thrown:
      java.lang.NullPointerException
      	at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
      	at java.util.regex.Matcher.reset(Matcher.java:309)
      	at java.util.regex.Matcher.<init>(Matcher.java:229)
      	at java.util.regex.Pattern.matcher(Pattern.java:1093)
      	at org.ametys.web.cache.InvalidateCacheOnResourceUpdateObserver._invalidate(InvalidateCacheOnResourceUpdateObserver.java:93)
      	at org.ametys.web.cache.InvalidateCacheOnResourceUpdateObserver.observe(InvalidateCacheOnResourceUpdateObserver.java:81)
      	at org.ametys.core.observation.ObservationManager._observesEvent(ObservationManager.java:202)
      	at org.ametys.core.observation.ObservationManager.notify(ObservationManager.java:146)
      	at org.ametys.plugins.explorer.resources.actions.ExplorerResourcesDAO.renameObject(ExplorerResourcesDAO.java:534)
      	at org.ametys.plugins.explorer.resources.actions.ExplorerResourcesDAO.renameObject(ExplorerResourcesDAO.java:441)
      

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: