Skip to content

CacheManager 类的 Instance 静态属性可能为 null #3749

@a44281071

Description

@a44281071

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

CacheManager类的Instance是从实例构造里初始化的。
这就会导致在某些情况下,直接访问CacheManager造成null异常。
这通常会在Utility静态类中的一些方法中重现异常,如初始化DataTableDynamicContext实例。

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

net8.0

Anything else?

库版本:8.6.4为止有此类问题。

Metadata

Metadata

Assignees

Labels

questionQuestion that needs to be answered

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions