Uploaded image for project: 'Skin factory'
  1. Skin factory
  2. SKINFACTORY-74

Admin skins screen : error not displayed to user

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.0
    • None
    • None

      I start an empty project with no skin.
      I import an artisteer skin in the admin skin screen.
      The skin screen is still empty with no error messages.

      When I watch for logs I have this:

      Can not determine the list of skins available
      Can not dispatch request '0' : 'skinfactory' '/skins/list.xml' '{}'
      
      java.lang.NullPointerException
      	at org.ametys.skinfactory.model.SkinModelsManager.getModels(SkinModelsManager.java:112)
      	at org.ametys.skinfactory.skins.SkinsAndModelsGenerator._saxModels(SkinsAndModelsGenerator.java:69)
      
      AND 
      
      Caused by: java.lang.NullPointerException
      	at org.ametys.skinfactory.skins.SkinsAndModelsGenerator._saxModels(SkinsAndModelsGenerator.java:70)
      	at org.ametys.skinfactory.skins.SkinsAndModelsGenerator.generate(SkinsAndModelsGenerator.java:56)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
      	... 55 more
      

          [SKINFACTORY-74] Admin skins screen : error not displayed to user

          This issue was about the fact that an error did not came up to the user. Not about the NPE itself (that is another ticket)

          Raphaël Franchet added a comment - This issue was about the fact that an error did not came up to the user. Not about the NPE itself (that is another ticket)

            laurence Laurence Aumeunier
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: