shardingsphere-elasticjob-ui
shardingsphere-elasticjob-ui copied to clipboard
当job未执行过时查看job的详情就会null NPE
https://github.com/apache/shardingsphere-elasticjob-ui/blob/3.0.1-release/shardingsphere-elasticjob-lite-ui/shardingsphere-elasticjob-lite-ui-frontend/src/views/operation-jobs/module/operationJobs.vue#L78
我认为trigger操作应该一直允许, remove v-if="'OK'===scope.row.status"
<el-button
v-if="'OK'===scope.row.status"
:disabled="isGuest"
size="mini"
type="success"
plain
@click="handleTrigger(scope.row)">{{ $t("operationJobs.actionText.trigger") }}</el-button>
[ERROR] 01:33:13.385 [http-nio-8118-exec-9] o.a.s.e.l.u.w.h.RestExceptionHandler - null
java.lang.NullPointerException: null
at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
at java.util.regex.Matcher.reset(Matcher.java:309)
at java.util.regex.Matcher.<init>(Matcher.java:229)
at java.util.regex.Pattern.matcher(Pattern.java:1093)
at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:64)
at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:47)
at org.yaml.snakeyaml.Yaml.loadAs(Yaml.java:427)
at org.apache.shardingsphere.elasticjob.infra.yaml.YamlEngine.unmarshal(YamlEngine.java:50)
at org.apache.shardingsphere.elasticjob.lite.lifecycle.internal.statistics.ShardingStatisticsAPIImpl.getShardingInfo(ShardingStatisticsAPIImpl.java:64)
at org.apache.shardingsphere.elasticjob.lite.lifecycle.internal.statistics.ShardingStatisticsAPIImpl.getShardingInfo(ShardingStatisticsAPIImpl.java:47)
at org.apache.shardingsphere.elasticjob.lite.ui.web.controller.JobOperationController.getShardingInfo(JobOperationController.java:125)