Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6536

NPE on registerClassName() with MappedName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.4
    • binary
    • None

    Description

      NullPointerException occurs in org.apache.ignite.internal.MarshallerContextImpl#registerClassName on trying to compare mappedName.className() of already existed typeId mapping with the new one clsName has come as a parameter.

      Actually org.apache.ignite.internal.processors.marshaller.MappedName#className may not be null but it was. So we should check clsName comes in MappedName constructor, to prevent same NPEs in the future.

      Attachments

        Issue Links

          Activity

            People

              sergey-chugunov Sergey Chugunov
              ein Alexandr Kuramshin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: