Ok, please report a bug together with a sample file (if needed) and sample
code which allows to reproduce the problem. Maybe the unit test from the
previous bug got removed/disabled and thus we miss the one CT class in the
smaller jar. Also different Java versions can have subtle differences and
we might be calling some JRE functionality internally which might explain
the Java 7/8 difference.

Using the full jar in either 3.9 or the latest version is a workaround that
you can use in the meantime, just make sure to use only jars from one
version of poi as some of the problems you describe sound like mixing
different versions.

Dominik
Am 04.08.2015 19:50 schrieb "Anand Narasimhan"
<anarasim...@netflix.com.invalid>:

> I have tried every version from 3.6 untill 3.13 beta. Only 3.7 has the
> class CTPhoneticRun class. I don't even where this is used, but fails when
> I try to call cell.getRichStringCellValue().getString().
>
> Which version should I use? More importantly, why is this failing now after
> I upgrade to Java 8. I have been using 3.9 for more than a year and it was
> working fine.
>
> Also, should I use ooxms-schemas instead of poi-ooxml-schemas? This file is
> 14MB. And the poi doc seems to suggest that we should not use that.
>
> I don't mind upgrading to the latest version, but I want to make sure it
> works. From what I have seen, even the latest version has the same issue.
>
> I saw this bug report https://bz.apache.org/bugzilla/show_bug.cgi?id=49325
> .
> Seems like CTPhoneticRun was added in 3.7, but removed in 3.8 and later.
>
> Anand
>
>
> On Tue, Aug 4, 2015 at 12:06 AM, kiwiwings <kiwiwi...@apache.org> wrote:
>
> > Have you seen the FAQ entry [1]?
> > Why do you use such an old POI version?
> > The same might happen with a newer version too, if you don't use the
> > ooxml-schemas-1.1.jar, but I always wonder why people stick with 3.9 for
> > not
> > obvious reasons ...
> >
> > Andi
> >
> >
> > [1] http://poi.apache.org/faq.html#faq-N10025
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-poi.1045710.n5.nabble.com/POI-3-9-and-Java-8-issues-tp5719605p5719607.html
> > Sent from the POI - User mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
> > For additional commands, e-mail: user-h...@poi.apache.org
> >
> >
>

Reply via email to