Uploaded image for project: 'sfc'
  1. sfc
  2. SFC-143

Wrong run-time check for variable value

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 5871
    • Lowest

    Description

      In file SfcScfOfProcessor.java, starting at line 114:

      if (sclsff.getAttachmentPointType() instanceof Interface) {
      Interface itf = (Interface) sclsff.getAttachmentPointType();
      if (itf == null) {
      LOG.error("createdServiceFunctionClassifier: attachment point is null\n");
      continue;
      }

      String itfName = itf.getInterface();
      if (itf == null) {
      LOG.error("createdServiceFunctionClassifier: interface is null\n");
      continue;
      }

      The line within asterisks is clearly wrong, it should be:

      if (itfName == null) {

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jesus.javier.arauz@ericsson.com Javier Arauz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: