commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: Deadlock in PropertyUtilsBean
Date Fri, 17 Jun 2016 16:41:09 GMT
Hello Elias,

Elias K <mariguanito80@gmail.com> schrieb am Do., 16. Juni 2016 um
18:56 Uhr:

> Hi
>
> I'm investigating why my application keeps crashing. Last time I was able
> to take a thread dump and found a possible deadlock in PropertyUtilsBean.
>
> "http-apr-8080-exec-197" #7560 daemon prio=5 os_prio=0
> tid=0x00007fa1b82fd000 nid=0x692f waiting for monitor entry
> [0x00007fa18b242000]
>    java.lang.Thread.State: BLOCKED (on object monitor)
>         at
> java.beans.PropertyDescriptor.getReadMethod(PropertyDescriptor.java:206)
>         - waiting to lock <0x00000000b8ac7640> (a
> java.beans.PropertyDescriptor)
>         at
> org.apache.commons.beanutils.PropertyUtilsBean.getReadMethod(PropertyUtilsBean.java:1175)
>
> I'm using grails 3, java 8 and beanutils-1.9.2.  All my tomcat threads have
> that same stacktrace.
>
> Your help would be much appreciated.
>

PropertyDescriptor.getReadMethod is obviously synchronized so it is
possible to run into dead lock. Can you give some more information how your
using BeanUtils so we can find a reproduction for this issue for further
investigation?

Thank you,
Benedikt


>
> Regards,
> Elias
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message