首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >arthas ognl映射返回空

arthas ognl映射返回空
EN

Stack Overflow用户
提问于 2021-12-28 12:21:37
回答 1查看 32关注 0票数 0

这是地图返回

代码语言:javascript
运行
复制
@LinkedHashMap[
    @String[6]:@ChapterInfo[com.elex.billion.icefire.game.biz.model.mission.chapterMission.ChapterInfo@50d60a4a],
    @String[7]:@ChapterInfo[com.elex.billion.icefire.game.biz.model.mission.chapterMission.ChapterInfo@4a5f4b44],
    @String[8]:@ChapterInfo[com.elex.billion.icefire.game.biz.model.mission.chapterMission.ChapterInfo@2d8b8b8e],
    @String[9]:@ChapterInfo[com.elex.billion.icefire.game.biz.model.mission.chapterMission.ChapterInfo@5990bae5],
    @String[10]:@ChapterInfo[com.elex.billion.icefire.game.biz.model.mission.chapterMission.ChapterInfo@39747fc7],
    @String[11]:@ChapterInfo[com.elex.billion.icefire.game.biz.model.mission.chapterMission.ChapterInfo@94106c6],
]

但是我使用'get(6)‘返回null。“‘get(@String6)”是一个例外。

这是我的台词。

代码语言:javascript
运行
复制
ognl @com.elex.billion.icefire.game.Application@getBean(@com.elex.billion.icefire.game.biz.manager.MissionManager@class).getPlayerChapterMission(100000000000031L).getChapterId2Info().get(6)

我怎么能用钥匙得到价值呢?谢谢。

EN

回答 1

Stack Overflow用户

发布于 2022-02-06 12:01:50

代码语言:javascript
运行
复制
ognl @com.elex.billion.icefire.game.Application@getBean(@com.elex.billion.icefire.game.biz.manager.MissionManager@class).getPlayerChapterMission(100000000000031L).getChapterId2Info().get(\"6\")
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70507001

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档