Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1578

Java Agent makes error messages when NEU property is empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.0.0
    • Fix Version/s: 5.6.0.0, 5.5.0.0
    • Component/s: J2EE Agents
    • Labels:
    • Environment:
      Centos 7 / jdk1.8.0_144 / apache-tomcat-9.0.5 / 5.5.0-SNAPSHOT - 2018-Apr-11 01:51:47
    • Target Version/s:
    • Sprint:
      2018.14 - Bronze

      Description

      Java Agent makes error messages when NEU property is empty.
       

      Steps to reproduce

      1.) Be sure Not Enforced URL list is empty
      2.) Start agent
      3.) Observe debug log

      Observed

      =======================================
      Version: 5.5.0-SNAPSHOT
      Revision: bd0be2811e
      Build Date: 2018-Apr-11 01:51:47
      Build Machine: self.example.com
      =======================================
      
      >2018-04-11 03:49:33:896 PM BST: http-nio-8080-exec-1/5/main
      ERROR: Not enforced rule:  could not be parsed and has been ignored
      >2018-04-11 03:49:33:896 PM BST: http-nio-8080-exec-1/5/main
      ERROR: Not enforced rule:  could not be parsed and has been ignored
      

      Seems that agent tries parse empty neu property to agent and it fails.

      The limitation of this issue is only that agent starts slowly (until this message appears), but I was not observed any functionality issue.

        Attachments

          Activity

            People

            Assignee:
            tony.bamford Tony Bamford
            Reporter:
            richard.hruza Richard Hruza
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: