Hoss Man created SOLR-10228:
-------------------------------

             Summary: XLSXWriter fails on headless jvm due to missing awt fonts 
- causes errors in TestXLSXResponseWriter 
                 Key: SOLR-10228
                 URL: https://issues.apache.org/jira/browse/SOLR-10228
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: contrib - Solr Cell (Tika extraction)
         Environment: debian openjdk-9-jdk-headless b158
            Reporter: Hoss Man


I found this while trying to setup some automated testing against JDK9, but i 
suspect it would affect anyone using any "headless" of java...

{noformat}
   [junit4] Tests with failures [seed: C8331E32DDBEC2E6]:
   [junit4]   - 
org.apache.solr.handler.extraction.TestXLSXResponseWriter.testStructuredDataViaBaseWriters
   [junit4]   - 
org.apache.solr.handler.extraction.TestXLSXResponseWriter.testPseudoFields
{noformat}

The root problems appear to be NPEs resulting from AWT Font classes not being 
available when XLSXWriter tries to initialize POI ... which bubbles up to the 
test as a java.lang.InternalError (full sack traces to follow in a comment)




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to