pradip sodha
10/15/2025, 6:14 AMCaused by: java.lang.NullPointerException
at io.airbyte.cdk.load.command.DestinationStreamFactory.make(DestinationStream.kt:204) ~[bulk-cdk-core-load-0.1.42.jar:?]
at io.airbyte.cdk.load.command.DefaultDestinationCatalogFactory.getDestinationCatalog(DestinationCatalog.kt:132) ~[bulk-cdk-core-load-0.1.42.jar:?]
at io.airbyte.cdk.load.command.$DefaultDestinationCatalogFactory$GetDestinationCatalog0$Definition.instantiate(Unknown Source) ~[bulk-cdk-core-load-0.1.42.jar:?]
at io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.jav…
Stack Trace: io.airbyte.cdk.ConfigErrorException: Failed to initialize connector operation
at io.airbyte.cdk.AirbyteConnectorRunnable.run(AirbyteConnectorRunnable.kt:33)
at picocli.CommandLine.executeUserObject(CommandLine.java:2030)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
at picocli.CommandLine.execute(CommandLine.java:2174)
at io.airbyte.cdk.AirbyteDestinationRunner$Companion.run(AirbyteConnectorRunner.kt:289)
at io.airbyte.cdk.AirbyteDestinationRunner$Companion.run$default(AirbyteConnectorRunner.kt:75)
at io.airbyte.integrations.destination.mssql.v2.MSSQLDestination.main(MSSQLDestination.kt:12)
Caused by: io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type [io.airbyte.cdk.load.message.DestinationMessageFactory]
Path Taken: new WriteOperation(DestinationTaskLauncher taskLauncher,SyncManager syncManager,WriteOpOverride writeOpOverride) --> new WriteOperation([DestinationTaskLauncher taskLauncher],SyncManager syncManager,WriteOpOverride writeOpOverride) --> new DestinationTaskLauncher(TaskScopeProvider taskScopeProvider,DestinationCatalog catalog,DestinationConfiguration config,SyncManager syncManager,[InputConsumerTask inputConsumerTask],HeartbeatTask heartbeatTask,UpdateBatchStateTaskFactory updateBatchTask,StatsEmitter statsEmitter,SetupTaskFactory setupTaskFactory,OpenStreamTask openStreamTask,CloseStreamTaskFactory closeStreamTaskFactory,TeardownTaskFactory teardownTaskFactory,LoadPipeline loadPipeline,UpdateCheckpointsTask updateCheckpointsTask,FailStreamTaskFactory failStreamTaskFactory,FailSyncTaskFactory failSyncTaskFactory,MessageQueue<DestinationStream T> openStreamQueue,AtomicBoolean hasThrown) --> DataChannelBeanFactory.stdioInputConsumerTask([ReservingDeserializingInputFlow inputFlow],PartitionedQueue<PipelineEvent<StreamKey K, DestinationRecordRaw T> T> pipelineInputQueue,InputPartitioner partitioner,PipelineEventBookkeepingRouter pipelineEventBookkeepingRouter) --> new ReservingDeserializingInputFlow(DestinationConfiguration config,[ProtocolMessageDeserializer deserializer],ReservationManager memoryManager,InputStream inputStream,long logPerNRecords) --> new ProtocolMessageDeserializer([DestinationMessageFactory destinationMessageFactory]) --> new DestinationMessageFactory([DestinationCatalog catalog],boolean fileTransferEnabled,boolean requireCheckpointIdOnRecordAndKeyOnState,NamespaceMapper namespaceMapper,UUIDGenerator uuidGenerator)
2025-09-30 16:16:35 destination ERROR io.airbyte.cdk.ConfigErrorException: Failed to initialize connector operation
2025-09-30 16:16:35 destination INFO main i.a.c.AirbyteConnectorRunnable(run):47 Flushing output consumer prior to shutdown.
2025-09-30 16:16:35 destination ERROR at io.airbyte.cdk.AirbyteConnectorRunnable.run(AirbyteConnectorRunnable.kt:33)
2025-09-30 16:16:35 destination ERROR at picocli.CommandLine.executeUserObject(CommandLine.java:2030)
2025-09-30 16:16:35 destination ERROR at picocli.CommandLine.access$1500(CommandLine.java:148)
2025-09-30 16:16:35 destination INFO main i.a.c.AirbyteConnectorRunnable(run):49 Completed integration: airbyte/destination-mssql.kapa.ai
10/15/2025, 6:14 AMpradip sodha
10/15/2025, 6:19 AMCaused by: java.lang.NullPointerException
at io.airbyte.cdk.load.command.DestinationStreamFactory.make(DestinationStream.kt:204) ~[bulk-cdk-core-load-0.1.42.jar:?]
at io.airbyte.cdk.load.command.DefaultDestinationCatalogFactory.getDestinationCatalog(DestinationCatalog.kt:132) ~[bulk-cdk-core-load-0.1.42.jar:?]
at io.airbyte.cdk.load.command.$DefaultDestinationCatalogFactory$GetDestinationCatalog0$Definition.instantiate(Unknown Source) ~[bulk-cdk-core-load-0.1.42.jar:?]
at io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.jav…
Stack Trace: io.airbyte.cdk.ConfigErrorException: Failed to initialize connector operation
at io.airbyte.cdk.AirbyteConnectorRunnable.run(AirbyteConnectorRunnable.kt:33)
at picocli.CommandLine.executeUserObject(CommandLine.java:2030)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2465)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2457)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2419)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2421)
at picocli.CommandLine.execute(CommandLine.java:2174)
at io.airbyte.cdk.AirbyteDestinationRunner$Companion.run(AirbyteConnectorRunner.kt:289)
at io.airbyte.cdk.AirbyteDestinationRunner$Companion.run$default(AirbyteConnectorRunner.kt:75)
at io.airbyte.integrations.destination.mssql.v2.MSSQLDestination.main(MSSQLDestination.kt:12)
Caused by: io.micronaut.context.exceptions.BeanInstantiationException: Error instantiating bean of type [io.airbyte.cdk.load.message.DestinationMessageFactory]
Path Taken: new WriteOperation(DestinationTaskLauncher taskLauncher,SyncManager syncManager,WriteOpOverride writeOpOverride) --> new WriteOperation([DestinationTaskLauncher taskLauncher],SyncManager syncManager,WriteOpOverride writeOpOverride) --> new DestinationTaskLauncher(TaskScopeProvider taskScopeProvider,DestinationCatalog catalog,DestinationConfiguration config,SyncManager syncManager,[InputConsumerTask inputConsumerTask],HeartbeatTask heartbeatTask,UpdateBatchStateTaskFactory updateBatchTask,StatsEmitter statsEmitter,SetupTaskFactory setupTaskFactory,OpenStreamTask openStreamTask,CloseStreamTaskFactory closeStreamTaskFactory,TeardownTaskFactory teardownTaskFactory,LoadPipeline loadPipeline,UpdateCheckpointsTask updateCheckpointsTask,FailStreamTaskFactory failStreamTaskFactory,FailSyncTaskFactory failSyncTaskFactory,MessageQueue<DestinationStream T> openStreamQueue,AtomicBoolean hasThrown) --> DataChannelBeanFactory.stdioInputConsumerTask([ReservingDeserializingInputFlow inputFlow],PartitionedQueue<PipelineEvent<StreamKey K, DestinationRecordRaw T> T> pipelineInputQueue,InputPartitioner partitioner,PipelineEventBookkeepingRouter pipelineEventBookkeepingRouter) --> new ReservingDeserializingInputFlow(DestinationConfiguration config,[ProtocolMessageDeserializer deserializer],ReservationManager memoryManager,InputStream inputStream,long logPerNRecords) --> new ProtocolMessageDeserializer([DestinationMessageFactory destinationMessageFactory]) --> new DestinationMessageFactory([DestinationCatalog catalog],boolean fileTransferEnabled,boolean requireCheckpointIdOnRecordAndKeyOnState,NamespaceMapper namespaceMapper,UUIDGenerator uuidGenerator)
2025-09-30 16:16:35 destination ERROR io.airbyte.cdk.ConfigErrorException: Failed to initialize connector operation
2025-09-30 16:16:35 destination INFO main i.a.c.AirbyteConnectorRunnable(run):47 Flushing output consumer prior to shutdown.
2025-09-30 16:16:35 destination ERROR at io.airbyte.cdk.AirbyteConnectorRunnable.run(AirbyteConnectorRunnable.kt:33)
2025-09-30 16:16:35 destination ERROR at picocli.CommandLine.executeUserObject(CommandLine.java:2030)
2025-09-30 16:16:35 destination ERROR at picocli.CommandLine.access$1500(CommandLine.java:148)
2025-09-30 16:16:35 destination INFO main i.a.c.AirbyteConnectorRunnable(run):49 Completed integration: airbyte/destination-mssql.kapa.ai
10/15/2025, 6:20 AMNullPointerException when adding or running the official airbyte/destination-mssql connector (even with version 2.2.13) is not a common or expected behavior for a standard setup. However, there are a few relevant points and troubleshooting steps: 1. Connector Version Stability: There is no mention of a widespread NullPointerException issue in the official changelog for recent versions of the MSSQL destination connector. The changelog for 2.2.9 and later versions mostly lists bug fixes, performance improvements, and internal refactors, but nothing directly related to a persistent NPE on initialization or sync for standard usage scenarios [MSSQL Changelog](https://docs.airbyte.com/integrations/destinations/mssql#changelog). 2. Similar Issues: There are open and closed issues related to the MSSQL connector, but none describe a persistent NPE exactly as you are experiencing when simply adding the connector and running a sync. For example, a previous issue with enum conversion (No enum constant MssqlType.INT) was fixed in version 2.2.9, and users confirmed the fix worked for them. This suggests that the connector is generally functional in recent versions for most users [GitHub Issue 59674](https://github.com/airbytehq/airbyte/issues/59674). 3. Custom Builds and Environment: One user reported building the connector from source and encountering initialization errors, but this was in the context of custom modifications and not the official image. If you are using the official image and still seeing this error, it may point to an environmental or configuration issue rather than a connector bug [GitHub Issue 64496](https://github.com/airbytehq/airbyte/issues/64496). 4. Potential Causes: - Configuration Issues: The stack trace indicates the error occurs during the instantiation of the DestinationMessageFactory, which relies on the destination catalog and configuration. A malformed or incomplete catalog or config file could cause a NPE. - Airbyte Platform Version: Incompatibilities between the Airbyte platform version and the connector version can sometimes cause unexpected errors. Ensure both are up to date and compatible. - Deployment Environment: If you are running Airbyte in a custom or non-standard environment (e.g., custom Docker networks, Kubernetes, etc.), ensure all required dependencies and permissions are in place. 5. Next Steps: - Double-check your connection configuration and catalog files for completeness and correctness. - Try running the connector with a minimal, default configuration to isolate the issue. - Ensure you are using the latest stable Airbyte platform version. - If the problem persists, consider opening a new issue on the Airbyte GitHub with detailed logs and configuration files, as this may be an edge case or regression not yet documented. Summary: There is no explicit documentation or known issue in the provided knowledge sources that matches your exact error scenario with the official airbyte/destination-mssql connector version 2.2.13. The error may be related to configuration or environment rather than the connector itself. If you continue to encounter this issue with the official image and a standard setup, providing detailed logs and configuration to the Airbyte team via GitHub is recommended for further troubleshooting. If you have more details about your configuration or environment, please share them for more targeted assistance.