DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
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: 30/Mar/16 09:39 AM   Resolved: 30/Mar/16 09:38 AM
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
Andy Jefferson added a comment - 30/Mar/16 09:38 AM
No comment on this in 6 years. Assumed not a problem