Advertisement
Guest User

Untitled

a guest
May 25th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.08 KB | None | 0 0
  1. main] WARN net.jakubholy.dbunitexpress.assertion.RowComparator - initResultTableAndColumns: Failed to access the connection/metadata and thus will not be able to instantiate the appropriate ExceptionInterpreter.
  2. org.dbunit.DatabaseUnitRuntimeException: Failed to connect to the test database, it seems it hasn't been created yet - check the detailed failure stack trace. You can create the DB by executing class net.jakubholy.dbunitexpress.DatabaseCreator.main(..).
  3. at net.jakubholy.dbunitexpress.EmbeddedDbTester$QualifiedNamesPropertiesTester.getConnection(EmbeddedDbTester.java:435)
  4. at net.jakubholy.dbunitexpress.impl.EnhancedDatabaseTesterDecorator.getConnection(EnhancedDatabaseTesterDecorator.java:166)
  5. at net.jakubholy.dbunitexpress.assertion.RowComparator.initResultTableAndColumns(RowComparator.java:140)
  6. at net.jakubholy.dbunitexpress.assertion.RowComparator.<init>(RowComparator.java:108)
  7. at net.jakubholy.dbunitexpress.EmbeddedDbTester.createCheckerForSelect(EmbeddedDbTester.java:690)
  8. at net.jakubholy.dbunitexpress.EmbeddedDbTester.onSetup(EmbeddedDbTester.java:730)
  9. at net.jakubholy.dbunitexpress.EmbeddedDbTesterRule$DbInitializer.before(EmbeddedDbTesterRule.java:40)
  10. at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
  11. at org.junit.rules.RunRules.evaluate(RunRules.java:20)
  12. at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:267)
  13. at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
  14. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
  15. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
  16. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
  17. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
  18. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
  19. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
  20. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
  21. at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:193)
  22. at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:345)
  23. at org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:49)
  24. at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:207)
  25. at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
  26. at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:155)
  27. at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
  28. at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
  29. at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
  30. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  31. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  32. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  33. at java.lang.reflect.Method.invoke(Method.java:483)
  34. at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
  35. at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
  36. at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
  37. at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
  38. at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
  39. Caused by: java.sql.SQLException: Database 'target/testDB' not found.
  40. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
  41. at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
  42. at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
  43. at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
  44. at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
  45. at org.apache.derby.impl.jdbc.EmbedConnection.handleDBNotFound(Unknown Source)
  46. at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
  47. at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
  48. at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
  49. at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
  50. at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
  51. at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
  52. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  53. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  54. at org.dbunit.JdbcDatabaseTester.getConnection(JdbcDatabaseTester.java:116)
  55. at net.jakubholy.dbunitexpress.EmbeddedDbTester$QualifiedNamesPropertiesTester.getConnection(EmbeddedDbTester.java:427)
  56. ... 35 more
  57. Caused by: java.sql.SQLException: Database 'target/testDB' not found.
  58. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
  59. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
  60. ... 51 more
  61. [main] INFO net.jakubholy.dbunitexpress.EmbeddedDbTester - Going to automatically create the test database ...
  62. [main] INFO net.jakubholy.dbunitexpress.EmbeddedDbTester - Loading test DB configuration from file:/Users/matzew/Work/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement