Skip to content

Hotswap Agent does not support tk.mybatis plugin, NPE on provider after XML modification #666

Description

@Poceer

Description:
Hotswap Agent fails to support the tk.mybatis plugin. When modifying the MyBatis XML mapping file and performing hot swap, a NullPointerException (NPE) related to the provider occurs.

Steps to Reproduce:

  1. Integrate tk.mybatis plugin in a MyBatis-based project.

  2. Start the application with Hotswap Agent enabled.

  3. Modify the content of the MyBatis XML mapping file (e.g., update SQL statements).

  4. Trigger hot swap; the application throws a NullPointerException where the provider is null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions