Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NullPointerException: null #14

Open
nexuslair opened this issue Aug 11, 2022 · 1 comment
Open

java.lang.NullPointerException: null #14

nexuslair opened this issue Aug 11, 2022 · 1 comment

Comments

@nexuslair
Copy link

Monitor initialization fails with below exception.
Please advise on the fix

[Agent-Monitor-Scheduler-1] 11 Aug 2022 18:28:51,220 ERROR SQLMonitor - Error while creating task for dbServer
java.lang.NullPointerException: null
	at com.appdynamics.extensions.sql.SQLMonitor.getConnectionProperties(SQLMonitor.java:113) ~[?:?]
	at com.appdynamics.extensions.sql.SQLMonitor.createTask(SQLMonitor.java:81) ~[?:?]
	at com.appdynamics.extensions.sql.SQLMonitor.doRun(SQLMonitor.java:49) [?:?]
	at com.appdynamics.extensions.AMonitorJob.run(AMonitorJob.java:50) [?:?]
	at com.appdynamics.extensions.ABaseMonitor.executeMonitor(ABaseMonitor.java:199) [?:?]
	at com.appdynamics.extensions.ABaseMonitor.execute(ABaseMonitor.java:187) [?:?]
	at com.singularity.ee.agent.systemagent.components.monitormanager.managed.MonitorTaskRunner.runTask(MonitorTaskRunner.java:149) [machineagent.jar:Machine Agent v21.12.6-3236 GA compatible with 4.4.1.0 Build Date 2022-01-15 06:37:49]
	at com.singularity.ee.agent.systemagent.components.monitormanager.managed.PeriodicTaskRunner.runTask(PeriodicTaskRunner.java:86) [machineagent.jar:Machine Agent v21.12.6-3236 GA compatible with 4.4.1.0 Build Date 2022-01-15 06:37:49]
	at com.singularity.ee.agent.systemagent.components.monitormanager.managed.PeriodicTaskRunner.run(PeriodicTaskRunner.java:47) [machineagent.jar:Machine Agent v21.12.6-3236 GA compatible with 4.4.1.0 Build Date 2022-01-15 06:37:49]
	at com.singularity.ee.util.javaspecific.scheduler.AgentScheduledExecutorServiceImpl$SafeRunnable.run(AgentScheduledExecutorServiceImpl.java:122) [agent-21.1.0-2340.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_292]
	at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask$Sync.innerRunAndReset(ADFutureTask.java:335) [agent-21.1.0-2340.jar:?]
	at com.singularity.ee.util.javaspecific.scheduler.ADFutureTask.runAndReset(ADFutureTask.java:152) [agent-21.1.0-2340.jar:?]
	at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.access$101(ADScheduledThreadPoolExecutor.java:119) [agent-21.1.0-2340.jar:?]
	at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.runPeriodic(ADScheduledThreadPoolExecutor.java:206) [agent-21.1.0-2340.jar:?]
	at com.singularity.ee.util.javaspecific.scheduler.ADScheduledThreadPoolExecutor$ADScheduledFutureTask.run(ADScheduledThreadPoolExecutor.java:236) [agent-21.1.0-2340.jar:?]
	at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.runTask(ADThreadPoolExecutor.java:694) [agent-21.1.0-2340.jar:?]
	at com.singularity.ee.util.javaspecific.scheduler.ADThreadPoolExecutor$Worker.run(ADThreadPoolExecutor.java:726) [agent-21.1.0-2340.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]

@satish-m
Copy link
Contributor

Hi @nexuslair, this looks like configuration issue. Please create a zendesk ticket with all the details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants