Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.8.12, 1.9.8
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      4050

      Description

      I just upgraded from 1.8.2 to 1.8.3. Although I hadn't looked at the outage editor in 1.8.2, it appears to be broke in 1.8.3. When I create a new scheduled outage and attempt to add a node (or interface), I get a partial listing of nodes (or interfaces) on a scrollable list. However it doesn't show all nodes (or interfaces) when I scroll to the bottom, and there's no paging mechanism to get more.

      also, hitting either of the "add" buttons without first selecting a node or interface causes errors. For add node:

      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      at java.lang.Integer.parseInt(Integer.java:470)
      at java.lang.Integer.parseInt(Integer.java:499)
      at org.opennms.web.WebSecurityUtils.safeParseInt(WebSecurityUtils.java:126)

      for add interface, the error doesn't show up until you save:

      ValidationException: The following exception occured while validating field: _outageList of class: org.opennms.netmgt.config.poller.Outages: The following exception occured while validating field: _interfaceList of class: org.opennms.netmgt.config.poller.Outage: The following exception occured while validating field: _address of class: org.opennms.netmgt.config.poller.Interface: does not match the required regular expression: "([01]?[0-9][0-9]?|2[0-4][0-9]|25[0-5])(\.([01]?[0-9][0-9]?|2[0-4][0-9]|25[0-5]))

      {3}|(match-any)";
      - location of error: XPATH: /outages
      The following exception occured while validating field: _interfaceList of class: org.opennms.netmgt.config.poller.Outage: The following exception occured while validating field: _address of class: org.opennms.netmgt.config.poller.Interface: does not match the required regular expression: "([01]?[0-9][0-9]?|2[0-4][0-9]|25[0-5])(\.([01]?[0-9][0-9]?|2[0-4][0-9]|25[0-5])){3}

      |(match-any)"
      at org.exolab.castor.xml.FieldValidator.validate(FieldValidator.java:277)
      at org.exolab.castor.xml.util.XMLClassDescriptorImpl.validate(XMLClassDescriptorImpl.java:1048)
      at org.exolab.castor.xml.Validator.validate(Validator.java:127)
      at org.exolab.castor.xml.Marshaller.validate(Marshaller.java:2527)
      at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:824)
      at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:730)
      at org.opennms.netmgt.config.PollOutagesConfigManager.saveCurrent(PollOutagesConfigManager.java:397)

      Version: 1.8.3
      Server Time: Fri Aug 13 13:33:39 PDT 2010
      Client Time: Fri Aug 13 2010 13:33:39 GMT-0700 (PST)
      Java Version: 1.6.0_20 Sun Microsystems Inc.
      Java Virtual Machine: 16.3-b01 Sun Microsystems Inc.
      Operating System: Linux 2.6.26-2-amd64 (amd64)
      Servlet Container: jetty/6.1.24 (Servlet Spec 2.5)
      User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                ayresw@gmail.com Bill Ayres
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: