Guest User

Untitled

a guest
Jun 7th, 2020
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org.dbunit.DatabaseUnitRuntimeException: org.dbunit.DatabaseUnitException: Exception processing table name='patient_program'
  2. at org.openmrs.test.BaseContextSensitiveTest.executeDataSet(BaseContextSensitiveTest.java:823)
  3. at org.openmrs.test.BaseContextSensitiveTest.executeDataSet(BaseContextSensitiveTest.java:714)
  4. at org.openmrs.htmlformentry.element.EnrollInProgramElement2_2Test.loadConcepts(EnrollInProgramElement2_2Test.java:35)
  5. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  6. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  7. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  8. at java.lang.reflect.Method.invoke(Method.java:498)
  9. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
  10. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  11. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
  12. at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
  13. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
  14. at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
  15. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  16. at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
  17. at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
  18. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
  19. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
  20. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
  21. at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
  22. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
  23. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
  24. at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
  25. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
  26. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  27. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  28. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  29. at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
  30. at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
  31. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
  32. at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
  33. at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
  34. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
  35. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
  36. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
  37. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
  38. Caused by: org.dbunit.DatabaseUnitException: Exception processing table name='patient_program'
  39. at org.dbunit.operation.RefreshOperation.execute(RefreshOperation.java:130)
  40. at org.openmrs.test.BaseContextSensitiveTest.executeDataSet(BaseContextSensitiveTest.java:820)
  41. ... 35 more
  42. Caused by: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity constraint violation: "FK6POWR2YP4URS0AVQR90F8DQLE: PUBLIC.PATIENT_PROGRAM FOREIGN KEY(PROGRAM_ID) REFERENCES PUBLIC.PROGRAM(PROGRAM_ID) (10)"; SQL statement:
  43. insert into PATIENT_PROGRAM (PATIENT_PROGRAM_ID, PATIENT_ID, PROGRAM_ID, CREATOR, DATE_ENROLLED, DATE_CREATED, VOIDED, UUID, DATE_COMPLETED) values (?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-199]
  44. at org.h2.message.DbException.getJdbcSQLException(DbException.java:457)
  45. at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
  46. at org.h2.message.DbException.get(DbException.java:205)
  47. at org.h2.message.DbException.get(DbException.java:181)
  48. at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:319)
  49. at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:261)
  50. at org.h2.table.Table.fireConstraints(Table.java:1020)
  51. at org.h2.table.Table.fireAfterRow(Table.java:1038)
  52. at org.h2.command.dml.Insert.insertRows(Insert.java:194)
  53. at org.h2.command.dml.Insert.update(Insert.java:132)
  54. at org.h2.command.CommandContainer.update(CommandContainer.java:133)
  55. at org.h2.command.Command.executeUpdate(Command.java:267)
  56. at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:250)
  57. at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
  58. at org.dbunit.database.statement.SimplePreparedStatement.addBatch(SimplePreparedStatement.java:85)
  59. at org.dbunit.operation.RefreshOperation$RowOperation.execute(RefreshOperation.java:192)
  60. at org.dbunit.operation.RefreshOperation$InsertRowOperation.execute(RefreshOperation.java:258)
  61. at org.dbunit.operation.RefreshOperation.execute(RefreshOperation.java:115)
  62. ... 36 more
RAW Paste Data