保存文章bug,保存分类bug
Created by: rookiehander
是什么版本出现了此问题?
1.5.0-alpha.1
使用的什么数据库?
MySQL 8.x
使用的哪种方式部署?
Docker
在线站点地址
No response
发生了什么?
修改日志或者文章的时候,会出现500.
相关日志输出
java.lang.IllegalArgumentException: json value must not be null
at org.springframework.util.Assert.hasText(Assert.java:289) ~[spring-core-5.3.15.jar:5.3.15]
at run.halo.app.cache.AbstractStringCacheStore.jsonToCacheWrapper(AbstractStringCacheStore.java:22) ~[classes/:1.5.0-alpha.1]
at run.halo.app.cache.LevelCacheStore.lambda$toMap$0(LevelCacheStore.java:127) ~[classes/:1.5.0-alpha.1]
at java.base/java.lang.Iterable.forEach(Unknown Source) ~[na:na]
at run.halo.app.cache.LevelCacheStore.toMap(LevelCacheStore.java:124) ~[classes/:1.5.0-alpha.1]
at run.halo.app.service.impl.AuthorizationServiceImpl.doDeleteAuthorization(AuthorizationServiceImpl.java:67) ~[classes/:1.5.0-alpha.1]
at run.halo.app.service.impl.AuthorizationServiceImpl.deleteCategoryAuthorization(AuthorizationServiceImpl.java:57) ~[classes/:1.5.0-alpha.1]
at run.halo.app.service.impl.CategoryServiceImpl.update(CategoryServiceImpl.java:540) ~[classes/:1.5.0-alpha.1]
at run.halo.app.service.impl.CategoryServiceImpl.update(CategoryServiceImpl.java:60) ~[classes/:1.5.0-alpha.1]
at run.halo.app.service.impl.CategoryServiceImpl$$FastClassBySpringCGLIB$$816363be.invoke(<generated>) ~[classes/:1.5.0-alpha.1]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123) ~[spring-tx-5.3.15.jar:5.3.15]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388) ~[spring-tx-5.3.15.jar:5.3.15]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119) ~[spring-tx-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:698) ~[spring-aop-5.3.15.jar:5.3.15]
at run.halo.app.service.impl.CategoryServiceImpl$$EnhancerBySpringCGLIB$$6c6facc7.update(<generated>) ~[classes/:1.5.0-alpha.1]
at run.halo.app.controller.admin.api.CategoryController.updateBy(CategoryController.java:90) ~[classes/:1.5.0-alpha.1]
at run.halo.app.controller.admin.api.CategoryController$$FastClassBySpringCGLIB$$93c205c3.invoke(<generated>) ~[classes/:1.5.0-alpha.1]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:783) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:753) ~[spring-aop-5.3.15.jar:5.3.15]
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89) ~[spring-aop-5.3.15.jar:5.3.15]
at run.halo.app.core.ControllerLogAop.controller(ControllerLogAop.java:48) ~[classes/:1.5.0-alpha.1]
at jdk.internal.reflect.GeneratedMethodAccessor174.invoke(Unknown Source) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
附加信息
No response