Question

Issue with external jars. Only one class with jar file not detected

2019-05-17 10:18:19,783 [http-nio-8080-exec-5] [  STANDARD] [                    ] [   EventBus:01.01.01] (ngineinterface.service.HttpAPI) ERROR localhost|0:0:0:0:0:0:0:1 Admin.EventBus - 0:0:0:0:0:0:0:1: com.pega.pegarules.pub.PRRuntimeError 
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:712) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:481) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3358) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:394) ~[prenginext.jar:?] 
	at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) ~[?:?] 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121] 
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1315) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1052) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:907) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:334) ~[prenginext.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:843) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:331) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278) ~[prpublic.jar:?] 
	at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223) ~[prpublic.jar:?] 
	at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:596) ~[prwebj2ee.jar:?] 
	at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:385) ~[prwebj2ee.jar:?] 
	at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source) ~[?:?] 
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121] 
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] 
	at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370) ~[prbootstrap-7.3.0-77.jar:7.3.0-77] 
	at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411) ~[prbootstrap-7.3.0-77.jar:7.3.0-77] 
	at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] 
	at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] 
	at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] 
	at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doGet(WebStandardBoot.java:92) ~[prbootstrap-api-7.3.0-77.jar:7.3.0-77] 
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) ~[servlet-api.jar:?] 
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) ~[servlet-api.jar:?] 
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.14] 
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) ~[tomcat-websocket.jar:8.5.14] 
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) ~[catalina.jar:8.5.14] 
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) ~[catalina.jar:8.5.14] 
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799) ~[tomcat-coyote.jar:8.5.14] 
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) ~[tomcat-coyote.jar:8.5.14] 
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861) ~[tomcat-coyote.jar:8.5.14] 
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455) ~[tomcat-coyote.jar:8.5.14] 
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) ~[tomcat-coyote.jar:8.5.14] 
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121] 
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121] 
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.5.14] 
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121] 
Caused by: org.apache.kafka.common.KafkaException: Failed to construct kafka consumer 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:805) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:652) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:632) ~[kafka-clients-2.1.0.jar:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.TestAvroConnection01_01_01(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:117) ~[?:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.invoke(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:84) ~[?:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9164) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.step1_circum0(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:162) ~[?:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.perform(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:71) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3319) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1027) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?] 
	... 51 more 
Caused by: org.apache.kafka.common.KafkaException: Could not instantiate class io.confluent.kafka.serializers.KafkaAvroDeserializer 
	at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:312) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:302) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:702) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:652) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:632) ~[kafka-clients-2.1.0.jar:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.TestAvroConnection01_01_01(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:117) ~[?:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.invoke(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:84) ~[?:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9164) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.step1_circum0(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:162) ~[?:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.perform(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:71) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3319) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1027) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?] 
	... 51 more 
Caused by: java.lang.reflect.InvocationTargetException 
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_121] 
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_121] 
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_121] 
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_121] 
	at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:308) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:302) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:702) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:652) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:632) ~[kafka-clients-2.1.0.jar:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.TestAvroConnection01_01_01(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:117) ~[?:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.invoke(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:84) ~[?:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9164) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.step1_circum0(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:162) ~[?:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.perform(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:71) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3319) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1027) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?] 
	... 51 more 
Caused by: java.lang.NoClassDefFoundError: io/confluent/kafka/serializers/subject/TopicNameStrategy 
	at io.confluent.kafka.serializers.AbstractKafkaAvroSerDe.<init>(AbstractKafkaAvroSerDe.java:43) ~[kafka-avro-serializer-5.2.1.jar:?] 
	at io.confluent.kafka.serializers.AbstractKafkaAvroDeserializer.<init>(AbstractKafkaAvroDeserializer.java:38) ~[kafka-avro-serializer-5.2.1.jar:?] 
	at io.confluent.kafka.serializers.KafkaAvroDeserializer.<init>(KafkaAvroDeserializer.java:34) ~[kafka-avro-serializer-5.2.1.jar:?] 
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_121] 
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_121] 
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_121] 
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_121] 
	at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:308) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:302) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:702) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:652) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:632) ~[kafka-clients-2.1.0.jar:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.TestAvroConnection01_01_01(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:117) ~[?:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.invoke(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:84) ~[?:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9164) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.step1_circum0(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:162) ~[?:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.perform(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:71) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3319) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1027) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?] 
	... 51 more 
