Skip to content

[bug]: Job Fails if oAuth2.0 refresh token handler hanles exception without message #3768

@igorbeslic

Description

@igorbeslic

Describe the bug

java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1806)
at java.base/java.util.regex.Matcher.reset(Matcher.java:459)
at java.base/java.util.regex.Matcher.(Matcher.java:255)
at java.base/java.util.regex.Pattern.matcher(Pattern.java:1181)
at com.bytechef.platform.component.util.RefreshCredentialsUtils.matches(RefreshCredentialsUtils.java:71)
at com.bytechef.platform.component.util.RefreshCredentialsUtils.matches(RefreshCredentialsUtils.java:45)
at com.bytechef.platform.component.util.TokenRefreshHelper.executeSingleConnectionFunction(TokenRefreshHelper.java:90)
at com.bytechef.platform.component.facade.ActionDefinitionFacadeImpl.executePerform(ActionDefinitionFacadeImpl.java:156)
at com.bytechef.platform.workflow.worker.task.handler.AbstractTaskHandler.handle(AbstractTaskHandler.java:59)
at com.bytechef.atlas.worker.TaskWorker.doExecuteTask(TaskWorker.java:200)
at com.bytechef.atlas.worker.TaskWorker.lambda$onTaskExecutionEvent$0(TaskWorker.java:122)
at com.bytechef.tenant.concurrent.TenantThreadPoolTaskExecutor.lambda$getTenantRunnable$0(TenantThreadPoolTaskExecutor.java:56)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:456)
Bitna prednost Business / Email Cleaner - Remove Emails
Close

Steps To Reproduce

app.bytechef.io
workflow
Bitna prednost Business / Email Cleaner - Remove Emails

Expected behavior

  • log issue
  • I believe it relates to rate limitters on google api side
  • we should be able to track this and report problem to user

Version

0.1.5

OS

aws linux

Browser

chrome

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions