We want innertext, not value. Apparently value is null at this point.
Rudimentary code to build library exception.