https://bz.apache.org/bugzilla/show_bug.cgi?id=61478

--- Comment #3 from Karl Wright <[email protected]> ---
I looked at providing an example but unfortunately, this occurs under the
execution of Tika, which has many dozen dependent jars. If you want a code
snippet, you'll either need to set up directory with all Tika dependent jars in
it, or you will need to provide me a snippet of code which parses a Microsoft
Office file.  Alternatively I can upload a many-megabyte zip file containing
the Tika parser with all dependencies that you can just unpack.  Please let me
know what you prefer.

Another way forward is to discuss how you use reflection in POI.  If you use
the following method to locate your classes, all should be well:

https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#forName-java.lang.String-

But if you use this method, then you will have to be very certain you know what
you are doing to get the right class loader:

https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html#forName-java.lang.String-boolean-java.lang.ClassLoader-

I suspect it is the latter, and perhaps you are using the thread class loader
rather than the current class's class loader?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to