Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
1.13.0
-
None
Description
Could be related to the changes we made inĀ NIFI-7429.
When trying to display Status History for a record-enabled processor (where some specific metrics provided by the record reader/writer are displayed), this will fail with the below stack trace.
2020-10-23 13:33:47,816 ERROR [NiFi Web Server-114] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.UnsupportedOperationException. Returning Internal Server Error response. java.lang.UnsupportedOperationException: null at org.apache.nifi.controller.status.history.CounterMetricDescriptor.lambda$static$0(CounterMetricDescriptor.java:22) at org.apache.nifi.controller.status.history.AbstractMetricDescriptor.getMetricIdentifier(AbstractMetricDescriptor.java:48) at org.apache.nifi.controller.status.history.StatusHistoryUtil.createFieldDescriptorDtos(StatusHistoryUtil.java:82) at org.apache.nifi.controller.status.history.StatusHistoryUtil.createStatusHistoryDTO(StatusHistoryUtil.java:64) at org.apache.nifi.controller.FlowController.getProcessorStatusHistory(FlowController.java:2971) at org.apache.nifi.controller.FlowController.getProcessorStatusHistory(FlowController.java:2967) at org.apache.nifi.web.controller.ControllerFacade.getProcessorStatusHistory(ControllerFacade.java:315) at org.apache.nifi.web.controller.ControllerFacade$$FastClassBySpringCGLIB$$5a42ba54.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.apache.nifi.web.controller.ControllerFacade$$EnhancerBySpringCGLIB$$ddb326c6.getProcessorStatusHistory(<generated>) at org.apache.nifi.web.StandardNiFiServiceFacade.getProcessorStatusHistory(StandardNiFiServiceFacade.java:3471) at org.apache.nifi.web.StandardNiFiServiceFacade$$FastClassBySpringCGLIB$$358780e0.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:84) at org.apache.nifi.web.NiFiServiceFacadeLock.proceedWithReadLock(NiFiServiceFacadeLock.java:161) at org.apache.nifi.web.NiFiServiceFacadeLock.getLock(NiFiServiceFacadeLock.java:120) at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:627) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:616) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.apache.nifi.web.StandardNiFiServiceFacade$$EnhancerBySpringCGLIB$$2a1b587a.getProcessorStatusHistory(<generated>) at org.apache.nifi.web.api.FlowResource.getProcessorStatusHistory(FlowResource.java:2310) 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:498) ...
Attachments
Issue Links
- links to