You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Andrea Lanza <an...@gas.it> on 2013/06/03 08:38:53 UTC
strange problem with columns autosize - SOLVED
Sorry for delayed answer, I was not here last friday.
I installed the package
xorg-x11-fonts
with its dependancies, (xorg-x11-fonts-core , fonts-config , ft2demos)
and it SOLVED the autosize problem
I have to say : now headless option isn't set anymore: so if I ask for
System.out.println("java.awt.headless: " +
System.getProperty("java.awt.headless"));
it tells me "null" .
So, according to my system, installing x11-fonts solve the problem, set
headless option does not
Thank you very much for your help,
Andrea
> -----Messaggio originale-----
> Da: Nick Burch [mailto:apache@gagravarr.org]
> Inviato: giovedì 30 maggio 2013 21:34
> A: POI Users List
> Oggetto: Re: R: strange problem with columns autosize
>
> On Thu, 30 May 2013, Andrea Lanza wrote:
> > WITH -Djava.awt.headless="true"
> > java.lang.NullPointerException
> > at
> > sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779)
>
> Do you have any fonts installed on the server? Looks like you might not
> have any, and your jvm isn't being very helpful in the error it gives for
> that...
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>
> --
> Il messaggio e' stato analizzato alla ricerca di virus o
> contenuti pericolosi da MailScanner, ed e'
> risultato non infetto.
--
Il messaggio e' stato analizzato alla ricerca di virus o
contenuti pericolosi da MailScanner, ed e'
risultato non infetto.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org