kontalk / desktopclient-java

Kontalk official platform independent desktop client
https://www.kontalk.org
GNU General Public License v3.0
57 stars 24 forks source link

NPE if incoming message does not contain XMPP ID #99

Closed abika closed 7 years ago

abika commented 7 years ago

Dez 19, 2016 4:54:45 PM org.kontalk.persistence.Database execInsert WARNUNG: can't execute insert: INSERT INTO messages VALUES (NULL,?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [1, null, Mon Dec 19 16:54:45 CET 2016, IN, ... java.sql.SQLException: [SQLITE_CONSTRAINT] Abort due to constraint violation (NOT NULL constraint failed: messages.xmpp_id) at org.sqlite.core.DB.newSQLException(DB.java:890) at org.sqlite.core.DB.newSQLException(DB.java:901) at org.sqlite.core.DB.execute(DB.java:810) at org.sqlite.core.DB.executeUpdate(DB.java:847) at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:86) at org.kontalk.persistence.Database.execInsert(Database.java:255) at org.kontalk.model.message.KonMessage.(KonMessage.java:161) at org.kontalk.model.message.InMessage.(InMessage.java:46) at org.kontalk.model.Model.createInMessage(Model.java:102)