Java client exception after RO upgrade from 10.0.0.1463 to 10.0.0.1471

Hi

Server: Delphi, TROIndyHTTPServer, TROBinMessage
Client: Android, HttpClientChannel, BinMessage

I have upgraded RemObjects client and server from 10.0.0.1463 to 10.0.0.1471.

I’m getting Client “Attempt to invoke virtual method ‘int java.lang.String.length()’ on a null object reference” exception.

I have noticed that com.remobjects.sdk.jar lib size has been increased twice:
10.0.0.1463 - 73,204 bytes
10.0.0.1471 - 142,857 bytes

Quick fix: just replace 10.0.0.1471 com.remobjects.sdk.jar file with 10.0.0.1463 jar file in upgraded client.

Please advise.

Regards

Hello

Could you provide a full stacktrace for this exception?

java.lang.NullPointerException: Attempt to invoke virtual method ‘int java.lang.String.length()’ on a null object reference
at com.remobjects.sdk.HttpClientChannel.initHttpRequest(c:\CI\b\rofx\937\RemObjects SDK for Java\Source\com.remobjects.sdk\HttpClientChannel.pas:70)
at com.remobjects.sdk.HttpClientChannel.internalDispatch(c:\CI\b\rofx\937\RemObjects SDK for Java\Source\com.remobjects.sdk\HttpClientChannel.pas:85)
at com.remobjects.sdk.ClientChannel.dispatch(c:\CI\b\rofx\937\RemObjects SDK for Java\Source\com.remobjects.sdk\ClientChannel.pas:140)

Hello

This looks like a compiler error. As a workaround you can use the older .jar version

I will review the code of Remoting SDK and Data Abstract to avoid this issue.

Sorry for the inconvenience

Thanks, logged as bugs://84699

bugs://84699 got closed with status fixed.