sarutak commented on pull request #28317:
URL: https://github.com/apache/spark/pull/28317#issuecomment-619595475
@dongjoon-hyun I inspected the error message by replacing
`bootstrap.bundle.min.js` with `bootstrap.bundle.js` and insert logging code
before the error message shown like as follows.
```
if (!new RegExp(expectedTypes).test(valueType)) {
console.warn("Property Name: " + property + ", value of the property: " +
config[property] + ", type of the property: " + toType(config[property]));
throw new Error(componentName.toUpperCase() + ": " + ("Option \"" +
property + "\" provided type \"" + valueType + "\" ") + ("but expected type \""
+ expectedTypes + "\"."));
}
```
Then, I found the reason was the type of `null` is regarded as `window` by
HtmlUnit (it's a surprising behavior...).
```
WARN WebConsole: Property Name: sanitizeFn, value of the property: null,
type of the property: window
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]