You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/11/15 19:37:00 UTC

[jira] [Commented] (NIFI-13608) NPE from Empty All Queues when there is no data to drop

    [ https://issues.apache.org/jira/browse/NIFI-13608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898752#comment-17898752 ] 

ASF subversion and git services commented on NIFI-13608:
--------------------------------------------------------

Commit 461fdd9f6f08bddeaa101957265b38fffc3f44b4 in nifi's branch refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=461fdd9f6f ]

NIFI-13608 - Handle NPE from Empty All Queues when there is no queue (#9527)



> NPE from Empty All Queues when there is no data to drop
> -------------------------------------------------------
>
>                 Key: NIFI-13608
>                 URL: https://issues.apache.org/jira/browse/NIFI-13608
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M4
>            Reporter: Bryan Bende
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {code:java}
> java.lang.NullPointerException: Cannot invoke "org.apache.nifi.controller.queue.DropFlowFileStatus.getRequestIdentifier()" because "dropRequest" is null
>     at org.apache.nifi.web.api.dto.DtoFactory.createDropRequestDTO(DtoFactory.java:546)
>     at org.apache.nifi.web.StandardNiFiServiceFacade.createDropAllFlowFilesInProcessGroup(StandardNiFiServiceFacade.java:2323)
>     at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:354)
>     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
>     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)
>     at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
>     at org.apache.nifi.web.NiFiServiceFacadeLock.proceedWithWriteLock(NiFiServiceFacadeLock.java:179)
>     at org.apache.nifi.web.NiFiServiceFacadeLock.createLock(NiFiServiceFacadeLock.java:42)
>     at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>     at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:637)
>     at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:627)
>     at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:71)
>     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
>     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)
>     at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
>     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
>     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:768)
>     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:720)
>     at org.apache.nifi.web.StandardNiFiServiceFacade$$SpringCGLIB$$0.createDropAllFlowFilesInProcessGroup(<generated>)
>     at org.apache.nifi.web.api.ProcessGroupResource.lambda$createEmptyAllConnectionsRequest$7(ProcessGroupResource.java:633) {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)