Caused by: java.lang.ClassNotFoundException: io.confluent.kafka.serializers.subject.TopicNameStrategy 
	at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.findClass(PRBaseLoader.java:308) ~[?:?] 
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_121] 
	at com.pega.pegarules.internal.bootstrap.phase2.PRBaseLoader.loadClass(PRBaseLoader.java:233) ~[?:?] 
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_121] 
	at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:787) ~[prbasejava6.jar:?] 
	at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:640) ~[prbasejava6.jar:?] 
	at io.confluent.kafka.serializers.AbstractKafkaAvroSerDe.<init>(AbstractKafkaAvroSerDe.java:43) ~[kafka-avro-serializer-5.2.1.jar:?] 
	at io.confluent.kafka.serializers.AbstractKafkaAvroDeserializer.<init>(AbstractKafkaAvroDeserializer.java:38) ~[kafka-avro-serializer-5.2.1.jar:?] 
	at io.confluent.kafka.serializers.KafkaAvroDeserializer.<init>(KafkaAvroDeserializer.java:34) ~[kafka-avro-serializer-5.2.1.jar:?] 
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_121] 
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_121] 
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_121] 
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_121] 
	at org.apache.kafka.common.utils.Utils.newInstance(Utils.java:308) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.common.config.AbstractConfig.getConfiguredInstance(AbstractConfig.java:302) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:702) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:652) ~[kafka-clients-2.1.0.jar:?] 
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:632) ~[kafka-clients-2.1.0.jar:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.TestAvroConnection01_01_01(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:117) ~[?:?] 
	at com.pegarules.generated.TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.invoke(TestAvroConnection_010101_qPwokWCGxT9_f489yHaFPQ.java:84) ~[?:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:222) ~[prprivate.jar:?] 
	at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9164) ~[prprivate.jar:?] 
	at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275) ~[prpublic.jar:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.step1_circum0(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:162) ~[?:?] 
	at com.pegarules.generated.activity.sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.perform(sh_action_testavroconnection_fe708955a1c841e6a1eede76800de680.java:71) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3319) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.step2_circum0(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:249) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.perform(ra_action_pyrunrecordexecute_f7d1e1c1513eef165c7ecbe136f3addd.java:88) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10770) ~[prprivate.jar:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.step11_circum0(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:1027) ~[?:?] 
	at com.pegarules.generated.activity.ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.perform(ra_action_pzrunrecordexecute_c38281e0bb63f7c4aab88814460c8435.java:246) ~[?:?] 
	at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3586) ~[prprivate.jar:?] 
	at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646) ~[prprivate.jar:?] 
	... 51 more 
Correct Answer
June 3, 2019 - 3:20am
KafkaAvroDeserializer extends Deserializer which is in a different jar. Including kafka-clients-2.1.0.jar sloved the issue. 

Comments

Keep up to date on this post and subscribe to comments

Pega
May 17, 2019 - 11:30am

Hi,

Can you please verify it from SMA.Please verify pr_engineclasses table as well.If that jar is available or not.If not then you need to reload this table .

Thanks,
Abhinav

June 3, 2019 - 3:21am
Response to Abhinav7

I was able to access few other classes with in the same jar. And I placed the jar directly on the server and included the path in "compiler/defaultPaths" DSS. 

June 3, 2019 - 3:20am
KafkaAvroDeserializer extends Deserializer which is in a different jar. Including kafka-clients-2.1.0.jar sloved the issue.