Scott Feldstein resolved HHQ-5648.
-
Resolution: Fixed
fix checked into master
Deleting 50 Platforms in Scale Environment throws NPE error in server log
--------------------------------------------------------------------------
Key: HHQ-5648
URL: https://jira.hyperic.com/browse/HHQ-5648
Project: Hyperic HQ
Issue Type: Bug
Components: Core Monitoring
Affects Versions: 5.0
Environment: Platform Linux
DB:External vpg
Build:10-03-2012-171
Scale environment
Reporter: Nipuna Bhayani
Assignee: Scott Feldstein
Priority: Major
Attachments: server.zip
>
Steps to Reproduce
Delete 50 platforms from UI
Actual Results:
Everything is deleted but server log displays NPE error
05-10-2012 18:49:47,205 EDT WARN com.hyperic.hq.measurement.server.session.BatchAggregateDataInserter@500 Error while processing data
org.hyperic.hq.common.SystemException: java.lang.NullPointerException
at org.hyperic.hq.measurement.server.session.AvailabilityManagerImpl.addData(AvailabilityManagerImpl.java:933)
at org.hyperic.hq.measurement.server.session.AvailabilityManagerImpl.addData(AvailabilityManagerImpl.java:876)
at sun.reflect.GeneratedMethodAccessor824.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.hyperic.hq.monitor.aop.aspects.PerformanceMonitor.monitorServiceMethod(PerformanceMonitor.java:84)
at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy68.addData(Unknown Source)
at org.hyperic.hq.measurement.server.session.SynchronousAvailDataInserter.insertMetrics(SynchronousAvailDataInserter.java:50)
at com.hyperic.hq.measurement.server.session.BatchAggregateDataInserter$Worker.insertData(BatchAggregateDataInserter.java:469)
at com.hyperic.hq.measurement.server.session.BatchAggregateDataInserter$Worker.run(BatchAggregateDataInserter.java:493)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(code)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.hyperic.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira