An error occurred while processing the template.
Invocation of method 'get' in  class com.liferay.portal.kernel.util.UnmodifiableList threw exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at velocity-templates-theme_SERVLET_CONTEXT_/templates/products/product-dynamic-template.vm[line 35, column 197]
1#set( $velocity_templates_path ="velocity-templates-theme_SERVLET_CONTEXT_/templates") 
2#parse("$velocity_templates_path/products/product-dynamic-template.vm")