Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Loading config file from C:\Users\Jacques\Documents\PSE-Studienplan-Programm\.\config\dbconfig.properties.
- DriverManager.getConnection("jdbc:mysql://nyc-1.sl.aroma1997.org/studyplanning")
- trying com.mysql.cj.jdbc.Driver
- getConnection returning com.mysql.cj.jdbc.Driver
- Loading config file from C:\Users\Jacques\Documents\PSE-Studienplan-Programm\.\config\dbconfig.properties.
- DriverManager.getConnection("jdbc:mysql://nyc-1.sl.aroma1997.org/studyplanning")
- trying com.mysql.cj.jdbc.Driver
- getConnection returning com.mysql.cj.jdbc.Driver
- Loading config file from C:\Users\Jacques\Documents\PSE-Studienplan-Programm\.\config\dbconfig.properties.
- DriverManager.getConnection("jdbc:mysql://nyc-1.sl.aroma1997.org/studyplanning")
- trying com.mysql.cj.jdbc.Driver
- getConnection returning com.mysql.cj.jdbc.Driver
- SQLState(07001) vendor code(0)
- Could not add test Subject to database!
- java.sql.SQLException: No value specified for parameter 4
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:545)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:505)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:479)
- at com.mysql.cj.jdbc.PreparedStatement.checkAllParametersSet(PreparedStatement.java:2159)
- at com.mysql.cj.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2139)
- at com.mysql.cj.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2076)
- at com.mysql.cj.jdbc.PreparedStatement.execute(PreparedStatement.java:1123)
- at studyplanning.model.DataBaseTestAssisstant.addTestSubjectToDatabase(DataBaseTestAssisstant.java:173)
- at studyplanning.model.DataBaseTestAssisstant.<init>(DataBaseTestAssisstant.java:67)
- at studyplanning.controller.commands.AddModuleCommandTest.setUpBeforeClass(AddModuleCommandTest.java:31)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
- at java.lang.reflect.Method.invoke(Unknown Source)
- at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
- at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
- at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
- SQLState(08003) vendor code(0)
- Could not delte the test subject.
- Subject with the ID-number 0 from Subjects table!
- java.sql.SQLNonTransientConnectionException: No operations allowed after connection closed.
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:526)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:513)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:505)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:479)
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:489)
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:66)
- at com.mysql.cj.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:1882)
- at com.mysql.cj.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:1861)
- at studyplanning.model.DataBaseTestAssisstant.finalize(DataBaseTestAssisstant.java:106)
- at java.lang.System$2.invokeFinalize(Unknown Source)
- at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
- at java.lang.ref.Finalizer.access$100(Unknown Source)
- at java.lang.ref.Finalizer$3.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- SQLState(08003) vendor code(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement