[
https://issues.apache.org/jira/browse/VELOCITY-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479652
]
Claude Brisson commented on VELOCITY-527:
-----------------------------------------
Velocity 1.5 should now use a org.apache.velocity.exception.ParseErrorException
instead of the generic java.lang.Exception.
Are you sure there isn't some old velocity.jar hidden somewhere in a shared
classpath entry?
If it's really Velocity 1.5, could you please attach the full stacktrace ?
> Name of template truncated in error messages
> --------------------------------------------
>
> Key: VELOCITY-527
> URL: https://issues.apache.org/jira/browse/VELOCITY-527
> Project: Velocity
> Issue Type: Bug
> Affects Versions: 1.5
> Environment: Windows XP Pro SP2, JDK 1.5
> Reporter: Michael Giroux
>
> Following was posted to mailing list:
> On 3/9/07, Will Glass-Husain <[EMAIL PROTECTED]> wrote:
> > Ouch. Always hate that first bug report after a new release!
> >
> > Would you mind please creating a JIRA issue at:
> > http://issues.apache.org/jira
> >
> > On 3/9/07, Michael Giroux <[EMAIL PROTECTED]> wrote:
> > > I just upgraded to Velocity 1.5. A key feature for me is the new
> > > functionality to include filename, line and column in error messages.
> > > When I was testing this feature with a faulty template, I discovered
> > > that the filename is being truncated. In the error message below, the
> > > actual file name should be "business-service-interface.vm" It appears
> > > the parser truncated at the first "-".
> > >
> > >
> > > java.lang.Exception: Encountered "#else" at line 51, column 33 of business
> > > Was expecting one of: ...
> > >
> > >
> > > Michael:
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Forio Business Simulations
> >
> > Will Glass-Husain
> > [EMAIL PROTECTED]
> > www.forio.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]