Jadon Hansell created VELTOOLS-211:
--------------------------------------

             Summary: org.apache.velocity.tools.ClassUtils#getClass(String) 
fails when the context class loader is null
                 Key: VELTOOLS-211
                 URL: https://issues.apache.org/jira/browse/VELTOOLS-211
             Project: Velocity Tools
          Issue Type: Bug
            Reporter: Jadon Hansell


org.apache.velocity.tools.ClassUtils#getClass(String) (and other methods using 
getThreadContextLoader() in this class) throws a NullPointerException when the 
current thread's context class loader is null.

[Link to related 
line|https://github.com/apache/velocity-tools/blob/712cfbd26b2d1a423712aba6a5cae3b8b973912e/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java#L96]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to