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

--- Comment #19 from Greg Woolsey <[email protected]> ---
>From the attached stacktrace, and the sources, it can be seen that the error
originates from 

org.openxmlformats.schemas.wordprocessingml.x2006.main.DocumentDocument.Factory.parse(*)

which is found in

ooxml-schemas-1.3.jar

This is a generated XMLBeans class.  Further, it isn't doing any explicit class
loading, it is just importing a class.  So it looks to me like the issue is
down in XMLBeans somewhere, or in the user's ClassLoader hierarchy.  

I searched the entire POI codebase, and there are no calls to *.forName(String,
ClassLoader) or anything similar.  All calls are using the static
Class.forName(String classname) method, which should be fine.

I'm fairly certain the issue for the end user is the placement of
ooxml-schemas-1.3.jar in their class loader library structure.  It could be
defined at too high a level, and thus inaccessible to a lower classloader, in
which case that library should be pushed down rather than POI pulled up.  Note
that this is a standard dependency for POI.

-- 
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