-
Notifications
You must be signed in to change notification settings - Fork 305
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I think polaris was under heavy load and the client threw this message:
java.lang.IllegalArgumentException: Cannot parse to a string value: error: {"message":"Cannot invoke \"org.apache.polaris.core.context.CallContext.getPolarisCallContext()\" because the return value of \"org.apache.polaris.core.context.CallContext.getCurrentContext()\" is null","type":"NullPointerException","code":500}
at org.apache.iceberg.relocated.com.google.common.base.Preconditions.checkArgument(Preconditions.java:445)
at org.apache.iceberg.util.JsonUtil.getString(JsonUtil.java:173)
at org.apache.iceberg.rest.responses.OAuthErrorResponseParser.fromJson(OAuthErrorResponseParser.java:47)
at org.apache.iceberg.rest.responses.OAuthErrorResponseParser.lambda$fromJson$0(OAuthErrorResponseParser.java:39)
at org.apache.iceberg.util.JsonUtil.parse(JsonUtil.java:104)
at org.apache.iceberg.rest.responses.OAuthErrorResponseParser.fromJson(OAuthErrorResponseParser.java:39)
at org.apache.iceberg.rest.ErrorHandlers$OAuthErrorHandler.parseResponse(ErrorHandlers.java:260)
at org.apache.iceberg.rest.HTTPClient.throwFailure(HTTPClient.java:210)
at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:336)
at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:297)
at org.apache.iceberg.rest.BaseHTTPClient.postForm(BaseHTTPClient.java:136)
at org.apache.iceberg.rest.auth.OAuth2Util.refreshToken(OAuth2Util.java:174)
at org.apache.iceberg.rest.auth.OAuth2Util$AuthSession.refreshCurrentToken(OAuth2Util.java:626)
at org.apache.iceberg.rest.auth.OAuth2Util$AuthSession.lambda$refresh$1(OAuth2Util.java:596)
at org.apache.iceberg.util.Tasks$Builder.runTaskWithRetry(Tasks.java:413)
at org.apache.iceberg.util.Tasks$Builder.runSingleThreaded(Tasks.java:219)
at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:203)
at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:196)
at org.apache.iceberg.rest.auth.OAuth2Util$AuthSession.refresh(OAuth2Util.java:596)
at org.apache.iceberg.rest.auth.OAuth2Util$AuthSession.lambda$scheduleTokenRefresh$2(OAuth2Util.java:670)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
To Reproduce
No response
Actual Behavior
No response
Expected Behavior
No response
Additional context
No response
System information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working