Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Marco Schulze
Reporter: Marco Schulze
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus JDO JCA

autoStartMechanism=XML causes NullPointerException in JavaEE environment

Created: 01/Apr/10 12:52 PM   Updated: 01/Apr/10 12:52 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Environment: JBoss 4.2.3.GA, MySQL 5.1.41, Sun Java 1.6.0_19 64-bit, Kubuntu 10.04

Forum Thread URL:,6037#32118

 Description  « Hide
When using DataNucleus with 'datanucleus.autoStartMechanism="XML"' like in this deployment descriptor

a NullPointerException is thrown:

2010-03-31 22:42:08,090 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] throwable from unregister connection
        at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(
        at org.datanucleus.jdo.connector.ManagedConnectionImpl.notifyClosed(
        at org.datanucleus.jdo.connector.PersistenceManagerImpl.close(
        at org.nightlabs.jfire.servermanager.ra.JFireServerManagerImpl.login(
        at org.nightlabs.jfire.jboss.authentication.JFireServerLoginModule.login(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at Method)
        at org.nightlabs.unifiedjndi.jboss.client.UnifiedLoginContext.login(

This NPE does not happen when using 'datanucleus.autoStartMechanism="SchemaTable"'.

Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.