Deployment using prpcserviceUtils fails
We are trying to automate deployment for Pega 7.2 application with prpcServiceUtils and Jenkins. Randomly , Jenkins job fails with the "classnotfoundexception" , It works when we try to run it again. Please find the exception details below :
We are trying to automate deployment for Pega 7.2 application with prpcServiceUtils and Jenkins. Randomly , Jenkins job fails with the "classnotfoundexception" , It works when we try to run it again. Please find the exception details below :
[java] 16:03:28.515 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-Claims_DevToQA-75: Parsing response [java] 16:03:28.516 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-Claims_DevToQA-75: Parsing response of length 513 [java] 16:03:28.520 [main] INFO [viceclient.requestmanager.RequestManager] - Request on system jenkins-Claims_DevToQA-75 failed [java] 2020-11-04 16:03:28,524 INFO sun.reflect.Reflection.getCallerClass is not supported. ReflectionUtil.getCallerClass will be much slower due to this. java.lang.ClassNotFoundException: sun.reflect.Reflection [java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602) [java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) [java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) [java] at java.base/java.lang.Class.forName0(Native Method) [java] at java.base/java.lang.Class.forName(Class.java:340) [java] at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:117) [java] at org.apache.logging.log4j.util.ReflectionUtil.<clinit>(ReflectionUtil.java:63) [java] Exception in thread "main" Operation IMPORT failed on jenkins-Claims_DevToQA-75, [java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116) [java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) [java] at org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(ThrowableProxy.java:116) [java] at org.apache.logging.log4j.core.impl.Log4jLogEvent.getThrownProxy(Log4jLogEvent.java:323) [java] at org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter.format(ExtendedThrowablePatternConverter.java:64) [java] at org.apache.logging.log4j.core.pattern.PatternFormatter.format(PatternFormatter.java:36) [java] at org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:196) [java] at org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:55) [java] at org.apache.logging.log4j.core.layout.AbstractStringLayout.toByteArray(AbstractStringLayout.java:71) [java] at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:108) [java] at org.apache.logging.log4j.core.appender.RandomAccessFileAppender.append(RandomAccessFileAppender.java:88) [java] at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:99) [java] at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:430) [java] at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:409) [java] at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367) [java] at org.apache.logging.log4j.core.Logger.logMessage(Logger.java:112) [java] at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:727) [java] at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:716) [java] at org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:354) [java] at com.pega.pegarules.serviceclient.LogHelper.error(LogHelper.java:52) [java] at com.pega.pegarules.serviceclient.requestmanager.RequestManager.processResponse(RequestManager.java:172) [java] at com.pega.pegarules.serviceclient.requestmanager.RequestManager.doOperation(RequestManager.java:141) [java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:100) [java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) [java] [java] [java] FAILED JOBS [java] -------------------------------------------------------------------------------------------- [java] [java] System Name : jenkins-Claims_DevToQA-75 [java] Job ID : [java] Status : [java] Error Message : REQUEST_EXECUTION_ERROR java.lang.NullPointerException [java] -------------------------------------------------------------------------------------------- [java] 16:03:28.573 [main] INFO [viceclient.requestmanager.RequestManager] - Shutting down executor service [java] 16:03:28.573 [main] INFO [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed
[java] 16:03:28.515 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-Claims_DevToQA-75: Parsing response [java] 16:03:28.516 [pool-2-thread-1] INFO [egarules.serviceclient.rest.RestResponse] - jenkins-Claims_DevToQA-75: Parsing response of length 513 [java] 16:03:28.520 [main] INFO [viceclient.requestmanager.RequestManager] - Request on system jenkins-Claims_DevToQA-75 failed [java] 2020-11-04 16:03:28,524 INFO sun.reflect.Reflection.getCallerClass is not supported. ReflectionUtil.getCallerClass will be much slower due to this. java.lang.ClassNotFoundException: sun.reflect.Reflection [java] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602) [java] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) [java] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) [java] at java.base/java.lang.Class.forName0(Native Method) [java] at java.base/java.lang.Class.forName(Class.java:340) [java] at org.apache.logging.log4j.util.LoaderUtil.loadClass(LoaderUtil.java:117) [java] at org.apache.logging.log4j.util.ReflectionUtil.<clinit>(ReflectionUtil.java:63) [java] Exception in thread "main" Operation IMPORT failed on jenkins-Claims_DevToQA-75, [java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116) [java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) [java] at org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(ThrowableProxy.java:116) [java] at org.apache.logging.log4j.core.impl.Log4jLogEvent.getThrownProxy(Log4jLogEvent.java:323) [java] at org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter.format(ExtendedThrowablePatternConverter.java:64) [java] at org.apache.logging.log4j.core.pattern.PatternFormatter.format(PatternFormatter.java:36) [java] at org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:196) [java] at org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:55) [java] at org.apache.logging.log4j.core.layout.AbstractStringLayout.toByteArray(AbstractStringLayout.java:71) [java] at org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:108) [java] at org.apache.logging.log4j.core.appender.RandomAccessFileAppender.append(RandomAccessFileAppender.java:88) [java] at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:99) [java] at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:430) [java] at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:409) [java] at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:367) [java] at org.apache.logging.log4j.core.Logger.logMessage(Logger.java:112) [java] at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:727) [java] at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:716) [java] at org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:354) [java] at com.pega.pegarules.serviceclient.LogHelper.error(LogHelper.java:52) [java] at com.pega.pegarules.serviceclient.requestmanager.RequestManager.processResponse(RequestManager.java:172) [java] at com.pega.pegarules.serviceclient.requestmanager.RequestManager.doOperation(RequestManager.java:141) [java] at com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:100) [java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61) [java] [java] [java] FAILED JOBS [java] -------------------------------------------------------------------------------------------- [java] [java] System Name : jenkins-Claims_DevToQA-75 [java] Job ID : [java] Status : [java] Error Message : REQUEST_EXECUTION_ERROR java.lang.NullPointerException [java] -------------------------------------------------------------------------------------------- [java] 16:03:28.573 [main] INFO [viceclient.requestmanager.RequestManager] - Shutting down executor service [java] 16:03:28.573 [main] INFO [viceclient.requestmanager.RequestManager] - Executor Service shutdown completed