This content has been marked as final.
Show 4 replies
-
1. Re: java.sql.SQLException: Table already exists: JBPM_ACTION
forjbpm Dec 14, 2005 4:59 PM (in response to forjbpm)and then it also gives me
java.lang.NullPointerException
this exception as a result of it.
at org.jbpm.db.AbstractDbTestCase.beginSessionTransaction(AbstractDbTestCase.java:81)
at org.jbpm.db.AbstractDbTestCase.setUp(AbstractDbTestCase.java:71)
at org.jbpm.websale2.WebSaleTest.setUp(WebSaleTest.java:34)
at junit.framework.TestCase.runBare(TestCase.java:125)
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.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) -
2. Re: java.sql.SQLException: Table already exists: JBPM_ACTION
forjbpm Jan 9, 2006 5:37 PM (in response to forjbpm)Can anyone tell me What may be the cause of this problem???
Any help is highly appreciated
Thanks -
3. Re: java.sql.SQLException: Table already exists: JBPM_ACTION
pwang33 Jan 9, 2006 5:47 PM (in response to forjbpm)Add this statement
if (!jbpmSchema.hasJbpmTables())
before the jbpmSchema.createSchema();
inside the AbstractDBTestCase -
4. Re: java.sql.SQLException: Table already exists: JBPM_ACTION
forjbpm Jan 10, 2006 4:38 PM (in response to forjbpm)Thanks!!!
I was under impression that I should not change anything in AbstractdbTestCase class.
That was really helpful
Thanks Again!