You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "VVD (Jira)" <ji...@apache.org> on 2023/06/02 16:59:00 UTC

[jira] [Commented] (NIFI-11547) DBCP Verification Error - Failes to configure data source

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

VVD commented on NIFI-11547:
----------------------------

When is 1.22.0 planned?

Can't use 1.21.0 because of this bug.

Thanks!

> DBCP Verification Error - Failes to configure data source 
> ----------------------------------------------------------
>
>                 Key: NIFI-11547
>                 URL: https://issues.apache.org/jira/browse/NIFI-11547
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.21.0
>            Reporter: Roman
>            Assignee: Lehel Boér
>            Priority: Critical
>             Fix For: 2.0.0, 1.22.0
>
>         Attachments: image.png
>
>
> After upgrading Nifi from 1.19.1 to 1.21.0 an Verification Error appears for DBCP Connection Pool Controller Service in Verify process.
> Nothing changed in configuration and happens for all DBCP Controller Services doesn't matter which database is configured.
> DB-Connection, Username, PW and Driver is everything fine and working.
> Also the enabled processor service is working in and configured flow
> You can see the error in screenshot and stacktrace as attachment.
>  
> {code:java}
> 2023-05-15 14:53:12,346 ERROR [Verify Controller Service Config Thread-1] org.apache.nifi.dbcp.DBCPConnectionPool DBCPConnectionPool[id=1f437b6b-0188-1000-ffff-ffffff2d84f1] Failed to configure Data Source.
> java.lang.NullPointerException: null
>         at org.apache.nifi.dbcp.AbstractDBCPConnectionPool.configureDataSource(AbstractDBCPConnectionPool.java:163)
>         at org.apache.nifi.dbcp.AbstractDBCPConnectionPool.verify(AbstractDBCPConnectionPool.java:82)
>         at org.apache.nifi.controller.service.StandardControllerServiceNode.verifyConfiguration(StandardControllerServiceNode.java:492)
>         at org.apache.nifi.web.dao.impl.StandardControllerServiceDAO.verifyConfiguration(StandardControllerServiceDAO.java:424)
>         at org.apache.nifi.web.dao.impl.StandardControllerServiceDAO$$FastClassBySpringCGLIB$$6b77954.invoke(<generated>)
>         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
>         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
>         at org.apache.nifi.web.dao.impl.StandardControllerServiceDAO$$EnhancerBySpringCGLIB$$2ebb6749.verifyConfiguration(<generated>)
>         at org.apache.nifi.web.StandardNiFiServiceFacade.performControllerServiceConfigVerification(StandardNiFiServiceFacade.java:2933)
>         at org.apache.nifi.web.StandardNiFiServiceFacade$$FastClassBySpringCGLIB$$358780e0.invoke(<generated>)
>         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
>         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
>         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
>         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
>         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
>         at org.apache.nifi.web.StandardNiFiServiceFacade$$EnhancerBySpringCGLIB$$4af10f85.performControllerServiceConfigVerification(<generated>)
>         at org.apache.nifi.web.api.ControllerServiceResource.lambda$performAsyncConfigVerification$28(ControllerServiceResource.java:1110)        at org.apache.nifi.web.api.concurrent.AsyncRequestManager$2.run(AsyncRequestManager.java:117)
>         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
>         at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
>         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.base/java.lang.Thread.run(Unknown Source) {code}



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