Skip to content

[BUG] There is an error in the method of obtaining parameter position mapping, which may result in null pointer exception. #6222

@MaMengzhen

Description

@MaMengzhen

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

There is an error in obtaining the parameter position mapping method, which may result in null pointer exceptions. When obtaining the parameter position mapping, the value in requestTemplate should not be used.

Image

Expected Behavior

In the method of obtaining parameter position mapping, argsPosition should be obtained from configJson.

Image

Steps To Reproduce

  1. Get the value of configJson.
  2. Determine whether the key argsPosition exists and obtain the value of argsPosition from argsPosition

Environment

ShenYu version(s):2.7.0.3-SNAPSHOT

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions