[jboss-jira] [JBoss JIRA] (AS7-6925) ignore CNFE when scanning for entity classes in deployment

Scott Marlow (JIRA) jira-events at lists.jboss.org
Thu Apr 18 18:21:53 EDT 2013


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

Scott Marlow commented on AS7-6925:
-----------------------------------

I would be guessing if I said what is, without checking the classloading code that probably experienced the OOM and threw the CNFE.  I guess I do have an opinion on this after all.  ;)

This also will help with the case that the deployment contains a class that isn't needed but references other classes that don't exist in the deployment (that is the case that is worth ignoring/logging the CNFE for).
                
> ignore CNFE when scanning for entity classes in deployment
> ----------------------------------------------------------
>
>                 Key: AS7-6925
>                 URL: https://issues.jboss.org/browse/AS7-6925
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 7.1.2.Final (EAP), 7.1.3.Final (EAP), EAP 6.1.0.Alpha (7.2.0.Final)
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 8.0.0.Alpha1
>
>         Attachments: cnfe.jar
>
>
> Deployments may contain non-entity classes that can not be loaded (see above forum reference for example).

--
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