killme2008 / killme2008/Metamorphosis

reload偶尔有几次抛出NullPointException

Open
#79 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
1.3k
Forks
672
PR merge metrics
No merged PRs in 30d

Description

tools日志默认打在控制台找不回来了,抛异常在new File这里。我找不到运行期间有可能清空this.path的代码。

MetaConfig

@Override
public void reload() {
final File file = new File(this.path);

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in MetaConfig.reload(), especially the new File(this.path) call, and investigate how this.path can become null during reload. Check the available tools logs and the reload path to reproduce the intermittent exception. Done means the cause is identified and reload no longer throws the reported NullPointException.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.