[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6522) NPE in JBoss 7 when using JTA
Sebastian Wramba (JIRA)
noreply at atlassian.com
Tue Sep 27 05:33:35 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Wramba updated HHH-6522:
----------------------------------
Attachment: EntityManagerFactoryTest.zip
Minimal test case which fails due to the current bug.
> NPE in JBoss 7 when using JTA
> -----------------------------
>
> Key: HHH-6522
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6522
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 4.0.0.Beta4
> Environment: Hibernate 4.0.0.Beta1 and 4.0.0.Beta4. JBoss 7
> Reporter: Mike Huniewicz
> Labels: transaction_manager
> Attachments: EntityManagerFactoryTest.zip
>
>
> A NullPointerException occurs when resolving JTA transaction manager.
> Please see here for the stack trace: http://community.jboss.org/message/618455#618455
> Caused by: java.lang.NullPointerException
> at org.hibernate.engine.transaction.internal.jta.JtaStatusHelper.getStatus(JtaStatusHelper.java:72) [hibernate-core-4.0.0.Beta1.jar:4.0.0.Beta1]
> I'm using Arquillian to build my WAR file to deploy it to JBoss 7 for testing.
> Here's my source code: https://github.com/m1key/audiolicious/tree/WithJBossIntegrationTests
> persistence.xml: https://github.com/m1key/audiolicious/blob/WithJBossIntegrationTests/audiolicious-integration-tests/src/test/resources/META-INF/persistence.xml
> Data source is not XA. It seems that it did manage to connect to the data source because it tries to create tables.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list