Synapse
  1. Synapse
  2. SYNAPSE-725

Null pointer not checked in Address Endpoint #onFault Method

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:
      jdk 1.6_23 , ubuntu OS

      Description

      Address endpoint does not check for null pointer on onFault method. This will cause an error for non-initialized endpoints ,etc

      1. add_ep.patch
        1 kB
        Udayanga Wickramasinghe
      2. endpoint_update.patch
        0.8 kB
        Udayanga Wickramasinghe

        Activity

        Hide
        Udayanga Wickramasinghe added a comment -

        please review and commit

        Show
        Udayanga Wickramasinghe added a comment - please review and commit
        Hide
        Udayanga Wickramasinghe added a comment -

        patch does the following. rather than checking null pointers (as in the previous patch) ,we avoid it in the first place . Endpoints should throw an error if they are not initialized properly . please review and commit

        Show
        Udayanga Wickramasinghe added a comment - patch does the following. rather than checking null pointers (as in the previous patch) ,we avoid it in the first place . Endpoints should throw an error if they are not initialized properly . please review and commit
        Hide
        Supun Kamburugamuva added a comment -

        Applied the patch. Thanks Udayanga for the contribution.

        Show
        Supun Kamburugamuva added a comment - Applied the patch. Thanks Udayanga for the contribution.

          People

          • Assignee:
            Unassigned
            Reporter:
            Udayanga Wickramasinghe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development