Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JdbcSlim not working with CsvDriver #36

Open
joroelev opened this issue Dec 13, 2019 · 0 comments
Open

JdbcSlim not working with CsvDriver #36

joroelev opened this issue Dec 13, 2019 · 0 comments

Comments

@joroelev
Copy link

In order to query a CSV file I'm trying to setup jdbcslim with CsvDriver in my FitNesse project. First step is to get the CsvDriver tests (PlugIns.JdbcSlim.XxTestMoreDrivers.CsvDriver.Tests.1ASimpleExample) to work. I'm however not able to get them to pass. Jsdbslim seems to call an unimplemented method on CsvDriver.

Failing_PlugIns JdbcSlim XxTestMoreDrivers CsvDriver Test

Full stacktrace:

__EXCEPTION__:java.lang.UnsupportedOperationException: Method not supported: Connection.prepareCall(String) at org.relique.jdbc.csv.CsvConnection.prepareCall(CsvConnection.java:624) [csvjdbc-1.0.36.jar] at six42.fitnesse.jdbcslim.SQLCommand.dbExecute(SQLCommand.java:119) [jdbcslim-1.2.4.jar:1.2.4] at six42.fitnesse.jdbcslim.SQLCommand.execute(SQLCommand.java:85) [jdbcslim-1.2.4.jar:1.2.4] at six42.fitnesse.jdbcslim.SheetCommandBase.execute(SheetCommandBase.java:88) [jdbcslim-1.2.4.jar:1.2.4] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_201] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_201] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_201] at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_201] at fitnesse.slim.fixtureInteraction.SimpleInteraction.methodInvoke(SimpleInteraction.java:256) [fitnesse-standalone.jar:20191110] at fitnesse.slim.fixtureInteraction.SimpleInteraction.callMethod(SimpleInteraction.java:241) [fitnesse-standalone.jar:20191110] at fitnesse.slim.fixtureInteraction.SimpleInteraction.invokeMethod(SimpleInteraction.java:223) [fitnesse-standalone.jar:20191110] at fitnesse.slim.fixtureInteraction.SimpleInteraction.findAndInvoke(SimpleInteraction.java:185) [fitnesse-standalone.jar:20191110] at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:18) [fitnesse-standalone.jar:20191110] at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:18) [fitnesse-standalone.jar:20191110] at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:139) [fitnesse-standalone.jar:20191110] at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:112) [fitnesse-standalone.jar:20191110] at fitnesse.slim.instructions.CallAndOptionalAssignInstruction.executeInternal(CallAndOptionalAssignInstruction.java:30) [fitnesse-standalone.jar:20191110] at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29) [fitnesse-standalone.jar:20191110] at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49) [fitnesse-standalone.jar:20191110] at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43) [fitnesse-standalone.jar:20191110] at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:82) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:75) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:62) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimServer.serve(SlimServer.java:47) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimService.handle(SlimService.java:169) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimService.acceptOne(SlimService.java:177) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimService.accept(SlimService.java:139) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimService.startWithFactory(SlimService.java:92) [fitnesse-standalone.jar:20191110] at fitnesse.slim.SlimService.main(SlimService.java:57) [fitnesse-standalone.jar:20191110]

Is there a way to make CsvDriver work with jdbcslim or is this a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant