sun.awt.X11GraphicsEnvironment error coming while creating document

Hello Team,

We are using aspose.words.jdk16-7.0.0.jar and aspose-cells-8.6.0.jar in our project for generation of excel , word and pdf documents.We have the functionality where we do the extract of huge document , both in size and number , in application.
Though the normal behavior works ok but sometime we get this issue “sun.awt.X11GraphicsEnvironment” when application tries to create a document in code.

Other modules of application works normal but the modules which need aspose libraries stops working .To make them work again we need to restart the application.

Application is currently deployed on three environments (Integration,Validation and Production) and this issue is coming only in Production.
Could you please suggest what could be the potential issue.

@mayank189,

We have looked into this issue. This issue is not related to Aspose APIs. It is specific to your environment. It appears that there is some issue with Java runtime. You need to check X11 display setting.