Advertisement
Guest User

fix plox

a guest
Mar 6th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.39 KB | None | 0 0
  1. Loading config file from C:\Users\Jacques\Documents\PSE-Studienplan-Programm\.\config\dbconfig.properties.
  2. DriverManager.getConnection("jdbc:mysql://nyc-1.sl.aroma1997.org/studyplanning")
  3. trying com.mysql.cj.jdbc.Driver
  4. getConnection returning com.mysql.cj.jdbc.Driver
  5. Loading config file from C:\Users\Jacques\Documents\PSE-Studienplan-Programm\.\config\dbconfig.properties.
  6. DriverManager.getConnection("jdbc:mysql://nyc-1.sl.aroma1997.org/studyplanning")
  7. trying com.mysql.cj.jdbc.Driver
  8. getConnection returning com.mysql.cj.jdbc.Driver
  9. Loading config file from C:\Users\Jacques\Documents\PSE-Studienplan-Programm\.\config\dbconfig.properties.
  10. DriverManager.getConnection("jdbc:mysql://nyc-1.sl.aroma1997.org/studyplanning")
  11. trying com.mysql.cj.jdbc.Driver
  12. getConnection returning com.mysql.cj.jdbc.Driver
  13. SQLState(07001) vendor code(0)
  14. Could not add test Subject to database!
  15. java.sql.SQLException: No value specified for parameter 4
  16. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:545)
  17. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)
  18. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:505)
  19. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:479)
  20. at com.mysql.cj.jdbc.PreparedStatement.checkAllParametersSet(PreparedStatement.java:2159)
  21. at com.mysql.cj.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2139)
  22. at com.mysql.cj.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2076)
  23. at com.mysql.cj.jdbc.PreparedStatement.execute(PreparedStatement.java:1123)
  24. at studyplanning.model.DataBaseTestAssisstant.addTestSubjectToDatabase(DataBaseTestAssisstant.java:173)
  25. at studyplanning.model.DataBaseTestAssisstant.<init>(DataBaseTestAssisstant.java:67)
  26. at studyplanning.controller.commands.AddModuleCommandTest.setUpBeforeClass(AddModuleCommandTest.java:31)
  27. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  28. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  29. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  30. at java.lang.reflect.Method.invoke(Unknown Source)
  31. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
  32. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  33. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
  34. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
  35. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  36. at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
  37. at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
  38. at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  39. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
  40. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
  41. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
  42. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
  43. SQLState(08003) vendor code(0)
  44. Could not delte the test subject.
  45. Subject with the ID-number 0 from Subjects table!
  46. java.sql.SQLNonTransientConnectionException: No operations allowed after connection closed.
  47. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:526)
  48. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)
  49. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:505)
  50. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:479)
  51. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:489)
  52. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:66)
  53. at com.mysql.cj.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:1882)
  54. at com.mysql.cj.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:1861)
  55. at studyplanning.model.DataBaseTestAssisstant.finalize(DataBaseTestAssisstant.java:106)
  56. at java.lang.System$2.invokeFinalize(Unknown Source)
  57. at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
  58. at java.lang.ref.Finalizer.access$100(Unknown Source)
  59. at java.lang.ref.Finalizer$3.run(Unknown Source)
  60. at java.lang.Thread.run(Unknown Source)
  61. SQLState(08003) vendor code(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement