[Libreoffice-bugs] [Bug 93094] Editing - sqlite3 tables read only even when defined with primary key using Xerial jdbc driver

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 31 12:36:39 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=93094

--- Comment #26 from Julien Nabet <serval2412 at yahoo.fr> ---
On pc Debian x86-64 with master sources updated yesterday +
sqlite-jdbc-3.21.0.jar (2017-11-14), I don't reproduce this because I got the
message:
SQLite JDBC: inconsistent internal state.

On console, I got this:
java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state
        at org.sqlite.core.CoreResultSet.checkCol(CoreResultSet.java:81)
        at
org.sqlite.jdbc3.JDBC3ResultSet.getColumnName(JDBC3ResultSet.java:721)

BTW, I created an sqlite 3 db with just salespeople table.
Notice: I did first an sqlite < 3 by using "sqlite" instead of "sqlite3", I got
a crash.
0x00007fffed875b7c in std::type_info::name (this=0x0) at
/usr/include/c++/7/typeinfo:100
100         { return __name[0] == '*' ? __name + 1 : __name; }
(gdb) bt
#0  0x00007fffed875b7c in std::type_info::name() const (this=0x0) at
/usr/include/c++/7/typeinfo:100
#1  0x00007fffed8757d9 in DbgUnhandledException(com::sun::star::uno::Any
const&, char const*, char const*, char const*) (caught=
  uno::Any("com.sun.star.sdbc.SQLException": {<com::sun::star::uno::Exception>
= {Message = "[SQLITE_NOTADB]  File opened that is not a database file (file is
not a database)", Context = uno::Reference to (com::sun::star::uno::XInterface
*) 0x5555583969b8}, SQLState = "", ErrorCode = 26, NextException =
uno::Any(void)}), currentFunction=0x7fffca16d760
<dbaccess::OFilteredContainer::construct(com::sun::star::uno::Sequence<rtl::OUString>
const&, com::sun::star::uno::Sequence<rtl::OUString>
const&)::__PRETTY_FUNCTION__> "void
dbaccess::OFilteredContainer::construct(const
com::sun::star::uno::Sequence<rtl::OUString>&, const
com::sun::star::uno::Sequence<rtl::OUString>&)", fileAndLineNo=0x7fffca16b528
"/home/julien/lo/libreoffice/dbaccess/source/core/api/FilteredContainer.cxx:380:
", explanatory=0x0) at
/home/julien/lo/libreoffice/tools/source/debug/debug.cxx:101
#2  0x00007fffc9f398b3 in
dbaccess::OFilteredContainer::construct(com::sun::star::uno::Sequence<rtl::OUString>
const&, com::sun::star::uno::Sequence<rtl::OUString> const&)
(this=0x555558403210, _rTableFilter=uno::Sequence of length 1 = {...},
_rTableTypeFilter=empty uno::Sequence)
    at
/home/julien/lo/libreoffice/dbaccess/source/core/api/FilteredContainer.cxx:380

but that's another story.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180131/e449244c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list