alibaba / alibaba/testable-mock
按文档在test里设置jvmArgs报空指针
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
classpath.find { it.name.contains("testable-agent") }得到的是null,运行会直接报错
使用的版本是0.6.9
gradle 版本4.10
spring boot版本1.5.6


Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the documentation and test configuration that set jvmArgs, then reproduce the null classpath.find result using testable-mock 0.6.9, Gradle 4.10, and Spring Boot 1.5.6. Done means the testable-agent entry is found and the test no longer fails with a null-pointer exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100