.NET-SDK wirft eine Nullpointer Exception beim abholen von Anträgen
Description of the bug:
Der Kunde nutzt das .NET-SDK und hat Probleme mit dem Abholen von Anträgen, er bekommt regelmässig eine Null-Pointer Exception beim Abholen von Einreichungen.
Current behavior:
Das Programm des Kunden ermittelt die verfügbaren Einreichungen und versucht diese in einer Schleife abzuholen, dabei tritt eine NPE auf
Expected behavior:
Statt einer NPE sollte vom SDK eine sprechende Fehlermeldung erzeugt werden.
Environments:
Prod
Additional Information:
Dependency / relationship to other issues:
Der Bug könnte mit #1405 zusammenhängen. Verhalten wurde über FCONSD-289 dem FIT-Connect Servciedesk gemeldet
Responsible person / team:
.NET-SDK
Contact persons including contact details:
Screenshots / Logs / Requests:
Stack der Null-Pointer Exception
FitConnect.Exceptions.FitConnectSubscriberException: Error while receiving submission ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.IdentityModel.Tokens.AsymmetricAdapter.SignWithRsa(Byte[] bytes)
at Microsoft.IdentityModel.Tokens.AsymmetricSignatureProvider.Sign(Byte[] input)
at Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.CreateEncodedSignature(String input, SigningCredentials signingCredentials)
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(SecurityToken token)
at FitConnect.Encryption.FitEncryption.<CreateSecurityEventToken>d__33.MoveNext()
at FitConnect.Encryption.FitEncryption.<CreateRejectSecurityEventToken>d__29.MoveNext()
at FitConnect.Subscriber.<CompleteSubmission>d__25.MoveNext()
at FitConnect.Subscriber.<RejectSubmissionAsync>d__7.MoveNext()
at FitConnect.Subscriber.<RejectSubmissionAsync>d__8.MoveNext()
at FitConnect.Subscriber.<CheckSubmissionAsync>d__6.MoveNext()
at FitConnect.Subscriber.<RequestSubmissionAsync>d__5.MoveNext()
— End of inner exception stack trace —
at FitConnect.Subscriber.<RequestSubmissionAsync>d__5.MoveNext()
at FitConnect.Subscriber.<RequestSubmissionAsync>d__4.MoveNext()
at Program.<<Main>$>d__0.MoveNext() in C:\Users\j.borutta\source\repos\XFallTestNet6\XFallTestNet6\TestRun.cs:line 89
Checklist:
-
Add Severity label -
Add team label -
Related/affected issues/stories/epics linked and explained in the bug issue -
Creation of an automated test -
Bugfix deployed on DEV -
Bugfix tested on DEV -
Bugfix deployed on TEST -
Bugfix tested on TEST (possibly also by the connection project itself) -
Successful fix reported to Team Operations (Teams channel) -
Bugfix deployed on STAGE -
Bugfix tested on STAGE if necessary -
Bugfix deployed on PROD -
Bugfix tested on PROD (possibly also by the connection project itself) -
Final communication by Team Operations if necessary -
Internal documentation was checked and updated if necessary -
External documentation has been checked and updated if necessary -
Updated changelog if necessary