[jboss-jira] [JBoss JIRA] Updated: (JBAS-7417) Persistence Unit Deployments fail with NPE

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Sun Nov 1 22:31:05 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-7417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shelly McGowan updated JBAS-7417:
---------------------------------

      Component/s: EJB3
    Fix Version/s: JBossAS-5.2.0.Beta1
      Description: 
Tests affected:
org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
org.jboss.test.ejb3.ejbthree1597.unit.PersistenceUnitSettingsUnitTestCase
org.jboss.test.jpa.test.WebClassesEARJPAUnitTestCase
org.jboss.test.jpa.test.WebLibsEARJPAUnitTestCase

and the ejb30-persistence module of the EE5 TCK

2009-11-01 21:39:12,717 INFO  [org.jboss.deployment.MainDeployer] (RMI TCP Connection(4)-127.0.0.1) deploy, url=file:/work/TEST/Branch_5_x/testsuite/output/lib/test-jpa-webclasses.war 
2009-11-01 21:39:13,190 INFO  [org.jboss.jpa.deployment.PersistenceUnitDeployment] (RMI TCP Connection(4)-127.0.0.1) Starting persistence unit persistence.unit:unitName=#test
2009-11-01 21:39:13,194 DEBUG [org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl] (RMI TCP Connection(4)-127.0.0.1) Using class loader BaseClassLoader at 101a3db{vfszip:/work/TEST/Branch_5_x/testsuite/output/lib/test-jpa-webclasses.war/}
2009-11-01 21:39:13,199 DEBUG [org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl] (RMI TCP Connection(4)-127.0.0.1) Found persistence.xml file in EJB3 jar
2009-11-01 21:39:13,202 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (RMI TCP Connection(4)-127.0.0.1) Error installing to Start: name=persistence.unit:unitName=#test state=Create
java.lang.NullPointerException
        at org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl.convertToValidationMode(PersistenceUnitInfoImpl.java:158)
        at org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:106)
        at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:293)

         Assignee: Carlo de Wolf


> Persistence Unit Deployments fail with NPE
> ------------------------------------------
>
>                 Key: JBAS-7417
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7417
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>            Reporter: Shelly McGowan
>            Assignee: Carlo de Wolf
>             Fix For: JBossAS-5.2.0.Beta1
>
>
> Tests affected:
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
> org.jboss.test.ejb3.ejbthree1597.unit.PersistenceUnitSettingsUnitTestCase
> org.jboss.test.jpa.test.WebClassesEARJPAUnitTestCase
> org.jboss.test.jpa.test.WebLibsEARJPAUnitTestCase
> and the ejb30-persistence module of the EE5 TCK
> 2009-11-01 21:39:12,717 INFO  [org.jboss.deployment.MainDeployer] (RMI TCP Connection(4)-127.0.0.1) deploy, url=file:/work/TEST/Branch_5_x/testsuite/output/lib/test-jpa-webclasses.war 
> 2009-11-01 21:39:13,190 INFO  [org.jboss.jpa.deployment.PersistenceUnitDeployment] (RMI TCP Connection(4)-127.0.0.1) Starting persistence unit persistence.unit:unitName=#test
> 2009-11-01 21:39:13,194 DEBUG [org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl] (RMI TCP Connection(4)-127.0.0.1) Using class loader BaseClassLoader at 101a3db{vfszip:/work/TEST/Branch_5_x/testsuite/output/lib/test-jpa-webclasses.war/}
> 2009-11-01 21:39:13,199 DEBUG [org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl] (RMI TCP Connection(4)-127.0.0.1) Found persistence.xml file in EJB3 jar
> 2009-11-01 21:39:13,202 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (RMI TCP Connection(4)-127.0.0.1) Error installing to Start: name=persistence.unit:unitName=#test state=Create
> java.lang.NullPointerException
>         at org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl.convertToValidationMode(PersistenceUnitInfoImpl.java:158)
>         at org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:106)
>         at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:293)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list