[Anthill-pro] AHP3 notification failures with changelog
Jason Dillon
jason at planet57.com
Wed Nov 29 14:01:15 CST 2006
Well, if that was not the problem... then what is? The logs show
nothing else... and the failure notifications don't ever make it to
my inbox.
How can I tell what the real failure was then?
--jason
On Nov 29, 2006, at 8:30 AM, Eric Minick wrote:
> I would assume that this doesn't actually fail the notification, it
> looks like just a warning. The strange thing is that if the rest of
> the header information is intact, Velocity is claiming that the
> getStartDate() method on the header has gone missing or is
> returning null. That's pretty strange.
>
> You could get rid of the problem by removing the following from the
> snippet.
> <tr>
> <td>Start Date:</td>
> <td>$changeLog.header.startDate</td>
> </tr>
>
> The obvious place where this would be a bug is if the system was
> not setting the start date. I would expect that we would have hit
> that ourselves internally since we're also on Subversion. Is anyone
> else hitting this kind of problem?
>
> I'll file it as an issue for now.
>
> -- Eric
>
> Jason Dillon wrote:
>
>> Hi folks, I am still seeing notification failures when a buildlife
>> is created with a change log. The notification fails with:
>>
>> <snip>
>> 523170066 WARN 86 0 0 -
>> org.apache.velocity.runtime.exception.ReferenceException:
>> reference : template = null [line 137,column 15] :
>> $changeLog.header.startDate is not a valid reference.
>> </snip>
>>
>> The full log for the task is:
>>
>> <snip>
>> 523168083 INFO 86 0 0 -
>> **************************************************************
>> 523168083 INFO 86 0 0 - Starting Jakarta Velocity v1.4
>> 523168083 INFO 86 0 0 - RuntimeInstance initializing.
>> 523168083 INFO 86 0 0 - Default Properties File: org/apache/
>> velocity/ runtime/defaults/velocity.properties
>> 523168083 INFO 86 0 0 - Trying to use logger class
>> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
>> 523168083 INFO 86 0 0 - Using logger class
>> org.apache.velocity.runtime.log.SimpleLog4JLogSystem
>> 523168084 INFO 86 0 0 - Default ResourceManager initializing.
>> (class org.apache.velocity.runtime.resource.ResourceManagerImpl)
>> 523168084 INFO 86 0 0 - Resource Loader Instantiated:
>> org.apache.velocity.runtime.resource.loader.FileResourceLoader
>> 523168084 INFO 86 0 0 - FileResourceLoader : initialization
>> starting.
>> 523168084 INFO 86 0 0 - FileResourceLoader : adding path '.'
>> 523168084 INFO 86 0 0 - FileResourceLoader : initialization
>> complete.
>> 523168084 INFO 86 0 0 - ResourceCache : initialized. (class
>> org.apache.velocity.runtime.resource.ResourceCacheImpl)
>> 523168084 INFO 86 0 0 - Default ResourceManager initialization
>> complete.
>> 523168085 INFO 86 0 0 - Loaded System Directive:
>> org.apache.velocity.runtime.directive.Literal
>> 523168085 INFO 86 0 0 - Loaded System Directive:
>> org.apache.velocity.runtime.directive.Macro
>> 523168085 INFO 86 0 0 - Loaded System Directive:
>> org.apache.velocity.runtime.directive.Parse
>> 523168085 INFO 86 0 0 - Loaded System Directive:
>> org.apache.velocity.runtime.directive.Include
>> 523168085 INFO 86 0 0 - Loaded System Directive:
>> org.apache.velocity.runtime.directive.Foreach
>> 523168089 INFO 86 0 0 - Created: 20 parsers.
>> 523168089 INFO 86 0 0 - Velocimacro : initialization starting.
>> 523168089 INFO 86 0 0 - Velocimacro : allowInline = true : VMs
>> can be defined inline in templates
>> 523168089 INFO 86 0 0 - Velocimacro : allowInlineToOverride =
>> false : VMs defined inline may NOT replace previous VM definitions
>> 523168089 INFO 86 0 0 - Velocimacro : allowInlineLocal = false :
>> VMs defined inline will be global in scope if allowed.
>> 523168089 INFO 86 0 0 - Velocimacro : messages on : VM system
>> will output logging messages
>> 523168090 INFO 86 0 0 - Velocimacro : autoload off : VM system
>> will not automatically reload global library macros
>> 523168090 INFO 86 0 0 - Velocimacro : initialization complete.
>> 523168090 INFO 86 0 0 - Velocity successfully started.
>> 523170066 WARN 86 0 0 -
>> org.apache.velocity.runtime.exception.ReferenceException:
>> reference : template = null [line 137,column 15] :
>> $changeLog.header.startDate is not a valid reference.
>> </snip>
>>
>> I get this from the default "Simple Workflow Email Template
>> (changelog)" template that ships with AHP3.
>>
>> How can I fix this?
>>
>> --jason
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
More information about the Anthill-pro
mailing list