Exception thrown

I’m running a graph that has been working against SQL Server, but now fails against Sybase. I’m reading from a file and inserting rows into a table that don’t already exist, using a sequence to create the unique ID for inserted entries.

Each time I run it, it actually works (correct data in the table), but I get this exception data:

Exception in thread “main” java.lang.RuntimeException: JZ0C0: Connection is already closed.
at org.jetel.lookup.DBLookupTable.free(DBLookupTable.java:611)
at org.jetel.component.DBJoin.free(DBJoin.java:250)
at org.jetel.graph.Phase.free(Phase.java:325)
at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:548)
at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:766)
at org.jetel.main.runGraph.runGraph(runGraph.java:360)
at org.jetel.main.runGraph.main(runGraph.java:288)

I don’t understand why it runs without errors, but shows an error at the end during cleanup…

Hello, this is the bug, which will be fixed in next release. It is caused by wrong order of resource freeing.