fixed NPE in hotdoc generator error handling
fixed standard library