Support Article

Rule is attempting to use non-accessible jar during compilation

SA-43915

Summary



PegaRULES log shows “SEVERE” messages. The messages are only in catalina.out and not in PEGA logs or PEGE ALERT logs.

Error Messages


11-Jul-2017 09:43:51.598 SEVERE [http-nio-8722-exec-2] com.pega.pegarules.internal.bootstrap.phase2.loaderfs.PRClasspath. A rule is attempting to use a non-accessible jar during compilation. Please contact GCS to help remove dependencies on non-accessible jars. Attempted to use '/prenginext.jar!/com/pega/pegarules/data/external/clipboard/ClipboardPageAPI.class
11-Jul-2017 09:43:51.601 SEVERE [http-nio-8722-exec-2] com.pega.pegarules.internal.bootstrap.phase2.loaderfs.PRClasspath. java.lang.Exception: Debug logging in PRClasspath to help identify an edge case
at com.pega.pegarules.internal.bootstrap.phase2.loaderfs.PRClasspath.isNonAccessibleJarDuringRuleCompilation(PRClasspath.java:390)
at com.pega.jsr199.Jsr199ClasspathJDBC.getByteContent(Jsr199ClasspathJDBC.java:137)
at com.pega.jsr199.Jsr199FileManager.getClassBytes(Jsr199FileManager.java:699)
at org.eclipse.jdt.internal.compiler.batch.ClasspathJsr199.findClass(ClasspathJsr199.java:88)
at org.eclipse.jdt.internal.compiler.batch.FileSystem.findClass(FileSystem.java:282)
...
at com.pega.pegarules.generation.internal.library.LibraryUtilityBase.extractOne(LibraryUtilityBase.java:686)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:191)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(LibraryFunctionUtilityImpl.java:2923)
at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(Executable.java:11151)
at com.pegarules.generated.when.ra_when_pyootbvisibleinbrowser_615be075c23fd98bbad45f4f33be9bea.evaluate(ra_when_pyootbvisibleinbrowser_615be075c23fd98bbad45f4f33be9bea.java:51)


Steps to Reproduce



Not Applicable


Root Cause



A defect in Pegasystems’ code or rules

Resolution



Apply HFix-35920.

Published November 3, 2017 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.