------------------------------------------------------------------------------- Test set: com.tradecloud.service.transporter.TransporterContainerServiceImplTest ------------------------------------------------------------------------------- Tests run: 16, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.452 s <<< FAILURE! -- in com.tradecloud.service.transporter.TransporterContainerServiceImplTest com.tradecloud.service.transporter.TransporterContainerServiceImplTest.getTemplatePerInvoice -- Time elapsed: 0.241 s <<< ERROR! java.lang.NullPointerException: Cannot invoke "com.tradecloud.domain.party.base.Address.getAddressLine1()" because "oAdrs" is null at com.tradecloud.service.transporter.TransporterContainerServiceImplTest.getTemplatePerInvoice(TransporterContainerServiceImplTest.java:403) com.tradecloud.service.transporter.TransporterContainerServiceImplTest.getTemplate -- Time elapsed: 0.100 s <<< ERROR! java.lang.RuntimeException: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> split.orgUnit [in template "split_invoice_template.html" at line 161, column 27] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${split.orgUnit} [in template "split_invoice_template.html" at line 161, column 25] ---- at com.tradecloud.service.transporter.TransporterContainerServiceImplTest.getTemplate(TransporterContainerServiceImplTest.java:362) Caused by: freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> split.orgUnit [in template "split_invoice_template.html" at line 161, column 27] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${split.orgUnit} [in template "split_invoice_template.html" at line 161, column 25] ---- at com.tradecloud.service.transporter.TransporterContainerServiceImplTest.getTemplate(TransporterContainerServiceImplTest.java:362)