[jboss-jira] [JBoss JIRA] (AS7-6956) NullPointer @ org.jboss.as.jpa.container.ExtendedPersistenceDeepInheritance

Scott Marlow (JIRA) jira-events at lists.jboss.org
Fri Apr 19 08:00:55 EDT 2013


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

Scott Marlow commented on AS7-6956:
-----------------------------------

>From the attached stack trace, in org.jboss.as.jpa.container.ExtendedPersistenceDeepInheritance.findExtendedPersistenceContext() variable currentInjectedXPCs appears to be null.
{code} 
// will look directly at the top level bean being created (registerExtendedPersistenceContext() registers xpc there).
result = currentInjectedXPCs.findExtendedPersistenceContextDeepInheritance(puScopedName);
{code}
                
> NullPointer @ org.jboss.as.jpa.container.ExtendedPersistenceDeepInheritance
> ---------------------------------------------------------------------------
>
>                 Key: AS7-6956
>                 URL: https://issues.jboss.org/browse/AS7-6956
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: EAP 6.1.0.Alpha (7.2.0.Final)
>            Reporter: Brand Neu
>            Assignee: Scott Marlow
>         Attachments: JBoss Web_7.2.0.Final - JBWEB000064  Error report.htm
>
>
> Webproject with ManagedBean contains following PersistenceContext:
> @PersistenceContext(unitName = "MyPU", type = PersistenceContextType.EXTENDED)
> WebApp run fine under Jboss-7.1, in JBoss-7.2 (EAP-6.1.0) we've got NulPointer-Exception and therefore further exceptions.

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