Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
InuInu2022 opened this issue May 22, 2023 · 0 comments
Open

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

InuInu2022 opened this issue May 22, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@InuInu2022
Copy link
Owner

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
@InuInu2022 InuInu2022 added the bug Something isn't working label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant