https://kotlinlang.org logo
#android
Title
# android
p

pablisco

10/22/2018, 10:57 AM
We are getting a very strange bug. Anybody had a similar experience? https://stackoverflow.com/questions/52927675/static-final-field-is-null-when-it-shouldnt
d

diego-gomez-olvera

10/22/2018, 11:40 AM
I never faced this issue, but as workaround you could define
name
as regular property
Platform
passed in the constructor
still an interesting case to be aware
p

pablisco

10/22/2018, 12:38 PM
I updated with some more details, as I forgot to mention that only affects a small (tiny) portion of our user base. And we can't replicate it locally. I want to change it to be like what you mention, but I'n not sure how that would make a difference. Although, ideally I want to use an inline class when we upgrade to 1.3 😄
Interesting thought. Not sure as it would be failing more reliably though
e

Eugen Martynov

10/22/2018, 9:09 PM
Just checked and I’m not sure about it
p

pablisco

10/22/2018, 10:10 PM
I think for now, we are gonna try to recover gracefully and hope for the best