Summary
After upgrading an OSS instance deployed with Helm to version 0.148.1, encountering a NullPointerException error on the airbyte-api-server. The error is related to a null input causing a String.length() invocation failure.
Question
We’ve upgrade an OSS instance deployed with Helm from chart to 0.148.1 (this takes us from, i believe, airbyte version 0.48 to >= 0.58).
On the airbyte-api-server we are getting the following error:
│ java.lang.NullPointerException: Cannot invoke "String.length()" because "this.input" is null │
│ at java.base/java.net.URI$Parser.parse(URI.java:3186) ~[?:?] │
│ at java.base/java.net.URI.<init>(URI.java:645) ~[?:?] │
│ at java.base/java.net.URI.create(URI.java:930) ~[?:?] │
│ at io.airbyte.api.server.controllers.DefaultController.getDocumentation(DefaultController.kt:21) ~[io.airbyte-airbyte-api-server-0.62.4.jar:?] │
│ at io.airbyte.api.server.controllers.$DefaultController$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-api-server-0.62.4.jar:?] │
│ at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461) ~[micronaut-inject-4.4.10.jar:4.4.10] │
│ at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4232) ~[micronaut-inject-4.4.10.jar:4.4.10] │
│ at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271) ~[micronaut-router-4.4.10.jar:4.4.10] │
│ at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488) ~[micronaut-http-server-4.4.10.jar:4.4.10] │
│ at io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:465) ~[micronaut-http-server-4.4.10.jar:4.4.10] │
│ at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87) ~[micronaut-core-4.4.10.jar:4.4.10] │
│ at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.4.10.jar:4.4.10] │
│ at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.4.10.jar:4.4.10] │
│ at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314) ~[?:?] │
│ at java.base/java.lang.VirtualThread.run(VirtualThread.java:309) ~[?:?] ```
this looks amazingly close to <https://github.com/airbytehq/airbyte/issues/28779|the error brought up in this issue>, however I ran that fix and the problem persists. Anyone have an idea where this could be coming from? (i’m guessing another null in the db, but no idea which table / column)
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1718319367477509) if you want
to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["upgrade", "oss-instance", "helm", "airbyte-version", "error", "nullpointerexception", "airbyte-api-server"]
</sub>