[
https://issues.jboss.org/browse/DROOLS-2050?page=com.atlassian.jira.plugi...
]
Michael Anstis moved GUVNOR-2077 to DROOLS-2050:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-2050 (was: GUVNOR-2077)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Enumerations Editor
(was: Enumerations)
Affects Version/s: 6.0.0.Final
(was: drools-6.0.0.Final)
Enumerations: PropertyAccessException
-------------------------------------
Key: DROOLS-2050
URL:
https://issues.jboss.org/browse/DROOLS-2050
Project: Drools
Issue Type: Bug
Components: Enumerations Editor
Affects Versions: 6.0.0.Final
Environment: CentOS 6.4
JBoss 7.2.0 Final
Reporter: Stephen Johns
Assignee: Mark Coble
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
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)