me0wster / javamelody

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

The IText artifacts causes NullPointerException in FlyingSaucer #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The files in package: com\lowagie\text\pdf\fonts\causes othere libraries (like 
e.g. FlyingSaucer) to load try to load the asian fonts which results in a 
NullPointerException. The problem disapears as soon the JavaMelody jar is not 
on the classpath. To solve this problem, I suggest that the Files are separeted 
to an additional jar, so that they can be loaded if they are nedded, but not in 
general.

Original issue reported on code.google.com by Andy.2...@gmail.com on 5 Oct 2012 at 2:21

GoogleCodeExporter commented 9 years ago
Workaround: delete the folder "com" in the jar

Original comment by Andy.2...@gmail.com on 5 Oct 2012 at 2:27

GoogleCodeExporter commented 9 years ago
This is now fixed in trunk (revision 3084) and ready for the next release 
(1.42).
It was not needed to separate the files to an additional jar (but the 
com\lowagie\text\pdf\fonts\cjkfonts.properties file was renamed).

I have a made a new build from the trunk and it is available at:
http://javamelody.googlecode.com/files/javamelody-20121006.jar

Original comment by evernat@free.fr on 6 Oct 2012 at 8:51