Unable to load CABI Reports
search cancel

Unable to load CABI Reports

book

Article ID: 225135

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Deployed all CABI reports packages but while trying to launch throwing below errors in OC:

Jasper server log shows below errors:

2021-09-29T11:26:12,542 ERROR SecureExceptionHandlerImpl,http-nio-80-exec-44:116 - There was an error on the server. Try again or contact site administrators. (Error UID: afbae2ca-74a8-43b9-8492-30aa5dcc050f)
2021-09-29T11:26:12,543 ERROR ErrorPageHandlerAction,http-nio-80-exec-44:118 - Error UID afbae2ca-74a8-43b9-8492-30aa5dcc050f com.jaspersoft.jasperserver.api.JSException: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
Arguments: 
 at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:671)
 at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReportUnitRequest(EngineServiceImpl.java:2119)
 at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:75)
 at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:540)

 

021-09-29T11:41:17,607 ERROR SecureExceptionHandlerImpl,http-nio-80-exec-7:116 - Error executing SQL statement for: Device_Query.
2021-09-29T11:43:34,628 ERROR CsrfGuard,http-nio-80-exec-8:45 - potential cross-site request forgery (CSRF) attack thwarted (user:<anonymous>, ip:##.##.##.##, method:POST, uri:/cabijs/flow.html, error:request token does not match session token)
2021-09-29T11:44:07,371 ERROR SecureExceptionHandlerImpl,http-nio-80-exec-7:116 - Error initializing graphic environment.

Environment

Release : 20.3

Component : UIM - CABI 4.3 Bundled

DB: MYSQL 5.7.35

OS: Linux

Cause

CABI Robot deployed on Linux server.

Resolution

 Follow the below steps:

1. Go to CABI wasp.cfg file

2. Add below property

-Djava.awt.headless=true, in startup options section .

3. and restart CABI robot.

Note: Generally OC/CABI sync takes time, So restart OC as well.