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

A CVS directory in the folder of variants provokes an error

XMLWordPrintable

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

      How to reproduce :

      • in a model, insert a CVS folder in the folder of variants
      • in the BO, generate a new skin with this model
        > it provoques an error :
        Caused by: org.apache.cocoon.ProcessingException: The generation of skin failed
        	at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:144:82
        	at org.ametys.skinfactory.skins.GenerateSkinAction.act(GenerateSkinAction.java:113)
        	at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
        	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
        	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
        	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
        	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
        	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
        	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
        	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
        	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
        	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
        	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
        	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
        	at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
        	at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333)
        	... 62 more
        Caused by: java.lang.NullPointerException
        	at java.io.File.<init>(Unknown Source)
        	at org.ametys.skinfactory.parameters.VariantParameter.apply(VariantParameter.java:126)
        	at org.ametys.skinfactory.SkinFactoryComponent.applyParameter(SkinFactoryComponent.java:1064)
        	at org.ametys.skinfactory.SkinFactoryComponent.applyModelParameters(SkinFactoryComponent.java:987)
        	at org.ametys.skinfactory.SkinFactoryComponent.applyModelParameters(SkinFactoryComponent.java:934)
        	at org.ametys.skinfactory.skins.GenerateSkinAction.act(GenerateSkinAction.java:102)
        	... 83 more

            trizzi Thibaut Rizzi (Inactive)
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: