org.mule.api.DefaultMuleException: The Context Property for key "vtn" cannot have a null value

MuleSoft JIRA | Guillermo Fernandes | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When a context-property for the xslt-transfomer has a null value, {code}org.mule.module.xml.transformer.XsltTransformer{code} is not handling it therefore setting a null parameter to {code}javax.xml.transform.Transformer#setParameter{code} and it is supported to set null values so an NPE is thrown. *Instead the XsltTransformer should handle this and throw a MuleException with the proper message.* {code} ERROR 2016-03-01 17:29:18,161 [[xslunittest].connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : The Context Property for key "vtn" cannot have a null value Type : org.mule.api.DefaultMuleException Code : MULE_ERROR-11 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/DefaultMuleException.html ******************************************************************************** Exception stack is: 1. The Context Property for key "vtn" cannot have a null value (org.mule.api.DefaultMuleException) org.mule.module.xml.transformer.XsltTransformer:242 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/DefaultMuleException.html) ******************************************************************************** Root Exception stack trace: org.mule.api.DefaultMuleException: The Context Property for key "vtn" cannot have a null value at org.mule.module.xml.transformer.XsltTransformer.doTransform(XsltTransformer.java:242) {code}

    MuleSoft JIRA | 1 year ago | Guillermo Fernandes
    org.mule.api.DefaultMuleException: The Context Property for key "vtn" cannot have a null value
  2. 0

    When a context-property for the xslt-transfomer has a null value, {code}org.mule.module.xml.transformer.XsltTransformer{code} is not handling it therefore setting a null parameter to {code}javax.xml.transform.Transformer#setParameter{code} and it is supported to set null values so an NPE is thrown. *Instead the XsltTransformer should handle this and throw a MuleException with the proper message.* {code} ERROR 2016-03-01 17:29:18,161 [[xslunittest].connector.http.mule.default.receiver.02] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : The Context Property for key "vtn" cannot have a null value Type : org.mule.api.DefaultMuleException Code : MULE_ERROR-11 JavaDoc : http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/DefaultMuleException.html ******************************************************************************** Exception stack is: 1. The Context Property for key "vtn" cannot have a null value (org.mule.api.DefaultMuleException) org.mule.module.xml.transformer.XsltTransformer:242 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/DefaultMuleException.html) ******************************************************************************** Root Exception stack trace: org.mule.api.DefaultMuleException: The Context Property for key "vtn" cannot have a null value at org.mule.module.xml.transformer.XsltTransformer.doTransform(XsltTransformer.java:242) {code}

    MuleSoft JIRA | 1 year ago | Guillermo Fernandes
    org.mule.api.DefaultMuleException: The Context Property for key "vtn" cannot have a null value

    Root Cause Analysis

    1. org.mule.api.DefaultMuleException

      The Context Property for key "vtn" cannot have a null value

      at org.mule.module.xml.transformer.XsltTransformer.doTransform()
    2. XML Extensions
      XsltTransformer.doTransform
      1. org.mule.module.xml.transformer.XsltTransformer.doTransform(XsltTransformer.java:242)
      1 frame