Hi everybody,
I just stumpled over a problem when sending an order confirmation.
A simple HTML template with a web link to an image:
<div>
<div>TEST</div>
<a href="#">
<img
src="https://ofbizdomain/images/ofbiz_logo.png"
style="display: block; max-height:98px;
max-width:98px;" alt="" max-height="98" border="0" max-width="98">
</a>
</div>
The above template fires an error (image url from ofbiz domain):
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
The below template is send without errors (image url from external domain):
<div>
<div>TEST</div>
<a href="#">
<img
src="https://ofbiz.apache.org/images/ofbiz_logo.png"
style="display: block; max-height:98px;
max-width:98px;" alt="" max-height="98" border="0" max-width="98">
</a>
</div>
Both image urls are valid. Can someone give me a hint on how to proceed. The
stack trace does not help very much.
I am working in trunk.
Best regards,
Ingo