When `ProcessingEnvironment` is a proxied object, Tree API will fail.
When
ProcessingEnvironmentis a proxied object, Tree API will fail.