Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2050

Enumerations: PropertyAccessException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 6.0.0.Final
    • Enumerations Editor
    • None

    Description

      I get PropertyAccessException on enumeration access: see at bottom

      getAllListingGroupNames is a public method.

      The jar file that contains that class is in .../WEB-INF/lib

      The class is public with the annotation @Stateless

      I get this error when I validate the enumeration file.

      The Guided Rule editor sees ListingGroupBean and allListingGroupNames as one of its fields, but is that because I have it uploaded to the artifact repository? Do you need to upload jars that are already in .../WEB-INF/lib?

      -----------------------------------------------------------------------------
      src/exception
      -----------------------------------------------------------------------------
      1. | 'ListingGroupxxx.name' : ['a','b','c']
      2. | 'ListingGroup.name' : (new
      com.xyz.mgmt.listing.ListingGroupBean()).getAllListingGroupNames()

      Unable to load enumeration data.

      [Error: unable to invoke method: getAllListingGroupNames] [Near :

      {... ng.ListingGroupBean()).getAllListingGroupNames() ] ....}

      ] ^ [Line: 2,
      Column: 74]

      Error type: org.mvel2.PropertyAccessException

      Attachments

        Activity

          People

            docmrc97 Mark Coble (Inactive)
            texasjjjjj_jira Stephen Johns (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: