hyunsikki / xdocreport

Automatically exported from code.google.com/p/xdocreport
0 stars 0 forks source link

Java error message showed when deploying to AIX environment. #402

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Included the required XDocReport jar files 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.

What is the expected output? What do you see instead?
Expected: The project is started and state is "Active".
Actual: Java error showed "java.lang.NoSuchFieldException: classes"

What version of the product are you using? On what operating system?
- 1.0.4 (Extra JAR showed in attachment for your reference.)
- AIX

Please provide any additional information below.
- I have tried excluding the XDocReport from the project and it can be deployed 
without problem, so quite sure that the error should comes from the included 
JAR files.
- There is no problem if the same EAR is deployed to WebLogic Server 12c in 
Windows environment.

Original issue reported on code.google.com by henrydis...@gmail.com on 20 May 2014 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

I'm sorry, I cannot help you with those information 
"java.lang.NoSuchFieldException: classes".

Please try to find out more stack trace which will help us.

Regards Angelo

Original comment by angelo.z...@gmail.com on 20 May 2014 at 7:06

GoogleCodeExporter commented 9 years ago
Hi Angelo,

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.

Hope these information can provide some hints for your further advice. Thank 
you so much.

Cheers

Original comment by henrydis...@gmail.com on 21 May 2014 at 1:56

GoogleCodeExporter commented 9 years ago
It seems your problem comes from POI. Can you generate a report without convert 
it to PDF?

If you can generate a report without convert it to PDF (POI is not used in this 
case), I suggest you to post your question on POI forum.

Original comment by angelo.z...@gmail.com on 21 May 2014 at 7:21

GoogleCodeExporter commented 9 years ago
I close this issue because problem comes from POI.

Original comment by angelo.z...@gmail.com on 7 Aug 2014 at 3:48