Skip to content

config.getConnectionProperties()可能出现空指针问题 #604

@qq592304796

Description

@qq592304796

Please fill it out carefully, or it will be closed.
请认真填写,不然会直接关闭。

Enviroment

JDK Version(required): 1.8

SpringBoot Version(required): 2.3.10.RELEASE

dynamic-datasource-spring-boot-starter Version(required):4.2.0

druid Version(optional):1.2.20

Describe what happened

config.getConnectionProperties()可能出现空指针问题
image
image

Expected Result:
connectProperties赋值前,进行初始化

Actual Result:

If there is an exception,or aop invalid,please attach the exception trace:

Just paste your stack trace here!

Steps to reproduce

  • Step 1

  • Step 2

  • Step 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions