【问题标题】:arthas ognl map return nullarthas ognl 地图返回 null
【发布时间】:2021-12-28 12:21:37
【问题描述】:

这是一张地图返回

@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(@String[6])' 是一个例外。

这是我的台词。

ognl @com.elex.billion.icefire.game.Application@getBean(@com.elex.billion.icefire.game.biz.manager.MissionManager@class).getPlayerChapterMission(100000000000031L).getChapterId2Info().get(6)

如何用钥匙获得价值?谢谢。

【问题讨论】:

    标签: dictionary ognl


    【解决方案1】:
    ognl @com.elex.billion.icefire.game.Application@getBean(@com.elex.billion.icefire.game.biz.manager.MissionManager@class).getPlayerChapterMission(100000000000031L).getChapterId2Info().get(\"6\")
    

    【讨论】:

    • 您能edit 解释一下您在回答中做了什么吗?
    猜你喜欢
    • 1970-01-01
    • 2018-02-26
    • 1970-01-01
    • 2023-03-20
    • 2016-03-23
    • 2013-02-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多