[Bug 62943] New: Runtime error trying to set entity expansion limit property

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 62943] New: Runtime error trying to set entity expansion limit property

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62943

            Bug ID: 62943
           Summary: Runtime error trying to set entity expansion limit
                    property
           Product: POI
           Version: 4.0.0-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: XSSF
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Created attachment 36274
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36274&action=edit
Error on org.apache.poi.ooxml.util.DocumentHelper.trySetXercesSecurityManager
for attribute http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit

Getting error in runtime (attached) trying to get an XSSFWorkbook on an
Weblogic deployment.
In trySetXercesSecurityManager it seems that the
com.sun.org.apache.xerces.internal.util.SecurityManager has been commented out.
This result on reach of line
dbf.setAttribute(POIXMLConstants.PROPERTY_ENTITY_EXPANSION_LIMIT, 1);
which results the error.

My setup :
Weblogic 12.1.3
JDK 8

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62943] Runtime error trying to set entity expansion limit property

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62943

Aris Anastasatos <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62943] Runtime error trying to set entity expansion limit property

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62943

Aris Anastasatos <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |critical

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62943] Runtime error trying to set entity expansion limit property

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62943

--- Comment #1 from Andreas Beeker <[hidden email]> ---
I think this is fixed / will be fixed in POI 4.0.1, because of XmlBeans 3.0.2

https://issues.apache.org/jira/browse/XMLBEANS-519

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62943] Runtime error trying to set entity expansion limit property

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62943

Andreas Beeker <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |62692


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=62692
[Bug 62692] WildFly XML parser not properly supported - Property
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not
recognized
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62943] Runtime error trying to set entity expansion limit property

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62943

--- Comment #2 from Aris Anastasatos <[hidden email]> ---
I am using XmlBeans 3.0.2 at the moment but I guess that this has to do with
the XercesImpl which is included in jdk in JDK8.

It seems that the
http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit is an unknown
attribute. Shouldn't the comment of the
com.sun.org.apache.xerces.internal.util.SecurityManager be uncommented?

Reviewing the repository that this has been uncommented only in the latest
revision of the trunk.

Is this is included in 4.0.0 to try something else or go to a previous version
or should I wait for 4.0.1 to use?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]