On Wed, 7 Jan 2015, Jean-Rémi Malzieu wrote:
I just encountered an issue while trying to read xls file on app engine with
the latest version of POI (3.11). As mentioned in the subject of the mail,
while calling workbookFactory.create, it ended up to use the SecurityManager
that is a restricted class in app engine.
Any chance you could open a new bug for this in bugzilla? We can then
track it and get it fixed
java.lang.NoClassDefFoundError:
com.sun.org.apache.xerces.internal.util.SecurityManager is a restricted
class. Please see the Google App Engine developer's guide for more details.
at
com.google.apphosting.runtime.security.shared.stub.com.sun.org.apache.xerces.internal.util.SecurityManager.<clinit>(SecurityManager.java)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:370)
at
org.apache.poi.util.DocumentHelper.trySetXercesSecurityManager(DocumentHelper.java:77)
This method should be silently carrying on if it can't set the security
manager, so we'll need to tweak it somehow to make it work in this failure
case as well
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]