rui-cruz / Spark-Material

Flex spark based components and skins with Material design by google
Other
26 stars 7 forks source link

HSlider: Null pointer error #29

Closed olafkrueger closed 7 years ago

olafkrueger commented 7 years ago

I don't investigate why this error occur but sometimes it does:

TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.material.components::HSlider/updateSkinDisplayList()[C:\local\workspace-ebase-restore\FlexSparkMaterialLib\src\spark\material\components\HSlider.as:48]

I'll fix it by just checking if the 'inkHolder' and 'thumb' object is not null before it will be accessed.

Olaf

olafkrueger commented 7 years ago

Ups, I've just seen that Rui has already fixed this in dev branch. Maybe it's time to merge dev with master? ;-)

Thanks, Olaf