Probe doesn't works after update oracle lib

13 views
Skip to first unread message

Bruno Barros

unread,
Apr 23, 2025, 12:38:21 PMApr 23
to psi-probe-discuss
After updating our lib from ojdbc6.jar to ojdbc8.jar the probe stopped working. Now when trying to access it the error below appears:

09:19:00.001 ERROR {Probe_Quartz-2} [org.quartz.core.JobRunShell] Job DEFAULT.connectorStatsJobDetail threw an unhandled Exception:
org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'collect' on target class [class psiprobe.beans.stats.collectors.ConnectorStatsCollectorBean] failed; nested exception is java.lang.NullPointerException
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:276)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NullPointerException: null
at psiprobe.beans.ContainerListenerBean.initialize(ContainerListenerBean.java:156)
at psiprobe.beans.ContainerListenerBean.getConnectors(ContainerListenerBean.java:297)
at psiprobe.beans.stats.collectors.ConnectorStatsCollectorBean.collect(ConnectorStatsCollectorBean.java:50)
at jdk.internal.reflect.GeneratedMethodAccessor1697.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:285)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:267)
... 3 common frames omitted
09:19:00.002 ERROR {Probe_Quartz-2} [org.quartz.core.ErrorLogger] Job (DEFAULT.connectorStatsJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception.
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'collect' on target class [class psiprobe.beans.stats.collectors.ConnectorStatsCollectorBean] failed; nested exception is java.lang.NullPointerException
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:276)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 common frames omitted
Caused by: java.lang.NullPointerException: null
at psiprobe.beans.ContainerListenerBean.initialize(ContainerListenerBean.java:156)
at psiprobe.beans.ContainerListenerBean.getConnectors(ContainerListenerBean.java:297)
at psiprobe.beans.stats.collectors.ConnectorStatsCollectorBean.collect(ConnectorStatsCollectorBean.java:50)
at jdk.internal.reflect.GeneratedMethodAccessor1697.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:285)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:267)
... 3 common frames omitted

Has anyone seen this happen?

Tomcat: 9.0.35
JDK: 11.0.23
Probe: v4.3.1

Bruno Barros

unread,
Apr 23, 2025, 1:42:05 PMApr 23
to psi-probe-discuss
We found out what happened: on the recommendation of information security, we changed the Tomcat settings to hide its version, by editing the "Application Server" property. Without this information the probe stops working. How can I configure the probe to work without this information?
Reply all
Reply to author
Forward
0 new messages