All work

Select view

Select search mode

 

Exception in UI when trying to change batch report schedule

Description

A user on the discuss list is getting this exception when trying to edit a batch report schedule. I think we just need to add a null check to the DefaultSchedulerService code but I'm unsure how the trigger is null in the first place.

java.lang.NullPointerException at org.opennms.web.svclayer.support.DefaultSchedulerService.getTriggerDescriptions(DefaultSchedulerService.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:262) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy189.getTriggerDescriptions(Unknown Source) at org.opennms.web.controller.ManageReportScheduleController.listTriggers(ManageReportScheduleController.java:65) ...

Acceptance / Success Criteria

None

Lucidchart Diagrams

Details

Assignee

Reporter

Labels

Affects versions

Priority

PagerDuty

Created September 28, 2016 at 8:47 PM
Updated September 21, 2021 at 6:24 PM

Activity

Show:

Seth LegerSeptember 28, 2016 at 8:50 PM

Relevant commit is:

4d9381897c93498781849035e7cd744fb0bfc395

Flag notifications