chatgpt-java icon indicating copy to clipboard operation
chatgpt-java copied to clipboard

Q:

Open DBiao opened this issue 3 months ago • 1 comments

你好

DBiao avatar Mar 26 '24 07:03 DBiao

______________        _____________________________
__  ____/__  /_______ __  /__  ____/__  __ \__  __/
_  /    __  __ \  __ `/  __/  / __ __  /_/ /_  /
/ /___  _  / / / /_/ // /_ / /_/ / _  ____/_  /
\____/  /_/ /_/\__,_/ \__/ \____/  /_/     /_/

You are now at conversation: issue-60 System message set to: 你好 [31mjava.lang.NullPointerException[0m [31mjava.lang.NullPointerException at io.github.kezhenxu94.chatgpt.ConversationImpl.ask(ConversationImpl.java:63) at io.github.kezhenxu94.chatgpt.cli.commands.ConversationCommands.ask(ConversationCommands.java:50) at [email protected]/java.lang.reflect.Method.invoke(Method.java:568) at org.springframework.shell.command.invocation.InvocableShellMethod.doInvoke(InvocableShellMethod.java:306) at org.springframework.shell.command.invocation.InvocableShellMethod.invoke(InvocableShellMethod.java:232) at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:220) at org.springframework.shell.Shell.evaluate(Shell.java:246) at org.springframework.shell.Shell.run(Shell.java:158) at org.springframework.shell.jline.ScriptShellRunner.run(ScriptShellRunner.java:83) at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:65) at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:760) at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:750) at org.springframework.boot.SpringApplication.run(SpringApplication.java:317) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) at io.github.kezhenxu94.chatgpt.cli.ChatGPTCLIApplication.main(ChatGPTCLIApplication.java:32) [0m 2024-03-26T07:16:44.533Z ERROR 1755 --- [ main] o.s.boot.SpringApplication : Application run failed

java.lang.IllegalStateException: Failed to execute ApplicationRunner at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:763) ~[chatgpt:3.0.4] at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:750) ~[chatgpt:3.0.4] at org.springframework.boot.SpringApplication.run(SpringApplication.java:317) ~[chatgpt:3.0.4] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1304) ~[chatgpt:3.0.4] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1293) ~[chatgpt:3.0.4] at io.github.kezhenxu94.chatgpt.cli.ChatGPTCLIApplication.main(ChatGPTCLIApplication.java:32) ~[chatgpt:na] Caused by: java.lang.NullPointerException: null at io.github.kezhenxu94.chatgpt.ConversationImpl.ask(ConversationImpl.java:63) ~[na:na] at io.github.kezhenxu94.chatgpt.cli.commands.ConversationCommands.ask(ConversationCommands.java:50) ~[chatgpt:na] at [email protected]/java.lang.reflect.Method.invoke(Method.java:568) ~[chatgpt:na] at org.springframework.shell.command.invocation.InvocableShellMethod.doInvoke(InvocableShellMethod.java:306) ~[na:na] at org.springframework.shell.command.invocation.InvocableShellMethod.invoke(InvocableShellMethod.java:232) ~[na:na] at org.springframework.shell.command.CommandExecution$DefaultCommandExecution.evaluate(CommandExecution.java:220) ~[na:na] at org.springframework.shell.Shell.evaluate(Shell.java:246) ~[chatgpt:3.0.0] at org.springframework.shell.Shell.run(Shell.java:158) ~[chatgpt:3.0.0] at org.springframework.shell.jline.ScriptShellRunner.run(ScriptShellRunner.java:83) ~[chatgpt:3.0.0] at org.springframework.shell.DefaultShellApplicationRunner.run(DefaultShellApplicationRunner.java:65) ~[chatgpt:3.0.0] at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:760) ~[chatgpt:3.0.4] ... 5 common frames omitted

github-actions[bot] avatar Mar 26 '24 07:03 github-actions[bot]