Uploaded image for project: 'UGC'
  1. UGC
  2. UGC-54

NPE when posting and ad if responsible is not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.13.0
    • 2.5.1
    • None

      In the service configuration, responsible is not a mandatory field. But bf you don't set any ad responsible in the content proposal service, when posting an ad you get the following NPE :

       

      
      Caused by: java.lang.NullPointerExceptionCaused by: java.lang.NullPointerException at org.ametys.plugins.ugc.actions.ProposeContentAction._sendMail(ProposeContentAction.java:213) at org.ametys.plugins.ugc.actions.ProposeContentAction.act(ProposeContentAction.java:166) 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.process(ConcreteTreeProcessor.java:178) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) ... 76 more
      
      

       

       

       

            Unassigned Unassigned
            adelaide Adélaïde Palacios (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: