[jboss-jira] [JBoss JIRA] (JBRULES-3498) SolutionDescriptor does not support write-only properties (no getter) or when Solution class has indexed properties
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Wed May 9 10:33:18 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12691426#comment-12691426 ]
Geoffrey De Smet commented on JBRULES-3498:
-------------------------------------------
I 've cherry-picked the fix to 5.4.x.
It's unclear at the moment if will make 5.4.0.Final or not (in which case it will make 5.4.1.Final). That's Toni's call (and this bug doesn't warrant release delay).
So let's hope it makes it :)
> SolutionDescriptor does not support write-only properties (no getter) or when Solution class has indexed properties
> -------------------------------------------------------------------------------------------------------------------
>
> Key: JBRULES-3498
> URL: https://issues.jboss.org/browse/JBRULES-3498
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-planner
> Affects Versions: 5.4.0.CR1
> Reporter: Thorben Bochenek
> Assignee: Geoffrey De Smet
> Fix For: 5.5.0.Beta1
>
>
> When the Solution Class has IndexedProperties like "public Day getDay (int dayIndex)" the method processPropertyAnnotations() in SolutionDescriptor will get a NullPointerException on line 71, because for an IndexedPropertyDescriptor getReadMethod() will return null.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list