Skip to content

NoClassDefFoundError: java/sql/Timestamp #123

@daschneider

Description

@daschneider

When trying to do JDBC profiling the process being profiled generates the following error (many times):

lang.NoClassDefFoundError - java/sql/Timestamp Details: java/sql/Timestamp
java.lang.NoClassDefFoundError: java/sql/Timestamp
at org.netbeans.lib.profiler.server.ProfilerRuntimeCPU.converToString(ProfilerRuntimeCPU.java:788) ~[?:?]
at org.netbeans.lib.profiler.server.ProfilerRuntimeCPU.addParameter(ProfilerRuntimeCPU.java:687) ~[?:?]
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setTimestamp(HikariProxyPreparedStatement.java) ~[HikariCP-3.2.0.jar:?]

Steps to reproduce the behavior:
Perform a JDBC profile of an application that executes a lot of database statements.

Expected behavior
Should be able to generate a JDBC profile.

Desktop (please complete the following information):

  • OS: Ubuntu server 18.04
  • JDK version [11.0.1+13]
  • Version [1.4.2]
  • Database PostgreSQL 10.x

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions