Thanks for the feedback. If there's a jira please reopen it.
Beta3 is going out soon, hopefully I 'll have time to fix it on Monday 
or Tuesday to make that release.

Once the projectscheduling example is migrated, which uses 
BendableScore, these errors will be caught in our automated testing.

On 24-05-13 21:28, jonathan.labin wrote:
> I have switched to 6.0.0.beta2 and I am still receiving a similar error.
> While BendableScoreDefinition does now have a no-arg constructor, It seems
> that XStream is still upset that the constructor is not public.
>
>       ...
> Caused by: java.lang.IllegalArgumentException: The scoreDefinitionClass
> (class
> org.optaplanner.core.impl.score.buildin.bendable.BendableScoreDefinition)
> does not have a public no-arg constructor
>       at
> org.optaplanner.persistence.xstream.XStreamScoreConverter.<init>(XStreamScoreConverter.java:43)
>       ... 17 more
> Caused by: java.lang.IllegalAccessException: Class
> org.optaplanner.persistence.xstream.XStreamScoreConverter can not access a
> member of class
> org.optaplanner.core.impl.score.buildin.bendable.BendableScoreDefinition
> with modifiers "private"
>       at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
>       at java.lang.Class.newInstance0(Class.java:366)
>       at java.lang.Class.newInstance(Class.java:325)
>       at
> org.optaplanner.persistence.xstream.XStreamScoreConverter.<init>(XStreamScoreConverter.java:38)
>       ... 17 more
>
>
>
>
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Optaplanner-No-arg-constructor-for-BendableScoreDefinition-tp4023523p4023961.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to