You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/06/27 18:23:29 UTC

[Bug 59766] New: Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

m.asaira123@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.asaira123@gmail.com

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

--- Comment #2 from m.asaira123@gmail.com ---
I tried POI 3.15 beta 3 from
https://builds.apache.org/job/POI/lastSuccessfulBuild/artifact/build/dist/
which is poi-bin-3.15-beta3-20160625.tar.gz

And still getting the same error, would it matter if I try beta 2 instead if
yes where can I find it ?

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Dominik Stadler <do...@gmx.at> ---
Setting this to FIXED as the last comment indicates it is actually fixed.
Please reopen with information about what you tried if it does still not work
for you with this version.

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

--- Comment #7 from Sergey Parhomenko <se...@parhomenko.net> ---
We bumped into the same issue when running on Google App Engine Standard
Environment, and can confirm the latest nightly build (3.15-beta4-20160815)
fixes the issue for us.

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

m.asaira123@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from m.asaira123@gmail.com ---
I tried POI 3.15 beta 3 from
https://builds.apache.org/job/POI/lastSuccessfulBuild/artifact/build/dist/
which is poi-bin-3.15-beta3-20160625.tar.gz

And still getting the same error, would it matter if I try beta 2 instead if
yes where can I find it ?

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Can you re-try with the POI 3.15 beta 2 release candidate?

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

Nick Burch <ap...@gagravarr.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #4 from Nick Burch <ap...@gagravarr.org> ---
Hopefully fixed in r1750408. Can you try with tomorrow's nightly build, or do
your own custom build from svn/git and check?

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

--- Comment #5 from Ahmad Abu Rjeila <ah...@gmail.com> ---
I tried the last code which includes r1750408 commit but still the issue didn't
fix.

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


[Bug 59766] Could not initialize SecurityManager when initializing ReadOnlySharedStringsTable in appengine

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59766

--- Comment #6 from Nick Burch <ap...@gagravarr.org> ---
Has the stacktrace changed with the r1750408 fix in?

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