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

            Bug ID: 59766
           Summary: Could not initialize SecurityManager when initializing
                    ReadOnlySharedStringsTable in appengine
           Product: POI
           Version: 3.14-FINAL
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [email protected]
          Reporter: [email protected]

In appengine version 1.9.38 When executing the below code where
workbookInputStream is an xlsx InputStream 

            OPCPackage container = OPCPackage.open(workbookInputStream);
            ReadOnlySharedStringsTable sharedStrings = new
ReadOnlySharedStringsTable(container);

The following exception is caught


java.lang.NoClassDefFoundError: Could not initialize class
com.google.apphosting.runtime.security.shared.stub.com.sun.org.apache.xerces.internal.util.SecurityManager
    at
com.google.appengine.runtime.Request.process-18917f2a8ba714e6(Request.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:588)
    at
org.apache.poi.util.SAXHelper.trySetXercesSecurityManager(SAXHelper.java:85)
    at org.apache.poi.util.SAXHelper.newXMLReader(SAXHelper.java:49)
    at
org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable.readFrom(ReadOnlySharedStringsTable.java:146)
    at
org.apache.poi.xssf.eventusermodel.ReadOnlySharedStringsTable.<init>(ReadOnlySharedStringsTable.java:112)

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