[jboss-jira] [JBoss JIRA] Created: (JBAS-5478) Assertion Error in PersistenceUnitParsingDeployer

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Apr 23 20:44:08 EDT 2008


Assertion Error in PersistenceUnitParsingDeployer
-------------------------------------------------

                 Key: JBAS-5478
                 URL: http://jira.jboss.com/jira/browse/JBAS-5478
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: EJB3
            Reporter: Andrew Lee Rubinger
         Assigned To: Adrian Brock
             Fix For: JBossAS-5.0.0.CR1


Upon deployment of the EJB3 "service" integration tests (likely others), the following is encountered:

Caused by: java.lang.AssertionError: expected a jar or file url, but was vfsfile:/home/alrubinger/business/jboss/wc/jbossas/trunk/build/output/jboss-5.0.0.CR1/server/all/deploy/service-test.jar
        at org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer.parse(PersistenceUnitParsingDeployer.java:110)
        at org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer.parse(PersistenceUnitParsingDeployer.java:89)
        at org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer.parse(PersistenceUnitParsingDeployer.java:51)
        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:323)
        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)

Likely due to changes made in Revision 72433:
http://fisheye.jboss.org/changelog/JBossAS?cs=72433

...alongside the jboss-vfs transition from Beta10 back to SNAPSHOT.

Comments in the source allude to that VFS protocol is not allowed, sending to Adrian for a closer look.

Due to that this is an assertion error, remember to pass "-ea" to the JVM when starting the server during testing.

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

        



More information about the jboss-jira mailing list