Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-27

ConfigurationBuilder.internalProtocolVersion is not initialized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.0.Alpha1
    • None
    • None
    • None

      ConfigurationBuilder.internalProtocolVersion is not initialized by default to PROTOCOL_VERSION_12. This results in no Codec found in RemoteCacheManagerImpl and leads to segfault later when the first Ping is executed.

      There is no error handling for NULL when the Codec is retrieved.

      Constant PROTOCOL_VERSION_12 is defined three times: in include/Configuration.xxx, src/hotrod/impl/configuration/Configuration.xxx and src/hotrod/impl/configuration/ConfigurationBuilder.xxx

              ttarrant@redhat.com Tristan Tarrant
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: