0 Replies Latest reply on Oct 9, 2007 8:15 AM by Per Newgro

    Exception while executing the tutorial tests of embedded-jbo

    Per Newgro Newbie

      Hi*,

      i get the following exception if i execute the AllTests in tutorial (eclipse 3.3/JDK1.6.0_01)
      Maybe someone can push me to the right direction.

      Thank you
      Per

      ERROR 09-10 14:11:17,031 (DeployerWrapper.java:commitDeploy:177) -Error during deployment: vfsfile:/C:/Dokumente%20und%20Einstellungen/self/Eigene%20Dateien/Java-Projekte/embedded-jboss-beta2/docs/tutorial/junit/ide/output/deploy/jms-ra.rar
      org.jboss.deployers.spi.DeploymentException: Error parsing meta data jms-ra.rar/META-INF/ra.xml
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.plugins.deployers.helpers.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:114)
      at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.parse(AbstractParsingDeployer.java:148)
      at org.jboss.resource.deployers.RARParserDeployer.parse(RARParserDeployer.java:69)
      at org.jboss.resource.deployers.RARParserDeployer.parse(RARParserDeployer.java:39)
      at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:112)
      at org.jboss.deployers.plugins.deployers.helpers.AbstractParsingDeployer.createMetaData(AbstractParsingDeployer.java:88)
      at org.jboss.resource.deployers.RARParserDeployer.deploy(RARParserDeployer.java:82)
      at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
      at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
      at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:109)
      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 org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
      at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
      at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
      at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
      at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
      at org.jboss.embedded.tutorial.AllTests$1.setUp(AllTests.java:61)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.framework.TestResult.runProtected(TestResult.java:124)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfsfile:/C:/Dokumente und Einstellungen/self/Eigene Dateien/Java-Projekte/embedded-jboss-beta2/docs/tutorial/junit/ide/output/deploy/jms-ra.rar/META-INF/ra.xml
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:180)
      at org.jboss.deployers.plugins.deployers.helpers.ObjectModelFactoryDeployer.parse(ObjectModelFactoryDeployer.java:110)
      ... 49 more
      Caused by: java.lang.NullPointerException
      at java.util.Arrays$ArrayList.(Arrays.java:3357)
      at java.util.Arrays.asList(Arrays.java:3343)
      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:67)
      at sun.net.www.protocol.file.FileURLConnection.initializeHeaders(FileURLConnection.java:90)
      at sun.net.www.protocol.file.FileURLConnection.getLastModified(FileURLConnection.java:151)
      at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHandler.java:72)
      at org.jboss.virtual.plugins.context.AbstractURLHandler.(AbstractURLHandler.java:65)
      at org.jboss.virtual.plugins.context.file.FileHandler.(FileHandler.java:70)
      at org.jboss.virtual.plugins.context.file.FileHandler.(FileHandler.java:89)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:253)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
      at org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:180)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:239)
      at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:186)
      at org.jboss.virtual.plugins.context.file.FileHandler.createChildHandler(FileHandler.java:217)
      at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:280)
      at org.jboss.virtual.plugins.context.file.FileHandler.findChild(FileHandler.java:200)
      at org.jboss.virtual.plugins.context.AbstractVFSContext.findChild(AbstractVFSContext.java:118)
      at org.jboss.virtual.VFS.findChild(VFS.java:205)
      at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.resolveCachedVirtualFile(VirtualFileURLConnection.java:86)
      at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getVirtualFile(VirtualFileURLConnection.java:102)
      at org.jboss.virtual.plugins.vfs.VirtualFileURLConnection.getInputStream(VirtualFileURLConnection.java:115)
      at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
      ... 51 more