[seam-issues] [JBoss JIRA] (SEAMMAIL-32) Velocity tests broken on AS7 (Could not retrieve ServletContext from application attributes)

Cody Lerum (Closed) (JIRA) jira-events at lists.jboss.org
Wed Oct 26 11:05:45 EDT 2011


     [ https://issues.jboss.org/browse/SEAMMAIL-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cody Lerum closed SEAMMAIL-32.
------------------------------

      Assignee: Cody Lerum
    Resolution: Done


updating to velocity 1.7 fixed the issue
                
> Velocity tests broken on AS7 (Could not retrieve ServletContext from application attributes)
> --------------------------------------------------------------------------------------------
>
>                 Key: SEAMMAIL-32
>                 URL: https://issues.jboss.org/browse/SEAMMAIL-32
>             Project: Seam Mail
>          Issue Type: Bug
>    Affects Versions: 3.1.0.Beta4
>            Reporter: Marek Schmidt
>            Assignee: Cody Lerum
>             Fix For: 3.1.0.Beta5
>
>
> Velocity tests fail on jbossas-managed-7 profile
> see https://ci.jboss.org/jenkins/job/Seam-3.X-mail-CI-jbossas-managed-7/lastCompletedBuild/testReport/
> Caused by: org.apache.velocity.exception.VelocityException: Failed to initialize an instance of org.apache.velocity.runtime.log.ServletLogChute with the current runtime configuration.
> 	at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:206)
> 	at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
> 	at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
> 	at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
> 	at org.apache.velocity.runtime.RuntimeInstance.requireInitialization(RuntimeInstance.java:290)
> 	... 113 more
> Caused by: java.lang.UnsupportedOperationException: Could not retrieve ServletContext from application attributes
> 	at org.apache.velocity.runtime.log.ServletLogChute.init(ServletLogChute.java:73)
> 	at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
> 	... 117 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list