Skip to content

jdbc: NPE when with libreoffice base tool #198

Open

Description

@Totktonada

I have added Tools → Options → LibreOffice → Advanced → Class Path... → /path/to/connector-1.9.3-SNAPSHOT.jar

Then I open LibreOffice Base tool and create a connection via JDBC (jdbc:tarantool://localhost:3301, JDBC driver class org.tarantool.jdbc.SQLDriver). 'Test connection' succeeds. After that I don't see my tables in 'Tables' tab. Also I tried to perform simple select * from "s" request and got 'the data content could not be loaded'.

Once I get the following error in a console (from which I run libreoffice):

java.lang.NullPointerException
  at org.tarantool.jdbc.SQLPreparedStatement.getMetaData(SQLPreparedStatement.java:316)

But now I'm not sure how to reproduce it.

Activity

  1. Totktonada commented on Jun 4, 2019

    @Totktonada
    Author

    Reproduced now. It seems that I was unable to reproduce, because the connector package was contain my attempts to workaround the issue. The exception is shown after the query above created with 'Create Query in SQL View...' under 'Queries' tab.

  2. added this to the JDBC MVP milestone on Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions