Hi Devs,

I'm seeing the below NPE in ParentComponentMonitor:

[2014-12-19 01:15:25,836]  INFO
{org.apache.stratos.autoscaler.applications.topic.ApplicationsEventPublisher}
-  Publishing Application Active event for [application]: single-group-app
[instance]:single-group-app-1
[2014-12-19 01:15:25,866]  INFO
{org.apache.stratos.autoscaler.applications.topic.ApplicationsEventPublisher}
-  Publishing Group activated event for [application]: single-group-app
[group]: single-group-app-group-1 [instance]:single-group-app-1
[2014-12-19 01:16:04,117] ERROR
{org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor} -
 Application monitor failed :
org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor@21d2042d
java.lang.NullPointerException
at
org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor.handleDependentScaling(ParentComponentMonitor.java:573)
at
org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor$1.run(ApplicationMonitor.java:117)
at
org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor.monitor(ApplicationMonitor.java:125)
at
org.apache.stratos.autoscaler.monitor.component.ApplicationMonitor.run(ApplicationMonitor.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Thanks


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to