https://issues.apache.org/bugzilla/show_bug.cgi?id=56550
Bug ID: 56550
Summary: Java error message showed when deploying to AIX
environment.
Product: POI
Version: 3.9
Hardware: Other
OS: AIX
Status: NEW
Severity: blocker
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
Created attachment 31644
--> https://issues.apache.org/bugzilla/attachment.cgi?id=31644&action=edit
List of included JAR files ; Error prompt in WebLogic 12c
Below steps will reproduce the problem :
1. Included the required XDocReport jar files (Including the
"poi-ooxml-3.9.jar")in my JavaEE project and export to an EAR file.
2. Deployed the EAR file to WebLogic Server 12c on the AIX.
3. Update the EAR and start the project as an application on WebLogic Server
12c.
Expected: The project is started and state is "Active".
Actual: Java error showed "java.lang.NoSuchFieldException: classes"
- Seems there is no problem if the same EAR is deployed to WebLogic Server 12c
in Windows environment.
- I further found the below error lines in WebLogic 12c's log files :
....
....
Caused By: java.lang.NoSuchFieldException: classes
at java.lang.Class.getDeclaredFieldImpl(Native Method)
at java.lang.Class.getDeclaredField(Class.java:599)
at org.apache.poi.util.OOXMLLite.<clinit>(OOXMLLite.java:39)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:236)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:219)
....
....
Refer to line 4 >> at org.apache.poi.util.OOXMLLite.<clinit>(OOXMLLite.java:39)
I further found the "OOXMLLite.class" in "poi-ooxml-3.9.jar", and next I try to
read the content with a decompiler and found some "classes" definition in the
files which I guess maybe the cause of the error ?
--
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]