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

[Bug][Manager] Null pointer exception occurred when list file sources #3599

Closed
2 tasks done
healchow opened this issue Apr 11, 2022 · 0 comments · Fixed by #3600
Closed
2 tasks done

[Bug][Manager] Null pointer exception occurred when list file sources #3599

healchow opened this issue Apr 11, 2022 · 0 comments · Fixed by #3600
Assignees
Labels
Milestone

Comments

@healchow
Copy link
Member

healchow commented Apr 11, 2022

What happened

The error stack:

2022-04-11 11:08:45.938 [http-nio-8080-exec-1] ERROR o.a.i.m.web.config.ControllerExceptionHandler:124 - Failed to handle request on path:/api/inlong/manager/source/list, user:admin
 java.lang.NullPointerException: null
         at java.util.ArrayList.addAll(ArrayList.java:577)
         at org.apache.inlong.manager.service.source.StreamSourceServiceImpl.listByCondition(StreamSourceServiceImpl.java:135)
         at org.apache.inlong.manager.service.source.StreamSourceServiceImpl$$FastClassBySp

What you expected to happen

Should not occurred any exception.

How to reproduce

Just add a FILE source, then list them by inlong/manager/source/list?sourceType=FILE&inlongGroupId=test or on web.

Environment

No response

InLong version

master

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant