[YANGTOOLS-1540] Some of SOURCE_PRE_LINKAGE modifiers for statements were not resolved. Created: 13/Sep/23 Updated: 13/Sep/23 |
|
| Status: | Open |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Medium |
| Reporter: | mikael petterson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The trace for this issue does not show where the actual problem is. In our case it was a missing model file. Is it possible to point out where the issue is? You get tons of this in the log that does not tell anything of a missing model. ... 72 more Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Imported module [_3gpp-nr-nrm-gnbcucpfunction] was not found. [at /schema-path/company-nrnetwork-vcucp@2022-06-28.yang:13:5] at org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException.throwIf(InferenceException.java:77) at org.opendaylight.yangtools.yang.parser.rfc7950.stmt.import_.ImportStatementSupport$1.prerequisiteFailed(ImportStatementSupport.java:128) at org.opendaylight.yangtools.yang.parser.stmt.reactor.ModifierImpl.failModifier(ModifierImpl.java:87) at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.failModifiers(SourceSpecificContext.java:383) ... 72 more Suppressed: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Yang model processing phase SOURCE_PRE_LINKAGE failed [at /schema-path/company-nrfreqrelation-ext-vcucp@2023-02-20.yang:2:1] at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.failModifiers(SourceSpecificContext.java:396) at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.addSourceExceptions(BuildGlobalContext.java:307) ... 71 more Suppressed: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Imported module [_3gpp-nr-nrm-nrfreqrelation] was not found. [at /schema-path/company-nrfreqrelation-ext-vcucp@2023-02-20.yang:19:5] at org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException.throwIf(InferenceException.java:77) at org.opendaylight.yangtools.yang.parser.rfc7950.stmt.import_.ImportStatementSupport$1.prerequisiteFailed(ImportStatementSupport.java:128) at org.opendaylight.yangtools.yang.parser.stmt.reactor.ModifierImpl.failModifier(ModifierImpl.java:87) at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.failModifiers(SourceSpecificContext.java:383) ... 72 more Would it be possible to point out where the actual issue is? //mike
|