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

Possible NullReferenceException in GlyphStore #1521

Closed
smoogipoo opened this issue Apr 17, 2018 · 4 comments
Closed

Possible NullReferenceException in GlyphStore #1521

smoogipoo opened this issue Apr 17, 2018 · 4 comments

Comments

@smoogipoo
Copy link
Contributor

smoogipoo commented Apr 17, 2018

[runtime:important] System.NullReferenceException: Object reference not set to an instance of an object
  at osu.Framework.IO.Stores.GlyphStore.HasGlyph (System.Char c) [0x0000b] in <deb53081e1f64811b19dad3c03330c2a>:0 
  at osu.Framework.IO.Stores.FontStore.GetBaseHeight (System.Char c) [0x00019] in <deb53081e1f64811b19dad3c03330c2a>:0 
  at osu.Framework.Graphics.Sprites.SpriteText.get_LineBaseHeight () [0x00058] in <deb53081e1f64811b19dad3c03330c2a>:0 
  at osu.Framework.Graphics.Containers.TextFlowContainer+<>c.<computeLayout>b__43_0 (osu.Framework.Graphics.Sprites.IHasLineBaseHeight l) [0x00000] in <deb53081e1f64811b19dad3c03330c2a>:0 
  at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00048] in <b29fa38c592649ee8d566c045a7d9307>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <b29fa38c592649ee8d566c045a7d9307>:0 
  at osu.Framework.Graphics.Containers.TextFlowContainer.computeLayout () [0x00136] in <deb53081e1f64811b19dad3c03330c2a>:0 
  at osu.Framework.Graphics.Containers.TextFlowContainer.UpdateAfterChildren () [0x0001b] in <deb53081e1f64811b19dad3c03330c2a>:0 
  at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree () [0x000b1] in <deb53081e1f64811b19dad3c03330c2a>:0 

Occasionally occurs on startup of visual tests for me.

@smoogipoo smoogipoo added the bug label Apr 17, 2018
@smoogipoo smoogipoo added this to the Candidate Issues milestone Apr 17, 2018
@peppy
Copy link
Sponsor Member

peppy commented Apr 17, 2018

I'll fix this one

@smoogipoo
Copy link
Contributor Author

Reopening because this is still happening.

@smoogipoo smoogipoo reopened this Apr 18, 2018
@FreezyLemon
Copy link
Contributor

Is this still happening? There've been changes to GlyphStore in the meantime, and this could be fixed now.

@smoogipoo
Copy link
Contributor Author

Haven't been able to replicate since, iirc. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants