question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception is displayed when checking MySQL connector

See original GitHub issue

Describe the bug An exception is displayed when checking MySQL connector dependency with 6.2.0. The exception is not displayed with 6.1.6. At this time, I have not seen this error for another dependency.

The check is still performed completely but build ends up in failure.

Version of dependency-check used The problem occurs using version 6.2.0 of the maven plugin

Log file gist I created a sample to reproduce the issue on the mysql-connector branch

To Reproduce Steps to reproduce the behavior:

  1. Clone the above mentionned repository
  2. cd into dependency-check-maven-sample
  3. Run mvn clean dependency-check:check

Expected behavior If the issue is on dependency-check side => no error message displayed and the dependency is correctly processed If the issue in on the NVD database side => just a one line warning telling this dependency cannot be processed

Additional context I have just seen this error while running dependency check on our company product. I will provide more data when I will have time to perform a better investigation.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
jeremylongcommented, Jun 8, 2021

6.2.1 was just released.

2reactions
stefanscheidtcommented, May 31, 2021

I get the same issue with dependency-check-maven-plugin 6.2.0 for mysql-connector-java-8.0.22.jar. It works fine with plugin version 6.1.7.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10.12.2 errors.Error Exception - MySQL :: Developer Zone
This exception is the base class for all other exceptions in the errors module. It can be used to catch all errors in...
Read more >
Exception Handling in Connector/Python - OverIQ.com
All the exception classes for dealing with error and warnings are defined in mysql.connector.errors module. The mysql.connector.errors.Error is the base class ...
Read more >
Exception with Java-MySQL connection - Stack Overflow
Closed 8 years ago. I want to connect to DB with Java and MySQL but I´m having problems. I have a class in...
Read more >
How to Fix java.lang.ClassNotFoundException: com.mysql ...
1. Select pom. · 2. Go to the dependency tab as shown below · 3. Click add and search for MySQL connector, once...
Read more >
Finally, a use case for finally – Python Exception Handling
In this case, the finally clause does run because the exception occurred in the inner try block. The connection to the database is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found