Error when entering "Surveillance"

Description

When I click the Surveillance link at the top, I see a progress bar for a second or two, then it sends me to an error, containing the following information:

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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
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.$Proxy91.createSurveillanceTable(Unknown Source)
at org.opennms.web.controller.SurveillanceViewController$1.run(SurveillanceViewController.java:131)

Environment

Linux 3.2.0-51-generic (amd64) - Ubuntu 12.04 server (VM)

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger November 21, 2013 at 10:49 PM

This is caused by removing categories without removing the categories from surveillance-views.xml. Marking as a configuration issue.

Steve Newsted August 13, 2013 at 3:05 PM

Also, this happened after I deleted the "surveillance categories" of "development" and "test". I tried to put them back after realizing this, but the page refreshed and they did not get added. I can suddenly add them again, and after successfully re-adding them, the surveillance link works.

Configuration

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created August 13, 2013 at 3:00 PM
Updated November 21, 2013 at 10:49 PM
Resolved November 21, 2013 at 10:49 PM