版本:mcl 2.1.1
mcl-api-https: 2.5.2
JDK 11
Theresa-Bot: 0.7.2
日志文件如下:
2022-10-15 07:06:20,502 [22] ERROR RollingLog [(null)] - sendGeneralPixivImageAsync群消息发送失败
System.NullReferenceException: Object reference not set to an instance of an object.
at Mirai.CSharp.HttpApi.Session.MiraiHttpSession.InternalUploadPictureAsync(InternalSessionInfo session, UploadTarget type, Stream imgStream, Boolean disposeStream, CancellationToken token)
at Theresa3rd_Bot.Handler.PixivHandler.sendGeneralPixivImageAsync(IMiraiHttpSession session, IGroupMessageEventArgs args, String message) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Handler\PixivHandler.cs:line 138
2022-10-15 07:06:21,903 [22] ERROR RollingLog [(null)] - sendGeneralPixivImageAsync异常
System.NullReferenceException: Object reference not set to an instance of an object.
at Mirai.CSharp.HttpApi.Session.MiraiHttpSession.InternalUploadPictureAsync(InternalSessionInfo session, UploadTarget type, Stream imgStream, Boolean disposeStream, CancellationToken token)
at Theresa3rd_Bot.Handler.PixivHandler.sendGeneralPixivImageAsync(IMiraiHttpSession session, IGroupMessageEventArgs args, String message) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Handler\PixivHandler.cs:line 138
版本:mcl 2.1.1 mcl-api-https: 2.5.2 JDK 11 Theresa-Bot: 0.7.2 日志文件如下: 2022-10-15 07:06:20,502 [22] ERROR RollingLog [(null)] - sendGeneralPixivImageAsync群消息发送失败 System.NullReferenceException: Object reference not set to an instance of an object. at Mirai.CSharp.HttpApi.Session.MiraiHttpSession.InternalUploadPictureAsync(InternalSessionInfo session, UploadTarget type, Stream imgStream, Boolean disposeStream, CancellationToken token) at Theresa3rd_Bot.Handler.PixivHandler.sendGeneralPixivImageAsync(IMiraiHttpSession session, IGroupMessageEventArgs args, String message) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Handler\PixivHandler.cs:line 138
2022-10-15 07:06:21,903 [22] ERROR RollingLog [(null)] - sendGeneralPixivImageAsync异常 System.NullReferenceException: Object reference not set to an instance of an object. at Mirai.CSharp.HttpApi.Session.MiraiHttpSession.InternalUploadPictureAsync(InternalSessionInfo session, UploadTarget type, Stream imgStream, Boolean disposeStream, CancellationToken token) at Theresa3rd_Bot.Handler.PixivHandler.sendGeneralPixivImageAsync(IMiraiHttpSession session, IGroupMessageEventArgs args, String message) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\Handler\PixivHandler.cs:line 138