You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
�[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 java.base@17.0.6/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-14T04:34:32.423Z ERROR 1723 --- [ 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 java.base@17.0.6/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
Activity
github-actions commentedon Mar 14, 2024
You are now at conversation: issue-59
�[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 java.base@17.0.6/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-14T04:34:32.423Z ERROR 1723 --- [ 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 java.base@17.0.6/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