[YANGTOOLS-16] yangtools null pointer exception using sample yang file Created: 16/Sep/13  Updated: 10/Apr/22  Resolved: 17/Sep/13

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Suchitra Raman Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Attachments: File affinity-topology.yang    
External issue ID: 74

 Description   

1) Attached is a sample yang file meant to model affinity.

It's also accessible on the affinity repo available using:
git clone http://git.opendaylight.org/gerrit/p/affinity.git
(if you need to look at the project pom.xml file and other details.)



 Comments   
Comment by Suchitra Raman [ 16/Sep/13 ]

Attachment affinity-topology.yang has been added with description: sample yang file

Comment by Martin Vitez [ 17/Sep/13 ]

Which version did you use? There were some bug fixes committed yesterday for version 0.5.7-SNAPSHOT. Please try to run it now (with version 0.5.7-SNAPSHOT it is working for me now with file you attached) and let me know if this error still appears.

Comment by Suchitra Raman [ 17/Sep/13 ]

Martin, Can you add some details on the process you used to generate the Java classes for this yang in your environment.

Comment by Suchitra Raman [ 17/Sep/13 ]

Works with the version you mentioned and a couple of changes pushed into affinity repo.

Generated at Wed Feb 07 20:52:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.