报错显示:
[ERROR]-[2019-05-12 22:43:30]-[org.b3log.solo.service.ArticleMgmtService:210]: Updates github repos option failed
org.b3log.latke.service.ServiceException: org.b3log.latke.repository.RepositoryException: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x92\xBE\xE7\xAE...' for column 'optionValue' at row 1
at org.b3log.solo.service.OptionMgmtService.addOrUpdateOption(OptionMgmtService.java:82)
at org.b3log.solo.service.OptionMgmtService_$$_jvstfc3_6._d0addOrUpdateOption(OptionMgmtService_$$_jvstfc3_6.java)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
at org.b3log.solo.service.OptionMgmtService_$$_jvstfc3_6.addOrUpdateOption(OptionMgmtService_$$_jvstfc3_6.java)
at org.b3log.solo.service.ArticleMgmtService.refreshGitHub(ArticleMgmtService.java:208)
at org.b3log.solo.service.ArticleMgmtService_$$_jvstfc3_1c._d12refreshGitHub(ArticleMgmtService_$$_jvstfc3_1c.java)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
at org.b3log.solo.service.ArticleMgmtService_$$_jvstfc3_1c.refreshGitHub(ArticleMgmtService_$$_jvstfc3_1c.java)
at org.b3log.solo.service.CronMgmtService.lambda$start$1(CronMgmtService.java:99)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.b3log.latke.repository.RepositoryException: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x92\xBE\xE7\xAE...' for column 'optionValue' at row 1
at org.b3log.latke.repository.jdbc.JdbcRepository.add(JdbcRepository.java:155)
at org.b3log.latke.repository.AbstractRepository.add(AbstractRepository.java:100)
at org.b3log.solo.service.OptionMgmtService.addOrUpdateOption(OptionMgmtService.java:65)
... 22 more
Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x92\xBE\xE7\xAE...' for column 'optionValue' at row 1
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:975)
at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:392)
at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
at org.b3log.latke.repository.jdbc.util.JdbcUtil.executeSql(JdbcUtil.java:91)
at org.b3log.latke.repository.jdbc.JdbcRepository.add(JdbcRepository.java:150)
... 24 more
感觉不像是数据库编码的问题,白天还正常能用