Issue Details (XML | Word | Printable)

Key: NUCJDOJCA-9
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Marco Schulze
Reporter: Marco Schulze
Votes: 0
Watchers: 0
Operations

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: http://www.jpox.org/servlet/forum/viewthread_thread,6037#32118


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

http://www.nightlabs.de/~marco/datanucleus/2010-03-31.00/JFire_JDO_chezfrancois.jfire.org.last/

a NullPointerException is thrown:

2010-03-31 22:42:08,090 INFO [org.jboss.resource.connectionmanager.TxConnectionManager] throwable from unregister connection
java.lang.NullPointerException
        at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.connectionClosed(TxConnectionManager.java:637)
        at org.datanucleus.jdo.connector.ManagedConnectionImpl.notifyClosed(ManagedConnectionImpl.java:361)
        at org.datanucleus.jdo.connector.PersistenceManagerImpl.close(PersistenceManagerImpl.java:175)
        at org.nightlabs.jfire.servermanager.ra.JFireServerManagerImpl.login(JFireServerManagerImpl.java:543)
        at org.nightlabs.jfire.jboss.authentication.JFireServerLoginModule.login(JFireServerLoginModule.java:175)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
        at org.nightlabs.unifiedjndi.jboss.client.UnifiedLoginContext.login(UnifiedLoginContext.java:317)

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.