Uploaded image for project: 'lispflowmapping'
  1. lispflowmapping
  2. LISPMAP-109

NPE while removing mapping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • Beryllium
    • Northbound
    • None
    • Operating System: All
      Platform: All

    • 5624

      hello team,

      I encountered following problem.

      I tried to call method IMappingService.removeMapping(Norhtbound, eid) [1]. Eid parameter was specified as instanceof SourceDestKey.
      Method [1] calls DataStoreBackEnd.removeMapping(mapping) [2] method. Input parameter mapping is constructed through util method DSBEInputUtil.toMapping() [3] which returns Mapping instance where mappingRecord field isnt' set.
      Then in method [2] there is call mapping.getMappingRecord().getEid() which will cause NullPointerException because getMappingRecord returns null.

            Unassigned Unassigned
            jgloncak Jozef Gloncak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: