Error on Surveillance: ObjectRetrievalFailureException

Description

org.springframework.orm.ObjectRetrievalFailureException
at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getOnmsCategoriesFromViewCategories(DefaultSurveillanceService.java:277)
at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getCategoriesForColumn(DefaultSurveillanceService.java:264)
at org.opennms.web.svclayer.support.DefaultSurveillanceService$VeryLowMemCellStatusStrategy.calculateCellStatus(DefaultSurveillanceService.java:206)
at org.opennms.web.svclayer.support.DefaultSurveillanceService.createSurveillanceTable(DefaultSurveillanceService.java:333)
at sun.reflect.GeneratedMethodAccessor446.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy95.createSurveillanceTable(Unknown Source)
at org.opennms.web.controller.SurveillanceViewController$1.run(SurveillanceViewController.java:132)

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger December 4, 2014 at 3:18 PM

This is caused when a category that does not exist is referenced inside the surveillance-views.xml configuration. Clean up deleted categories from this file and you won't encounter this error. Marking as configuration problem.

Configuration

Details

Assignee

Reporter

Affects versions

Priority

PagerDuty

Created May 21, 2014 at 4:11 AM
Updated December 4, 2014 at 3:18 PM
Resolved December 4, 2014 at 3:18 PM

Flag notifications