You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/04/30 13:32:35 UTC

DO NOT REPLY [Bug 8651] New: - Error "is not a valid reference"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8651>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8651

Error "is not a valid reference"

           Summary: Error "is not a valid reference"
           Product: Velocity
           Version: 1.0-Release
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Build
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: jeff292@hotmail.com


Hi there,
I encountered a problem with Velocity when invoking inherited methods of a Java 
class. I get the 
error "org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = screens/Details.vm [line 48,column 1] : $class.getFullName() is not 
a valid reference" if I want to invoke the "FullName" method of the "class" 
object. This method is inherited from a superior class. If I call a method 
defined directly in this class, everything works fine. If I obtain the name of 
the "class" object, I get the correct name.
It would be nice, if anyone could help me on this.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>