Coder-Gorson opened a new issue, #1659: URL: https://github.com/apache/incubator-seatunnel/issues/1659
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened JdbcSource method throws NullPointerException when I run seatunnel demo . Is this a bug? or I run with an error config. ### SeaTunnel Version seatunnel-2.1.0 ### SeaTunnel Config ```conf env { execution.parallelism = 1 } source { JdbcSource { driver = com.mysql.cj.jdbc.Driver url = "jdbc:mysql://192.168.31.??/prcd_db_dev" username = usr password = pwd #varchar varchar varchar query = "select bp_appl_seq, cust_name, sale_prd_name from appl_info" } } transform { } sink { ConsoleSink{} } ``` ### Running Command ```shell sh ./bin/start-seatunnel-flink.sh -c ./config/flink.batch.mysql2console ``` ### Error Exception ```log [seatunnel@cube_ycloans_app1 seatunnel-2.1.0]$ sh ./bin/start-seatunnel-flink.sh -c ./config/flink.batch.mysql2console ------------------------------------------------------------ The program finished with the following exception: org.apache.flink.client.program.ProgramInvocationException: The main method caused an error: null at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:372) at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222) at org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114) at org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:812) at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:246) at org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1054) at org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1132) at org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28) at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1132) Caused by: java.lang.NullPointerException at org.apache.flink.api.java.typeutils.TupleTypeInfoBase.<init>(TupleTypeInfoBase.java:64) at org.apache.flink.api.java.typeutils.RowTypeInfo.<init>(RowTypeInfo.java:89) at org.apache.seatunnel.flink.source.JdbcSource.getRowTypeInfo(JdbcSource.java:210) at org.apache.seatunnel.flink.source.JdbcSource.prepare(JdbcSource.java:170) at org.apache.seatunnel.flink.source.JdbcSource.prepare(JdbcSource.java:60) at org.apache.seatunnel.Seatunnel.lambda$prepare$0(Seatunnel.java:160) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.apache.seatunnel.Seatunnel.prepare(Seatunnel.java:160) at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:104) at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65) at org.apache.seatunnel.SeatunnelFlink.main(SeatunnelFlink.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355) ... 8 more ``` ### Flink or Spark Version flink-1.13.0 ### Java or Scala Version Java 1.8 ### Screenshots     ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
