games647 / FlexibleLogin

A Sponge minecraft server plugin for second factor authentication
https://forums.spongepowered.org/t/8872
MIT License
87 stars 22 forks source link

Time stamp error #91

Closed FilipK-CZ closed 6 years ago

FilipK-CZ commented 6 years ago

I am currently running

Plugins: Minecraft, Minecraft Coder Pack, SpongeAPI, SpongeForge, GriefPrevention, InstantRespawn, LuckPerms, Nucleus, ProjectCore, ProjectWorlds, SkinsRestorer, Web-API, Web-API API

[23:53:15] [pool-3-thread-12/ERROR] [flexiblelogin]: Error updating user account
org.h2.jdbc.JdbcSQLException: Cannot parse "TIMESTAMP" constant "1513464795591"; SQL statement:
UPDATE flexiblelogin_users SET Username=?, Password=?, IP=?, LastLogin=?, Email=?, LoggedIn=? WHERE UUID=? [22007-196]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:345) ~[DbException.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.message.DbException.get(DbException.java:168) ~[DbException.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.value.ValueTimestamp.parse(ValueTimestamp.java:122) ~[ValueTimestamp.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.value.Value.convertTo(Value.java:950) ~[Value.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.table.Column.convert(Column.java:167) ~[Column.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.command.dml.Update.update(Update.java:121) ~[Update.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.command.CommandContainer.update(CommandContainer.java:101) ~[CommandContainer.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.command.Command.executeUpdate(Command.java:260) ~[Command.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:207) ~[JdbcPreparedStatement.class:1.12.2-2555-7.0.0-BETA-2774]
        at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44) ~[ProxyPreparedStatement.class:1.12.2-2555-7.0.0-BETA-2774]
        at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java) ~[HikariProxyPreparedStatement.class:1.12.2-2555-7.0.0-BETA-2774]
        at com.github.games647.flexiblelogin.Database.save(Database.java:323) ~[Database.class:?]
        at com.github.games647.flexiblelogin.tasks.LoginTask.run(LoginTask.java:88) ~[LoginTask.class:?]
        at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:139) ~[Task$Builder.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:186) ~[SchedulerBase.class:1.12.2-2555-7.0.0-BETA-2774]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_151]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_151]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.lang.IllegalArgumentException: 1513464795591
        at org.h2.util.DateTimeUtils.parseDateValue(DateTimeUtils.java:313) ~[DateTimeUtils.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.value.ValueTimestamp.parseTry(ValueTimestamp.java:140) ~[ValueTimestamp.class:1.12.2-2555-7.0.0-BETA-2774]
        at org.h2.value.ValueTimestamp.parse(ValueTimestamp.java:120) ~[ValueTimestamp.class:1.12.2-2555-7.0.0-BETA-2774]
        ... 17 more