Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-610

Parser error with regex

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 5875

    Description

      Yangtools Be fails to parse the attached tail-f AAA model.
      This is with patch for YANGTOOLS-605 applied.

      Caused by: java.lang.IllegalArgumentException: Failed to parse element [password: null] as leaf AbsoluteSchemaPath

      {path=[(http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)aaa, (http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)authentication, (http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)users, (http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)user, (http://tail-f.com/ns/aaa/1.1?revision=2015-06-16)password]}

      Caused by: java.lang.IllegalArgumentException: String ^$0$.*|$1$[a-zA-Z0-9./]

      {1,8}

      $[a-zA-Z0-9./]

      {22}

      |$5$(rounds=\d+$)?[a-zA-Z0-9./]

      {1,16}$[a-zA-Z0-9./]{43}|$6$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}

      $[a-zA-Z0-9./]

      {86}

      $ is not valid regular expression. [$1$T5co0bho$6f5XVLunApUppu2fZpOa51]
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)[64:com.google.guava:18.0.0]
      at org.opendaylight.yangtools.yang.data.impl.codec.CompiledPatternContext.validate(CompiledPatternContext.java:31

      Attachments

        Issue Links

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

          Activity

            People

              ifoltin Igor Foltin
              wojdec Wojciech Dec
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: