8 Replies Latest reply on Apr 28, 2009 11:23 PM by ainze

    trunk is failing

    ainze

      Hi there,

      I'm getting following exception when running any test from trunk that involves deploying jpdl:


      org.jbpm.JbpmException: problems during deployment: errors:
      
       error: couldn't parse xml document : java.lang.IllegalArgumentException: When using array of Objects as the value of SCHEMA_SOURCE property , no two Schemas should share the same targetNamespace.
       error: couldn't interpret the dom model: null : java.lang.NullPointerException
       at org.jbpm.pvm.internal.deploy.CheckProblemsDeployer.deploy(CheckProblemsDeployer.java:48)
       at org.jbpm.pvm.internal.deploy.DeployerManager.deploy(DeployerManager.java:61)
       at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:54)
       at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:1)
       at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
       at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
       at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
       at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:52)
       at org.jbpm.pvm.internal.svc.ProcessServiceImpl.deploy(ProcessServiceImpl.java:84)
       at org.jbpm.pvm.internal.svc.DeploymentImpl.deploy(DeploymentImpl.java:279)
       at org.jbpm.test.JbpmTestCase.deployJpdlXmlString(JbpmTestCase.java:137)
       at org.jbpm.test.execution.StartExecutionTest.testStartNewExecutionByKey(StartExecutionTest.java:40)
       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 junit.framework.TestCase.runTest(TestCase.java:154)
       at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:81)
       at junit.framework.TestCase.runBare(TestCase.java:127)
       at junit.framework.TestResult$1.protect(TestResult.java:106)
       at junit.framework.TestResult.runProtected(TestResult.java:124)
       at junit.framework.TestResult.run(TestResult.java:109)
       at junit.framework.TestCase.run(TestCase.java:118)
       at junit.framework.TestSuite.runTest(TestSuite.java:208)
       at junit.framework.TestSuite.run(TestSuite.java:203)
       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)
      
      


      I'm looking into the problem, but can't find a real cause. Does anyone recognise this error?