[jboss-jira] [JBoss JIRA] (JASSIST-214) Nullpointer in RuntimeSupport

Mark Torres (JIRA) issues at jboss.org
Tue Mar 18 19:54:10 EDT 2014


    [ https://issues.jboss.org/browse/JASSIST-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12954032#comment-12954032 ] 

Mark Torres commented on JASSIST-214:
-------------------------------------

Thanks Andreas, I encountered the issue and in my case, it is indeed dozer related. The straightforward fix in my case is to change DestBeanCreator in dozer to use the unproxied class's constructor.

                
> Nullpointer in RuntimeSupport
> -----------------------------
>
>                 Key: JASSIST-214
>                 URL: https://issues.jboss.org/browse/JASSIST-214
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.16.1-GA
>            Reporter: Michael Burns
>            Assignee: Shigeru Chiba
>
> Under moderate load our multithreaded application frequently gives the following exception:
> java.lang.NullPointerException
>         at javassist.util.proxy.RuntimeSupport$DefaultMethodHandler.invoke(RuntimeSupport.java:38)
>         at com.Customer_$$_javassist_1.getHibernateLazyInitializer(Customer_$$_javassist_1.java)
>         at org.hibernate.Hibernate.isInitialized(Hibernate.java:429)
> This then effects all future instantiations of the Customer object which give the same exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list