Error: An Error occurred while Process Report Request from JAWS (Unify)
search cancel

Error: An Error occurred while Process Report Request from JAWS (Unify)

book

Article ID: 203686

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

Below is the error message received when More info is clicked after error is received.

Uncaught JawsException occurred

 

Time: 2020/11/17 11:57:20.911 PST

JAWS version: 5.8.6.1 [ue-rc-03-50202M-202001221103]

 

Java version: 1.8.0_261 (Oracle Corporation)

OS: Windows 10 10.0

jaws.log shows:

ERROR [ReportHandler] java.util.ServiceConfigurationError: sun.java2d.cmm.CMMServiceProvider: Error reading configuration file
2020-11-17 12:43:19,313 INFO  [JawsException] Wrapped exception not returned to the client: com.termalabs.common.JawsException: java.util.ServiceConfigurationError: sun.java2d.cmm.CMMServiceProvider: Error reading configuration file
    at com.termalabs.server.reporting.ReportHandler.executeReportGenerator(ReportHandler.java:240)
    at com.termalabs.server.ejb3.ReportDataManagerEJB.createReportInternal(ReportDataManagerEJB.java:368)
    at com.termalabs.server.ejb3.ReportDataManagerEJB.createReport(ReportDataManagerEJB.java:360)
    at com.termalabs.server.ejb3.ReportDataManagerEJB.createReport(ReportDataManagerEJB.java:335)
    ... 11 skipped
    at com.termalabs.server.ejb3.RequestScopeEJB3Interceptor.invoke(RequestScopeEJB3Interceptor.java:94)
    ... 68 skipped
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.ServiceConfigurationError: sun.java2d.cmm.CMMServiceProvider: Error reading configuration file
    at java.util.ServiceLoader.fail(ServiceLoader.java:232)
    at java.util.ServiceLoader.parse(ServiceLoader.java:309)
    at java.util.ServiceLoader.access$200(ServiceLoader.java:185)
    at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:357)
    at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393)
    at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)
    at sun.java2d.cmm.CMSManager$1.run(CMSManager.java:66)
    at sun.java2d.cmm.CMSManager$1.run(CMSManager.java:56)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.cmm.CMSManager.getModule(CMSManager.java:55)
    at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:786)
    at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:1020)
    at org.apache.fop.pdf.PDFICCBasedColorSpace.setupsRGBColorProfile(PDFICCBasedColorSpace.java:140)
    at org.apache.fop.pdf.PDFICCBasedColorSpace.setupsRGBAsDefaultRGBColorSpace(PDFICCBasedColorSpace.java:109)
    at org.apache.fop.render.pdf.PDFRenderer.addsRGBColorSpace(PDFRenderer.java:413)
    at org.apache.fop.render.pdf.PDFRenderer.startRenderer(PDFRenderer.java:382)
    at org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:78)
    at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:127)
    at org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:102)
    at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:224)
    at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:100)
    at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100)
    at org.apache.fop.apps.Fop.<init>(Fop.java:78)
    at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247)
    at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:224)
    at com.termalabs.server.reporting.format.ReportUtilities.getPdfWriterAsContentHandler(ReportUtilities.java:66)
    at com.termalabs.server.reporting.format.PDFReportWriter$Factory.create(PDFReportWriter.java:106)
    at com.termalabs.server.reporting.ReportHandler.createReportWriter(ReportHandler.java:249)
    ... 86 in common
Caused by: java.io.FileNotFoundException: /users/java/jdk1.8.0_261/jre/lib/resources.jar (No such file or directory)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:225)
    at java.util.zip.ZipFile.<init>(ZipFile.java:155)
    at java.util.jar.JarFile.<init>(JarFile.java:167)
    at java.util.jar.JarFile.<init>(JarFile.java:104)
    at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
    at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:84)
    at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
    at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:152)
    at java.net.URL.openStream(URL.java:1067)
    ... 113 in common

Environment

Release : 5.8.6

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

Found and error stating AAI could not find a java file
Caused by: java.io.FileNotFoundException: /users/java/jdk1.8.0_261/jre/lib/resources.jar (No such file or directory)



When we checked for that file, we found that jdk1.8.0_261 had been removed and 1.8.271 was installed.

When the jdk is upgraded, services should be restarted to pick up the new JDK version.

 

Restarted the AAI service and are no longer receiving the error.