You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2017/03/04 01:01:45 UTC
[jira] [Created] (SOLR-10228) XLSXWriter fails on headless jvm due
to missing awt fonts - causes errors in TestXLSXResponseWriter
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org