Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

identifyMember(memberGuid, userGuid) Method producing NPE. #52

Open
coder-shankar opened this issue Nov 3, 2022 · 0 comments
Open

identifyMember(memberGuid, userGuid) Method producing NPE. #52

coder-shankar opened this issue Nov 3, 2022 · 0 comments

Comments

@coder-shankar
Copy link

Stacktrace

Exception in thread "main" java.lang.NullPointerException: Parameter specified as non-null is null: method okhttp3.MediaType$Companion.parse, parameter $this$toMediaTypeOrNull
	at okhttp3.MediaType$Companion.parse(MediaType.kt)
	at okhttp3.MediaType.parse(MediaType.kt)
	at com.mx.client.ApiClient.buildRequest(ApiClient.java:1131)
	at com.mx.client.ApiClient.buildCall(ApiClient.java:1087)
	at com.mx.client.mx_platform_api.MxPlatformApi.identifyMemberCall(MxPlatformApi.java:3497)
	at com.mx.client.mx_platform_api.MxPlatformApi.identifyMemberValidateBeforeCall(MxPlatformApi.java:3514)
	at com.mx.client.mx_platform_api.MxPlatformApi.identifyMemberWithHttpInfo(MxPlatformApi.java:3551)
	at com.mx.client.mx_platform_api.MxPlatformApi.identifyMember(MxPlatformApi.java:3533)
	at com.mx.client.Test.main(Test.java:29)

It seems to me problem is related to following issue
OpenAPITools/openapi-generator#11833

@coder-shankar coder-shankar changed the title identifyMember(memberGuid, userGuid) Method producing NPE identifyMember(memberGuid, userGuid) Method producing NPE. Nov 3, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant