alibaba / alibaba/asyncload

AsyncLoadExecutor类的mode设值问题

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
700
Forks
319
PR merge metrics
No merged PRs in 30d

Description

设置``````的时候,由于setMode方法被重载,bean设置的时候出问题
```java
Caused by: java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'com.alibaba.asyncload.AsyncLoadExecutor$HandleMode' for property 'mode': no matching editors or conversion strategy found
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the AsyncLoadExecutor class and its overloaded setMode methods, then reproduce the XML bean configuration using mode="REJECT". Trace how the String value is converted to HandleMode and confirm that the configuration succeeds without the reported IllegalStateException.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.