j4me / achartengine

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

StrictMode reports unclosed Closable #420

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use  StrictMode
2. Use GraphicalView todraw chart

What is the expected output? What do you see instead?

07-18 13:17:20.018: E/StrictMode(4833): A resource was acquired at attached 
stack trace but never released. See java.io.Closeable for information on 
avoiding resource leaks.
07-18 13:17:20.018: E/StrictMode(4833): java.lang.Throwable: Explicit 
termination method 'end' not called
07-18 13:17:20.018: E/StrictMode(4833):     at 
dalvik.system.CloseGuard.open(CloseGuard.java:184)
07-18 13:17:20.018: E/StrictMode(4833):     at 
java.util.zip.Inflater.<init>(Inflater.java:82)
07-18 13:17:20.018: E/StrictMode(4833):     at 
java.util.zip.ZipFile.getInputStream(ZipFile.java:310)
07-18 13:17:20.018: E/StrictMode(4833):     at 
java.util.jar.JarFile.getInputStream(JarFile.java:389)
07-18 13:17:20.018: E/StrictMode(4833):     at 
libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:22
2)
07-18 13:17:20.018: E/StrictMode(4833):     at 
java.net.URL.openStream(URL.java:470)
07-18 13:17:20.018: E/StrictMode(4833):     at 
java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:432)
07-18 13:17:20.018: E/StrictMode(4833):     at 
java.lang.Class.getResourceAsStream(Class.java:1037)
07-18 13:17:20.018: E/StrictMode(4833):     at 
org.achartengine.GraphicalView.<init>(GraphicalView.java:100)

What version of the product binary library are you using?
1.1.0

Original issue reported on code.google.com by martin.b...@gmail.com on 18 Jul 2014 at 1:23

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 16 Sep 2014 at 7:35