Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ClassCastException in TargetInfo.java (ntlm) #712

Closed
bubbleguuum opened this issue May 9, 2022 · 3 comments
Closed

ClassCastException in TargetInfo.java (ntlm) #712

bubbleguuum opened this issue May 9, 2022 · 3 comments

Comments

@bubbleguuum
Copy link

I've seen this crash report form a user. This is probably fairly rare and specific to a SMB server or setup:

java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
at com.hierynomus.ntlm.messages.TargetInfo.writeTo(TargetInfo.java:88)
at com.hierynomus.ntlm.functions.NtlmFunctions.getNTLMv2ClientChallenge(NtlmFunctions.java:196)
at com.hierynomus.smbj.auth.NtlmAuthenticator.authenticate(NtlmAuthenticator.java:103)
at com.hierynomus.smbj.connection.SMBSessionBuilder.processAuthenticationToken(SMBSessionBuilder.java:178)
at com.hierynomus.smbj.connection.SMBSessionBuilder.setupSession(SMBSessionBuilder.java:141)
at com.hierynomus.smbj.connection.SMBSessionBuilder.establish(SMBSessionBuilder.java:109)
at com.hierynomus.smbj.connection.Connection.authenticate(Connection.java:202)
@hierynomus
Copy link
Owner

Thanks for reporting, I've updated the cast to be correct.

@l00251692
Copy link

I also met this exception,is there any plan to update a release version to cover this issue ? Seeing the latest version is still on v0.11.5, Thanks

@rongway777
Copy link

Also, is there any plan to release a new version soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants