Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When strictmode enabled, i get these error msj #22

Closed
mutkan opened this issue Oct 18, 2012 · 1 comment
Closed

When strictmode enabled, i get these error msj #22

mutkan opened this issue Oct 18, 2012 · 1 comment

Comments

@mutkan
Copy link

mutkan commented Oct 18, 2012

10-18 14:26:14.988: E/StrictMode(16632): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
10-18 14:26:14.988: E/StrictMode(16632): java.lang.Throwable: Explicit termination method 'close' not called
10-18 14:26:14.988: E/StrictMode(16632): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
10-18 14:26:14.988: E/StrictMode(16632): at java.io.FileInputStream.(FileInputStream.java:80)
10-18 14:26:14.988: E/StrictMode(16632): at com.fedorvlasov.lazylist.ImageLoader.decodeFile(ImageLoader.java:94)
10-18 14:26:14.988: E/StrictMode(16632): at com.fedorvlasov.lazylist.ImageLoader.getBitmap(ImageLoader.java:62)
10-18 14:26:14.988: E/StrictMode(16632): at com.fedorvlasov.lazylist.ImageLoader.access$0(ImageLoader.java:57)
10-18 14:26:14.988: E/StrictMode(16632): at com.fedorvlasov.lazylist.ImageLoader$PhotosLoader.run(ImageLoader.java:136)
10-18 14:26:14.988: E/StrictMode(16632): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
10-18 14:26:14.988: E/StrictMode(16632): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
10-18 14:26:14.988: E/StrictMode(16632): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
10-18 14:26:14.988: E/StrictMode(16632): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
10-18 14:26:14.988: E/StrictMode(16632): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
10-18 14:26:14.988: E/StrictMode(16632): at java.lang.Thread.run(Thread.java:856)

@thest1
Copy link
Owner

thest1 commented Oct 18, 2012

Made a fix, please try again. Thanks!

2012/10/18 mutkan notifications@github.com

10-18 14:26:14.988: E/StrictMode(16632): A resource was acquired at
attached stack trace but never released. See java.io.Closeable for
information on avoiding resource leaks.
10-18 14:26:14.988: E/StrictMode(16632): java.lang.Throwable: Explicit
termination method 'close' not called
10-18 14:26:14.988: E/StrictMode(16632): at
dalvik.system.CloseGuard.open(CloseGuard.java:184)
10-18 14:26:14.988: E/StrictMode(16632): at
java.io.FileInputStream.(FileInputStream.java:80)
10-18 14:26:14.988: E/StrictMode(16632): at
com.fedorvlasov.lazylist.ImageLoader.decodeFile(ImageLoader.java:94)
10-18 14:26:14.988: E/StrictMode(16632): at
com.fedorvlasov.lazylist.ImageLoader.getBitmap(ImageLoader.java:62)
10-18 14:26:14.988: E/StrictMode(16632): at
com.fedorvlasov.lazylist.ImageLoader.access$0(ImageLoader.java:57)
10-18 14:26:14.988: E/StrictMode(16632): at
com.fedorvlasov.lazylist.ImageLoader$PhotosLoader.run(ImageLoader.java:136)
10-18 14:26:14.988: E/StrictMode(16632): at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
10-18 14:26:14.988: E/StrictMode(16632): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
10-18 14:26:14.988: E/StrictMode(16632): at
java.util.concurrent.FutureTask.run(FutureTask.java:137)
10-18 14:26:14.988: E/StrictMode(16632): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
10-18 14:26:14.988: E/StrictMode(16632): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
10-18 14:26:14.988: E/StrictMode(16632): at
java.lang.Thread.run(Thread.java:856)


Reply to this email directly or view it on GitHubhttps://github.com//issues/22.

@mutkan mutkan closed this as completed Oct 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants