xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40450] OutofMemory Exception swallowed.
Date Sun, 31 May 2009 08:58:08 GMT

Helder Magalhães <helder.magalhaes@gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO
           Severity|critical                    |minor

--- Comment #1 from Helder Magalhães <helder.magalhaes@gmail.com>  2009-05-31 01:58:07
PST ---
(In reply to comment #0)
> A bad image link was displayed with no errors, when I actually recieved a 
> OutOfMemoryException. The OutOfMemoryExpception is swallowed by a catch 
> (Throwable t) at line 105 in the 
> org.apache.batik.ext.awt.image.codec.png.PNGRegistryEntry:105

Yes, I confirmed this (though it is in line 113 as of Batik 1.8pre - revision
777417 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=777417 )). Nevertheless, I'm
not sure what should happen instead: remove that
catch block, maybe? In that case, what about other exceptions (I/O, thread
death, etc.)?

I'd say this could be marked invalid as the OOM exception seems to be the
actual problem (incorrect dimensioning of the JVM memory)... Marking as need
info in order to call for feedback. ;-)  Also, please consider marking as
invalid if you feel (like I do) that the swallowing the exception is at least
coherent with other exceptions being handled in a "best-effort" fashion.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org

View raw message