Share

RiverNorth

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Problem with Velocity template?

You are viewing a single message from this topic. View all messages.

  1. 2002-12-28 20:43:51 UTC
    FYI:

    Cool tool.

    I downloaded the latest CVS sources on Dec 27th

    In the generated struts-config I'm getting:
    <forward name="$forward.Name" path="$multi.applyUrlPattern($forward.Path)" redirect="$forward.isRedirect()">

    instead of the forwards I defined in the GUI.

    From velocity.log:
    <snip>
    2002-12-28 10:35:08,478 - ResourceManager : found struts-config.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
    2002-12-28 10:35:08,517 - Left side ($mapping.Forward.Path.length()) of '>' operation has null value. Operation not possible. struts-config.vm [line 115, column 67]
    2002-12-28 10:35:08,518 - Left side ($mapping.Include.Path.length()) of '>' operation has null value. Operation not possible. struts-config.vm [line 117, column 87]
    2002-12-28 10:35:08,519 - Left side ($mapping.Scope.length()) of '>' operation has null value. Operation not possible. struts-config.vm [line 121, column 74]
    2002-12-28 10:35:08,520 - Left side ($mapping.Attribute.length()) of '>' operation has null value. Operation not possible. struts-config.vm [line 127, column 80]
    2002-12-28 10:35:08,520 - Left side ($mapping.Prefix.length()) of '>' operation has null value. Operation not possible. struts-config.vm [line 129, column 80]
    2002-12-28 10:35:08,521 - Left side ($mapping.Suffix.length()) of '>' operation has null value. Operation not possible. struts-config.vm [line 131, column 74]
    2002-12-28 10:35:08,524 - org.apache.velocity.runtime.exception.ReferenceException: reference : template = struts-config.vm [line 144,column 24] : $forward.Name is not a valid reference.
    2002-12-28 10:35:08,528 - ASTMethod.execute() : exception from introspection : java.lang.NullPointerException
    2002-12-28 10:35:08,528 - org.apache.velocity.runtime.exception.ReferenceException: reference : template = struts-config.vm [line 144,column 45] : $multi.applyUrlPattern($forward.Path) is not a valid reference.
    2002-12-28 10:35:08,528 - org.apache.velocity.runtime.exception.ReferenceException: reference : template = struts-config.vm [line 144,column 94] : $forward.isRedirect() is not a valid reference.
    <snip>

    Rick
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.