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] [admin] Sysinit udf NPE #3099

Closed
2 of 3 tasks
gaoyan1998 opened this issue Jan 30, 2024 · 3 comments
Closed
2 of 3 tasks

[Bug] [admin] Sysinit udf NPE #3099

gaoyan1998 opened this issue Jan 30, 2024 · 3 comments
Assignees
Labels
Bug Something isn't working

Comments

@gaoyan1998
Copy link
Contributor

Search before asking

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

What happened

----------------------------------------------------------
Application 'Dinky' is running! Access URLs:
Local:          http://localhost:8888
External:       http://10.42.0.147:8888
Doc:    http://10.42.0.147:8888/doc.html
Druid Monitor:  http://10.42.0.147:8888/druid/index.html
Actuator:       http://10.42.0.147:8888/actuator
----------------------------------------------------------
[dinky] 2024-01-30 21:41:56.869   INFO    18 --- [           main] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[dinky] 2024-01-30 21:41:56.901  ERROR    18 --- [           main] org.springframework.boot.SpringApplication: Application run failed
java.lang.IllegalStateException: Failed to execute ApplicationRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:762) ~[spring-boot-2.7.11.jar:2.7.11]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:749) ~[spring-boot-2.7.11.jar:2.7.11]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) ~[spring-boot-2.7.11.jar:2.7.11]
at org.dinky.Dinky.main(Dinky.java:47) ~[dinky-admin-1.0.0-rc3.jar:?]
Caused by: java.lang.NullPointerException
at org.dinky.utils.UDFUtils.taskToUDF(UDFUtils.java:32) ~[dinky-admin-1.0.0-rc3.jar:?]
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
at java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:?]
at org.dinky.init.SystemInit.registerUDF(SystemInit.java:225) ~[dinky-admin-1.0.0-rc3.jar:?]
at org.dinky.init.SystemInit.run(SystemInit.java:110) ~[dinky-admin-1.0.0-rc3.jar:?]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:759) ~[spring-boot-2.7.11.jar:2.7.11]
... 3 more
[dinky] 2024-01-30 21:41:56.908   INFO    18 --- [           main] org.springframework.messaging.simp.broker.SimpleBrokerMessageHandler: Stopping...
[dinky] 2024-01-30 21:41:56.908   INFO    18 --- [           main] org.springframework.messaging.simp.broker.SimpleBrokerMessageHandler: BrokerAvailabilityEvent[available=false, SimpleBrokerMessageHandler [org.springframework.messaging.simp.broker.DefaultSubscriptionRegistry@7d2b832]]
[dinky] 2024-01-30 21:41:56.909   INFO    18 --- [           main] org.springframework.messaging.simp.broker.SimpleBrokerMessageHandler: Stopped.
[dinky] 2024-01-30 21:41:56.934   WARN    18 --- [    scheduler-1] oshi.util.Util: Interrupted while sleeping for 1000 ms: sleep interrupted
[dinky] 2024-01-30 21:41:56.940   INFO    18 --- [           main] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} closing ...
[dinky] 2024-01-30 21:41:56.945   INFO    18 --- [           main] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} closed

What you expected to happen

npe

How to reproduce

npe

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@gaoyan1998 gaoyan1998 added Bug Something isn't working Waiting for reply Waiting for reply labels Jan 30, 2024
Copy link

Hello, this issue is about UDF, so I assign it to @gaoyan1998 and @zackyoungh. If you have any questions, you can comment and reply.

你好, 这个 issue 是关于 UDF 的,所以我把它分配给了 @gaoyan1998@zackyoungh。如有任何问题,可以评论回复。

Copy link

Hello, this issue is about CDC/CDCSOURCE, so I assign it to @aiwenmo. If you have any questions, you can comment and reply.

你好, 这个 issue 是关于 CDC/CDCSOURCE 的,所以我把它分配给了 @aiwenmo。如有任何问题,可以评论回复。

@Zzm0809 Zzm0809 removed the Waiting for reply Waiting for reply label Jan 30, 2024
@gaoyan1998
Copy link
Contributor Author

solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants