error=‘null‘], commandType=io.lettuce.core.RedisPublisher$SubscriptionCommand]

问题

查看java应用启动日志输出下面错误:

error='null'], commandType=io.lettuce.core.RedisPublisher$SubscriptionCommand]

复制代码
Completing command LatencyMeteredCommand [type=INFO, output=StatusOutput [output=# Server
redis_version:4.0.14
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:6eb529b77a3f2394
redis_mode:standalone
os:Linux 6.6.0-28.0.0.34.oe2403.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:12.3.1
process_id:1073
run_id:c4a203cea02169d86b3aaefc65dcac556ae6b0b6
tcp_port:6380
uptime_in_seconds:336208
uptime_in_days:3
hz:10
lru_clock:5232219
executable:/usr/bin/redis-server
config_file:/etc/redis.conf
, error='null'], commandType=io.lettuce.core.RedisPublisher$SubscriptionCommand]
^C

问题解决

commandType=io.lettuce.core.RedisPublisher$SubscriptionCommand 表示这是一个订阅命令,通常用于 Redis 的发布/订阅功能

error='null' 表示在执行 Redis 命令时没有错误,但输出结果为 null。这可能是因为命令没有返回任何数据,或者数据不存在

查看Redis版本

更换到 Redis: 6.0+

问题解决了!

是服务和Redis版本不一致导致




相关推荐
熊猫钓鱼>_>1 天前
从零到一:打造“抗造” Electron 录屏神器的故事
前端·javascript·ffmpeg·electron·node·录屏·record
晚霞的不甘1 天前
Flutter for OpenHarmony《智慧字典》 App 主页深度优化解析:从视觉动效到交互体验的全面升级
前端·flutter·microsoft·前端框架·交互
我是伪码农1 天前
Vue 1.28
前端·javascript·vue.js
Fleshy数模1 天前
零基础玩转HTML:核心标签与页面构建
python·html
鹓于1 天前
Excel一键生成炫彩二维码
开发语言·前端·javascript
siwangdexie_new1 天前
html格式字符串转word文档,前端插件( html-docx-js )遇到兼容问题的解决过程
前端·javascript·html
2601_949613021 天前
flutter_for_openharmony家庭药箱管理app实战+用药提醒列表实现
服务器·前端·flutter
利刃大大1 天前
【Vue】scoped作用 && 父子组件通信 && props && emit
前端·javascript·vue.js
-凌凌漆-1 天前
【Vue】Vue3 vite build 之后空白
前端·javascript·vue.js
心柠1 天前
前端工程化
前端