Hello Airbyte team, I just upgraded our instance t...
# replication-ask-ai
e
Hello Airbyte team, I just upgraded our instance to latest (
0.50.8
) and now
/api/v1/source_definitions/grant_definition
is throwing a Null Pointer Exception
k
A message from kapa.ai
I'm sorry to hear that you're experiencing issues after upgrading. Based on the information provided in the extracts, it seems that some users have encountered similar issues after upgrading Airbyte. However, the specific error you're encountering with the
/api/v1/source_definitions/grant_definition
endpoint isn't directly addressed in the extracts. In some cases, users have resolved their issues by further upgrading Airbyte to the latest version. However, since you're already on the latest version (
0.50.8
), this might not be applicable. One user mentioned that they resolved their issue by using the API endpoints
/v1/sources/list
,
/v1/source_definitions/list_private
, and
/v1/source_definitions/grant_definition
. It's not clear from the extract whether this might be relevant to your situation, but it could be worth exploring. If the issue persists, I would recommend reaching out to the Airbyte community on their [Slack channel](https://airbytehq.slack.com) or [discussion forum](https://discuss.airbyte.io) for further assistance. You could also consider creating a GitHub issue on the [Airbyte repository](https://github.com/airbytehq/airbyte/issues) to report the problem.
e
Full error:
Copy code
{
  "message": "Internal Server Error: null",
  "exceptionClassName": "java.lang.NullPointerException",
  "exceptionStack": [
    "java.lang.NullPointerException",
    "\tat java.base/java.util.Objects.requireNonNull(Objects.java:233)",
    "\tat java.base/java.util.Optional.of(Optional.java:113)",
    "\tat io.airbyte.config.persistence.ConfigRepository.getStandardSourceDefinition(ConfigRepository.java:523)",
    "\tat io.airbyte.commons.server.handlers.SourceDefinitionsHandler.grantSourceDefinitionToWorkspaceOrOrganization(SourceDefinitionsHandler.java:358)",
    "\tat io.airbyte.server.apis.SourceDefinitionApiController.lambda$grantSourceDefinition$5(SourceDefinitionApiController.java:105)",
    "\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:26)",
    "\tat io.airbyte.server.apis.SourceDefinitionApiController.grantSourceDefinition(SourceDefinitionApiController.java:105)",
    "\tat io.airbyte.server.apis.$SourceDefinitionApiController$Definition$Exec.dispatch(Unknown Source)",
    "\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:371)",
    "\tat io.micronaut.context.DefaultBeanContext$4.invoke(DefaultBeanContext.java:594)",
    "\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:303)",
    "\tat io.micronaut.web.router.RouteMatch.execute(RouteMatch.java:111)",
    "\tat io.micronaut.http.context.ServerRequestContext.with(ServerRequestContext.java:103)",
    "\tat io.micronaut.http.server.RouteExecutor.lambda$executeRoute$14(RouteExecutor.java:659)",
    "\tat reactor.core.publisher.FluxDeferContextual.subscribe(FluxDeferContextual.java:49)",
    "\tat reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:62)",
    "\tat reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194)",
    "\tat io.micronaut.reactive.reactor.instrument.ReactorInstrumentation.lambda$init$0(ReactorInstrumentation.java:62)",
    "\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)",
    "\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)",
    "\tat io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedCallable.call(InvocationInstrumenterWrappedCallable.java:53)",
    "\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)",
    "\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)",
    "\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)",
    "\tat java.base/java.lang.Thread.run(Thread.java:1589)"
  ]
}
j
@Saj Dider (Airbyte) similar issue here
e
@Jeff Crooks they updated the api payload
Copy code
{
  "scopeId": "<workspace_id>",
  "scopeType": "workspace",
  "actorDefinitionId": "<source_definition_id>"
}
j
were you able to resolve?
getting that null pointer exception on majority of my connections, and cant access settings for sources/destinations anymore in config
@Ethan Veres any luck resolving?