Join Slack
Powered by
It takes the value 'null' and immediately attempts...
# getting-started
f
fellshard
06/17/2016, 10:31 AM
It takes the value 'null' and immediately attempts to access the value by asserting
null
is not null. This, as expected, fails with a
NullReferenceException
. Because this happens while first initializing a field, the previous exception is caught and wrapped in an
ExceptionInInitializerError
.
👍 1
Open in Slack
Previous
Next