Xuzhengz opened a new issue, #6174:
URL: https://github.com/apache/seatunnel/issues/6174

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   DEBUG org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - 
java.lang.NullPointerException
   
   ### SeaTunnel Version
   
   dev
   
   ### SeaTunnel Config
   
   ```conf
   {
     "env": {
       "execution.parallelism": "1",
       "job.mode": "BATCH"
     },
     "source": [
       {
         "plugin_name": "jdbc",
         "url": 
"jdbc:mysql://172.16.11.183:3306/ocean_intelligence?remarks=true&useInformationSchema=true&useCursorFetch=true&defaultFetchSize=2048",
         "password": "****",
         "user": "****",
         "driver": "com.mysql.cj.jdbc.Driver",
         "query": "SELECT `id`,`name`,`age`,`sex`,`habitation` FROM `test`",
         "result_table_name": "fake"
       }
     ],
     "transform": [
     ],
     "sink": [
       {
         "source_table_name": "fake",
         "plugin_name": "Console"
       }
     ]
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh -c demo.json
   ```
   
   
   ### Error Exception
   
   ```log
   2024-01-10 14:34:17,244 DEBUG 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser - 
java.lang.NullPointerException
        at 
org.apache.seatunnel.connectors.seatunnel.console.sink.ConsoleSinkFactory.createSink(ConsoleSinkFactory.java:60)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.lambda$parseSink$7(MultipleTableJobConfigParser.java:527)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.isFallback(MultipleTableJobConfigParser.java:274)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSink(MultipleTableJobConfigParser.java:523)
        at 
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:194)
        at 
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:88)
        at 
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:161)
        at 
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:146)
        at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
        at 
org.apache.seatunnel.example.engine.SeaTunnelEngineExample.main(SeaTunnelEngineExample.java:48)
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   1.8
   
   ### Screenshots
   
   <img width="1206" alt="image" 
src="https://github.com/apache/seatunnel/assets/90698333/2648e3f5-16b6-4c83-99f9-b0193d94580f";>
   
   
   ### 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]

Reply via email to