How do I resolve this bug

1

SEVERE: The web application [] created a ThreadLocal with key of type [net.sf.jasperreports.engine.fonts.FontUtil$1] (value [net.sf.jasperreports.engine.fonts.FontUtil$1@2fdb83b8]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

Technology I Used in my project are:

Java 1.7

Tomcat 7

Jasper 5.2.0

The application stoped and this bug will i got. Any one can help asap please.

udumanajmeer's picture
Joined: Jun 4 2013 - 9:00pm
Last seen: 4 years 8 months ago

2 Answers:

-2

Try upgrading to the most recent version which now is 5.6.1. I think there was a memory leak bug in 5.2 that was fixed in the recent version. Unfortunately, Tibco Jaspersoft doesn't provide patches for the memory leak problem.

hozawa's picture
63620
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 4 weeks ago
0

Like most other issues on the JasperSoft website, this issue is nearing ***SIX (6) YEARS** old and not resolved.

 

28-Feb-2020 12:17:47.108 SEVERE [localhost-startStop-3] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [jasperserver] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@979c98a]) and a value of type [com.sun.xml.bind.v2.runtime.Coordinator[]] (value [[Lcom.sun.xml.bind.v2.runtime.Coordinator;@6d90fbfa]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

If I had the choice, I would NEVER use Jasper Server again. I would rather use groff, xslt or html2pdf, one of the numerous dedicated PDF libraries, or even a "backyard" solution written by a non-English speaking hermit with zero support.

michael_56's picture
Joined: Jan 5 2016 - 2:06pm
Last seen: 3 months 4 weeks ago
Feedback
randomness