Uploaded image for project: 'Blog'
  1. Blog
  2. BLOG-41

Blog site was not initialized caused by a NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.1.0
    • None
    • None

      • Create a new blog
        => Blog seems to be created with no error
      • Go to BO
        => There is only the home page and profile page automatically created with no content nor service

      In logs :

      Category: org.ametys.cms.observation.ObservationManager
      Message:  Unable to dispatch event: event[sitemap.added, '/ametys-internal:sites/blog/ametys-internal:sitemaps/fr' (sitemap://90ec1355-dea9-43db-99c7-8dbc268685b7)] to observers
      Location:	org.ametys.runtime.util.SLF4JLogger.error(SLF4JLogger.java:64)
      Thrown:
      java.lang.NullPointerException
      	at org.ametys.plugins.repository.AmetysObjectResolver.resolveById(AmetysObjectResolver.java:226)
      	at org.ametys.plugins.blog.InitializeBlogSiteObserver.createProfileContent(InitializeBlogSiteObserver.java:545)
      	at org.ametys.plugins.blog.InitializeBlogSiteObserver.initializeProfileDefaultZone(InitializeBlogSiteObserver.java:421)
      	at org.ametys.plugins.blog.InitializeBlogSiteObserver.initializeProfilePage(InitializeBlogSiteObserver.java:383)
      	at org.ametys.plugins.blog.InitializeBlogSiteObserver.initializeSitemap(InitializeBlogSiteObserver.java:186)
      	at org.ametys.plugins.blog.InitializeBlogSiteObserver.observe(InitializeBlogSiteObserver.java:151)
      	at org.ametys.cms.observation.ObservationManager.notify(ObservationManager.java:110)
      	at org.ametys.web.site.ConfigureSiteAction.act(ConfigureSiteAction.java:96)
      

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

              Created:
              Updated:
              Resolved: