HaoXuAI commented on PR #5367: URL: https://github.com/apache/seatunnel/pull/5367#issuecomment-1778193700
> I believe the error came from constructor > > ``` > Caused by: org.apache.seatunnel.common.utils.SeaTunnelException: java.lang.NullPointerException > at org.apache.seatunnel.connectors.seatunnel.amazonsqs.sink.AmazonSqsSinkWriter.<init>(AmazonSqsSinkWriter.java:61) > at org.apache.seatunnel.connectors.seatunnel.amazonsqs.sink.AmazonSqsSink.createWriter(AmazonSqsSink.java:90) > at org.apache.seatunnel.connectors.seatunnel.amazonsqs.sink.AmazonSqsSink.createWriter(AmazonSqsSink.java:46) > at org.apache.seatunnel.engine.server.task.flow.SinkFlowLifeCycle.restoreState(SinkFlowLifeCycle.java:286) > at org.apache.seatunnel.engine.server.task.SeaTunnelTask.lambda$restoreState$15(SeaTunnelTask.java:419) > ``` @Hisoka-X thanks, I've fixed the issue. btw looks like the `seatunnel-example` won't use the `sinkfactory` to create sink, so that's not able to test via just the java example code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
