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

IAE in StatementContextBase.childCopyOf()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • 8.0.0, 7.0.9
    • 7.0.0, 7.0.8
    • parser

      I cloned the latest repo of transportpce from the master branch and tried to connect to my NE device via ODL but I was not able to. Upon checking the logs , I found the below errors:

      1. 21:18:08.669 WARN [remote-connector-processing-executor-12] Unexpected error processing source RevisionSourceIdentifier [name=tailf-ncs-plan@2019-11-28]. Please file an issue with this model attached.
        java.lang.IllegalArgumentException: Unsupported statement ReplicaStatementContext{definition=StatementDefinitionContext{statement=(http://tail-f.com/yang/common?revision=2019-11-30)action}, rawArgument=get-modifications, refCount=0}
                at com.google.common.base.Preconditions.checkArgument(Preconditions.java:219) ~[bundleFile:?]
                at org.opendaylight.yangtools.yang.parser.stmt.reactor.StatementContextBase.childCopyOf(StatementContextBase.java:809) ~[bundleFile:?]
                at org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext$Mutable.childCopyOf(StmtContext.java:259) ~[bundleFile:?]
                at org.opendaylight.yangtools.yang.parser.rfc7950.stmt.augment.AugmentInferenceAction.copyStatement(AugmentInferenceAction.java:136) ~[bundleFile:?]
      2. 21:17:57.862 WARN [opendaylight-cluster-data-notification-dispatcher-58] Could not find node ncs-vikrant in portmapping.
      3. 21:17:57.862 ERROR [opendaylight-cluster-data-notification-dispatcher-58] member-1-shard-topology-operational: Error notifying listener org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter@736c9cc9 java.lang.NullPointerException: null

      On silicon, it used to work fine but on the latest version i.e. after consuming Phosphorus dependencies, there seems to be some issue. Attaching karaf logs, file tailf-ncs-plan.yangand its dependencies for further investigation.

      PS: I am relatively new to this environment so let me know if you need any specific info on the issue and I hope this issue gets resolved quickly as it seems to be a showstopper for us.

        1. Karaf Logs.docx
          18 kB
        2. tailf-ncs.yang
          11 kB
        3. tailf-ncs-common.yang
          4 kB
        4. tailf-ncs-devices.yang
          212 kB
        5. tailf-ncs-log.yang
          4 kB
        6. tailf-ncs-plan.yang
          52 kB
        7. tailf-ncs-services.yang
          41 kB

            rovarga Robert Varga
            shanth21 Shanth K Gaitonde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: