Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Export to Excel Failing for On Pem Instance: Could not initialize class sun.awt.X11FontManager - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Export to Excel Failing for On Pem Instance: Could not initialize class sun.awt.X11FontManager
KB0854611

Export to Excel Failing for On Pem Instance: Could not initialize class sun.awt.X11FontManager


7010 Views Last updated : Jul 22, 2023 public Copy Permalink
KB Summary by Now Assist

Issue

Export to Excel on on-prem instance fails:

1. When the download button is clicked then the page loads with an error "Requested attachment does not exist".

2. Check the logs if looks similar like below:

2019-02-07 10:20:35 (799) glide.background.generation.79a8d4e4632f6380f0917d7ad6ba947b SYSTEM txid=fda8d828632f SEVERE * ERROR * Could not initialize class sun.awt.X11FontManager
java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11FontManager
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:82)
at java.security.AccessController.doPrivileged(Native Method)
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
at java.awt.Font.getFont2D(Font.java:491)
at java.awt.Font.canDisplayUpTo(Font.java:2060)
at java.awt.font.TextLayout.singleFont(TextLayout.java:470)
at java.awt.font.TextLayout.<init>(TextLayout.java:531)
at org.apache.poi.ss.util.SheetUtil.getDefaultCharWidth(SheetUtil.java:274)
at org.apache.poi.xssf.streaming.AutoSizeColumnTracker.<init>(AutoSizeColumnTracker.java:117)
at org.apache.poi.xssf.streaming.SXSSFSheet.<init>(SXSSFSheet.java:79)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.createAndRegisterSXSSFSheet(SXSSFWorkbook.java:652)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:673)
at org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet(SXSSFWorkbook.java:89)
at com.glide.processors.ExcelSpreadsheet.createSheet(ExcelSpreadsheet.java:259)
at com.glide.processors.ExcelSpreadsheet.writeDocument(ExcelSpreadsheet.java:214)
at com.glide.processors.ExcelSpreadsheet.createDocument(ExcelSpreadsheet.java:193)
at com.glide.processors.ExcelSpreadsheet.createDocument(ExcelSpreadsheet.java:172)
at com.glide.generators.ExcelExporter.createDocument(ExcelExporter.java:88)
at com.glide.generators.ExcelExporter.generate(ExcelExporter.java:74)
at com.glide.generators.BackGroundGenerationThread.run(BackGroundGenerationThread.java:71)

Release

Applies to on-prem instances.

Cause

On the application server libgcc RPM package of 32 bit version is not installed.

Resolution

Verification of the packages can be done on your Linux application server with the following command:

$ rpm -qi libgcc

Should return both the 64 and 32 bit versions.

    For Example: 

      [Appserver ~]$ rpm -qa | grep libgcc
      libgcc-4.4.7-23.el6.i686
      libgcc-4.4.7-23.el6.x86_64

Please install the missing bit version of libgcc package on the server using yum install and restart the ServiceNow nodes to export the list view records to excel successfully.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.