[hibernate-issues] [Hibernate-JIRA] Commented: (HV-27) Accessing Public Methods In A Default Access Superclass

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Jun 14 10:56:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27250 ] 

Emmanuel Bernard commented on HV-27:
------------------------------------

basically set Attribute to true even if it is true and swallow if it fails

> Accessing Public Methods In A Default Access Superclass
> -------------------------------------------------------
>
>                 Key: HV-27
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-27
>             Project: Hibernate Validator
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.0.0.ga
>         Environment: pure jdk 5.0
>            Reporter: Ilya Kharmatsky
>         Attachments: bugs.zip
>
>
> I'm not sure that this project is right place for this bug (probably better place is hibernate.annotations?), but since I've found the bug through hibernate.validator - I'm posting it here.
> In general, the problem is well-known and already resolved, for example here: http://jakarta.apache.org/commons/beanutils/apidocs/org/apache/commons/beanutils/MethodUtils.html
> When I'm using the hibernate.validator on the application level (through test cases) I'm getting following error:
> java.lang.IllegalStateException: Could not get property value
> 	at org.hibernate.validator.ClassValidator.getMemberValue(ClassValidator.java:537)
> 	at org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:383)
> 	at org.hibernate.validator.ClassValidator.getInvalidValues(ClassValidator.java:351)
> 	at bugs.HibenrateValidatorPackageAccessBug.testMyPojo2(HibenrateValidatorPackageAccessBug.java:47)
> Please see attached test case. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list