poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59766] New: Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine
Date Mon, 27 Jun 2016 18:23:29 GMT
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: dev@poi.apache.org
          Reporter: m.asaira123@gmail.com

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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message