Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-70

public members inherted from non-public classes are not valid references

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: PC
    • Bugzilla Id:
      8651

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jeff292@hotmail.com jeff292
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: