Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当job未执行过时查看job的详情就会null NPE #154

Open
takeseem opened this issue Apr 22, 2022 · 0 comments
Open

当job未执行过时查看job的详情就会null NPE #154

takeseem opened this issue Apr 22, 2022 · 0 comments

Comments

@takeseem
Copy link

takeseem commented Apr 22, 2022

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant