Skip to content

Unhandled exception. TrackSet<T>.RemoveAllUnits()  #4

@InuInu2022

Description

@InuInu2022

TrackSet<T>.RemoveAllUnits()

//remove template track data
//tr.RemoveAllUnits();	//TODO:fix bug
tr.RawUnits.ForEach(u => u.Remove()); // correct
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at LibSasara.Model.CeVIOFileBase.<>c__DisplayClass6_0.<GetTrackSet>b__1(XElement e) in D:\cevio\CeVIOVoiceLibDB\tools\libs\LibSasara\LibSasara\Model\CcsProject.cs:line 146
   at System.Linq.Enumerable.WhereListIterator`1.ToList()
   at LibSasara.Model.CeVIOFileBase.GetTrackSet(Guid id) in D:\cevio\CeVIOVoiceLibDB\tools\libs\LibSasara\LibSasara\Model\CcsProject.cs:line 144
   at LibSasara.Model.CeVIOFileBase.DuplicateAndAddTrackSetAsync(Guid targetId, Nullable`1 newId) in D:\cevio\CeVIOVoiceLibDB\tools\libs\LibSasara\LibSasara\Model\CcsProject.cs:line 243

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions