VelocityView : Error processing a template for path '/pilot'

Invocation of method 'replace' in class java.lang.String threw exception java.lang.NullPointerException at include_set_endURL.vm[line 2, column 25]
java.lang.NullPointerException