Im setting up a new DB connect to pull data from MS SQL server 2016 database to splunk :
1. Downloaded the latest version of DB Connect 3.3.1
2. Downloaded sqljdbc_4.2 driver and moved the move the sqljdbc42.jar file to the $SPLUNK_HOME/etc/apps/splunk_app_db_connect/drivers directory
3. Created Identity
4. While creating a connection i get the the following error.
[dw-760 - POST /api/connections/status] ERROR io.dropwizard.jersey.errors.LoggingExceptionMapper - Error handling a request: 5b6a559a6b1b46d9 java.lang.NullPointerException: null at com.splunk.dbx.connector.logger.AuditLogger.replace(AuditLogger.java:50) at com.splunk.dbx.connector.logger.AuditLogger.error(AuditLogger.java:44) at com.splunk.dbx.server.api.service.database.impl.DatabaseMetadataServiceImpl.getStatus(DatabaseMetadataServiceImpl.java:159).
5.I verified the identity has given a read permission for the DB im trying to query.
Please let me know if this issue is encountered by someone. Thanks in Advance
We fixed the error message of "NullPointerException" in DBX 3.3.1 to print the real error. Basically sth wrong about the DB connection, either credentials, driver compatibility, or DB connectivity. Maybe you can try DBX 3.2.0 to get the real error message, or contact our support team to provide the fixed 3.3.1 version(not released yet) for further triage.
We fixed the error message of "NullPointerException" in DBX 3.3.1 to print the real error. Basically sth wrong about the DB connection, either credentials, driver compatibility, or DB connectivity. Maybe you can try DBX 3.2.0 to get the real error message, or contact our support team to provide the fixed 3.3.1 version(not released yet) for further triage.
We're on 3.3.1 and I see the exact same error message, no details other than null pointer. Am I missing something?
Thank you. Raised a support ticket and got the updated jar from them which gives exact error and it turned out to be a FW issue.
Cheers