Home
Analytics
Could not initialize class org.eclipse.birt.chart.device.image.PngRendererImpl
rbguy
<p>Hello,</p>
<p> I've been successfully running BIRT reports using birt-runtime 4.3.1 on tomcat 7 (jre7) on Linux for about a year now with no problems. Suddenly, this week any report that contains a chart, any chart, displays the following error message:</p>
<p> </p>
<p>java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.birt.chart.device.image.PngRendererImpl</p>
<p> </p>
<p>Reports that don't contain charts still work just fine. Nothing on the server has changed so I'm a little perplexed why this just started.</p>
<p> </p>
<p>My apologies if this has already been addressed on this forum. </p>
<p>Thanks!</p>
Find more posts tagged with
Comments
mwilliams
<p>That seems odd. No java updates or anything have happened? Not a chance that anyone changed something?</p>
<p> </p>
<p>Could you try downloading the runtime again and replace your existing jars to see if that solves it? Though, like you, I don't see why that would just break.</p>
rbguy
<p>Thanks Michael,</p>
<p> It's back working now. I did as you suggested and downloaded a runtime again and installed. This time, using 4.4.1 I tried running it and again it didn't work, but at least it gave me a more helpful error message. This time it told me that libgcc_s.so.1 was missing. I then copied this file from another server, restarted tomcat and now all charts are working. Both using the 4.4.1 version and the 4.3.1. I have no idea how this file got removed from the system in the first place, but restoring it seemed to be the fix.</p>
<p>Roger</p>
mwilliams
<p>Great to hear! Very odd. Glad it's working.
</p>