[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6522) NPE in JBoss 7 when using JTA
Mike Huniewicz (JIRA)
noreply at atlassian.com
Mon Aug 1 05:35:04 EDT 2011
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
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