Skip to content

[Bug] [API] api of queryAllWorkerGroupsPaging report parse error #7205

@brave-lee

Description

@brave-lee

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

[INFO] 2021-12-06 14:13:59.008 org.apache.dolphinscheduler.api.aspect.AccessLogAspect:[76] - REQUEST TRANCE_ID:2965f73d-ed1c-4275-a75e-8615f78eea60, LOGIN_USER:admin, URI:/dolphinscheduler/worker-groups, METHOD:GET, HANDLER:org.apache.dolphinscheduler.api.controller.WorkerGroupController.queryAllWorkerGroupsPaging, ARGS:{searchVal=, pageNo=1, pageSize=10}
[ERROR] 2021-12-06 14:13:59.011 org.apache.dolphinscheduler.common.utils.DateUtils:[136] - error while parse date:1638757002436
java.time.format.DateTimeParseException: Text '1638757002436' could not be parsed at index 0
at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1949)
at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1851)
at java.time.LocalDateTime.parse(LocalDateTime.java:492)
at org.apache.dolphinscheduler.common.utils.DateUtils.parse(DateUtils.java:133)
at org.apache.dolphinscheduler.common.utils.DateUtils.stringToDate(DateUtils.java:148)
at org.apache.dolphinscheduler.api.service.impl.WorkerGroupServiceImpl.getWorkerGroups(WorkerGroupServiceImpl.java:290)
at org.apache.dolphinscheduler.api.service.impl.WorkerGroupServiceImpl.queryAllGroupPaging(WorkerGroupServiceImpl.java:191)
at org.apache.dolphinscheduler.api.service.impl.WorkerGroupServiceImpl$$FastClassBySpringCGLIB$$35aefd7a.invoke()

What you expected to happen

It can be displayed normally

How to reproduce

Query worker group page

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting for replyWaiting for replybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions