Results 1 to 2 of 2

Thread: Concurrent problem with BeanWrapperImpl.getPropertyValue in 3.1

  1. #1
    Join Date
    Jan 2012
    Posts
    2

    Exclamation Concurrent problem with BeanWrapperImpl.getPropertyValue in 3.1

    Hi there :-)

    There is a problem in the 3.1 version I Think and I have just posted a bug (https://jira.springsource.org/browse/SPR-9059)

    But I just forgot to set the affected version :-(

    And if anybody has a clue of the cause I would be happy to hear about :-)

  2. #2
    Join Date
    Jan 2012
    Posts
    2

    Default

    For those how are interested: It is not a concurrency problem! But a problem of SoftReferences being caught by GC.
    I have just added a patch to the jira issue and if someone come a cross a stacktrace like

    Code:
    org.springframework.beans.NotReadablePropertyException: Invalid property 'id' of bean class [org.test.MyBean]: Bean property 'id' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
    	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:729)
    	at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:721)
    in the logs sometimes and swears 'MyBean' has a getter for 'id' than your're "lucky" to have the same strange behaviour and should vote for SPR-9059

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •