alibaba / alibaba/jetcache

项目重启后,接着第一个请求会出现cacheContext空指针异常

Open
#595 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Caused by: java.lang.NullPointerException: Cannot invoke "com.alicp.jetcache.anno.support.CacheContext.createCacheInvokeContext(com.alicp.jetcache.anno.support.ConfigMap)" because the return value of "com.alicp.jetcache.anno.support.GlobalCacheConfig.getCacheContext()" is null

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with GlobalCacheConfig.getCacheContext() and CacheContext.createCacheInvokeContext(ConfigMap), then reproduce the first request after restarting the project. Done means the first request no longer throws the reported NullPointerException; the issue does not name a test or source file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
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.