Hello,
I have installed Joget V3 Enterprise edition.
I am trying to build the project from source. I followed all the steps as per the KB articles but the source is giving an error while building at wflow-wfengin.
I am running mysql on 3307 port and modified the settings accordingly so that the build process does not break due to mysql connection. Also, when I installed enterprise edition, I create some forms and userviews. All that information is stored in jwdb database.
To build the source, I created a new db, wflowdb and imported the just the data from the database jwdb to wflowdb.
Please let me know how do I fix this issue.
\[INFO\] \-----------------------------------------------------------------------\- |
\[INFO\] Reactor Summary: |
\[INFO\] |
\[INFO\] wflow-jdbc ........................................ SUCCESS \[0.730s\] |
\[INFO\] wflow-commons ..................................... SUCCESS \[0.334s\] |
\[INFO\] wflow-plugin-base ................................. SUCCESS \[0.702s\] |
\[INFO\] wflow-directory ................................... SUCCESS \[2.663s\] |
\[INFO\] wflow-form ........................................ SUCCESS \[0.129s\] |
\[INFO\] wflow-userview .................................... SUCCESS \[0.220s\] |
\[INFO\] wflow-wfengine .................................... FAILURE \[7.238s\] |
\[INFO\] wflow-designer .................................... SKIPPED |
\[INFO\] wflow-commonsweb .................................. SKIPPED |
\[INFO\] wflow-formsweb .................................... SKIPPED |
\[INFO\] wflow-wfweb ....................................... SKIPPED |
\[INFO\] wflow-designerweb ................................. SKIPPED |
\[INFO\] wflow-app ......................................... SKIPPED |
\[INFO\] \-----------------------------------------------------------------------\- |
\[INFO\] BUILD FAILURE |
\[INFO\] \-----------------------------------------------------------------------\- |
The error is :
-------------------------------------------------------------------------------
Test set: org.joget.workflow.model.TestImportExportManager
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.181 sec <<< FAILURE!
testSuite(org.joget.workflow.model.TestImportExportManager) Time elapsed: 0.587 sec <<< ERROR!
java.lang.IllegalArgumentException: Form not found at org.springframework.util.Assert.isTrue(Assert.java:65) at org.joget.workflow.model.TestImportExportManager.testSuite(TestImportExportManager.java:93) 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.springframework.test.context.junit4.SpringTestMethod.invoke(SpringTestMethod.java:163) at org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:233) at org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:333) at org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217) at org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197) at org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:142) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
-------------------------------------------------------------------------------
Test set: org.joget.workflow.model.TestImportExportManager
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.181 sec <<< FAILURE!
testSuite(org.joget.workflow.model.TestImportExportManager) Time elapsed: 0.587 sec <<< ERROR!
java.lang.IllegalArgumentException: Form not found
at org.springframework.util.Assert.isTrue(Assert.java:65)
at org.joget.workflow.model.TestImportExportManager.testSuite(TestImportExportManager.java:93)
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.springframework.test.context.junit4.SpringTestMethod.invoke(SpringTestMethod.java:163)
at org.springframework.test.context.junit4.SpringMethodRoadie.runTestMethod(SpringMethodRoadie.java:233)
at org.springframework.test.context.junit4.SpringMethodRoadie$RunBeforesThenTestThenAfters.run(SpringMethodRoadie.java:333)
at org.springframework.test.context.junit4.SpringMethodRoadie.runWithRepetitions(SpringMethodRoadie.java:217)
at org.springframework.test.context.junit4.SpringMethodRoadie.runTest(SpringMethodRoadie.java:197)
at org.springframework.test.context.junit4.SpringMethodRoadie.run(SpringMethodRoadie.java:143)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:142)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Thanks
Anup