[jboss-user] [JBoss Seam] - Re: How to invoking methods with parameters with Seam test?

paradigmza do-not-reply at jboss.com
Wed Nov 21 07:05:05 EST 2007


I tried ant and got the same error... (I used the ant file that is automatically created by Eclipse, and just added the testng task... and got the same error.


 [testng] 	at org.testng.TestNG.main(TestNG.java:802)
  |    [testng] Caused by: java.lang.IllegalStateException: FileHandler at 32237804[path= context=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/ real=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/] has no parent.
  |    [testng] 	at org.jboss.virtual.VFSUtils.addManifestLocations(VFSUtils.java:116)
  |    [testng] 	at org.jboss.deployers.plugins.structure.DefaultStructureBuilder.processContext(DefaultStructureBuilder.java:131)
  |    [testng] 	at org.jboss.deployers.plugins.structure.DefaultStructureBuilder.populateContext(DefaultStructureBuilder.java:89)
  |    [testng] 	... 33 more
  |    [testng] FAILED CONFIGURATION: @BeforeClass init
  |    [testng] org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  |    [testng] *** DEPLOYMENTS IN ERROR: Name -> Error
  |    [testng] vfsfile:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/ -> java.lang.IllegalStateException: FileHandler at 32237804[path= context=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/ real=file:/D:/Workspace/Eclipse/TheNextStep-ejb/build/classes/] has no parent.
  |    [testng] 	at org.jboss.embedded.DeploymentGroup.checkIncomplete(DeploymentGroup.java:151)
  |    [testng] 	at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:129)
  |    [testng] 	at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:307)
  |    [testng] 	at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:14)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |    [testng] 	at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |    [testng] 	at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |    [testng] ... Removed 22 stack frames
  |    [testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |    [testng] SKIPPED CONFIGURATION: @AfterMethod end
  |    [testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |    [testng] SKIPPED: test
  |    [testng] ===============================================
  |    [testng]     Ant test
  |    [testng]     Tests run: 1, Failures: 0, Skips: 1
  |    [testng]     Configuration Failures: 1, Skips: 3
  |    [testng] ===============================================
  |    [testng] ===============================================
  |    [testng] Ant suite
  |    [testng] Total tests run: 1, Failures: 0, Skips: 1
  |    [testng] Configuration Failures: 1, Skips: 3
  |    [testng] ===============================================

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106706#4106706

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106706



More information about the jboss-user mailing list