You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Thibaud Flury (JIRA)" <ji...@apache.org> on 2013/12/20 17:10:19 UTC

[jira] [Closed] (FELIX-4365) Input stream not properly closed on org.apache.felix.framework.Felix.getFrameworkVersion

     [ https://issues.apache.org/jira/browse/FELIX-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thibaud Flury closed FELIX-4365.
--------------------------------


should be ok,
 Thanks !

> Input stream not properly closed on org.apache.felix.framework.Felix.getFrameworkVersion
> ----------------------------------------------------------------------------------------
>
>                 Key: FELIX-4365
>                 URL: https://issues.apache.org/jira/browse/FELIX-4365
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Main Distribution
>         Environment: android dalvik (4.2.2)
>            Reporter: Thibaud Flury
>            Assignee: Richard S. Hall
>             Fix For: framework-4.4.0
>
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> Dalvik CloseGard detects that an ImputStrem is not properly closed on org.apache.felix.framework.Felix.getFrameworkVersion
> Stack Trace :
> W/System  ( 3466): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
> W/System  ( 3466): java.lang.Throwable: Explicit termination method 'end' not called
> W/System  ( 3466): 	at dalvik.system.CloseGuard.open(CloseGuard.java:184)
> W/System  ( 3466): 	at java.util.zip.Inflater.<init>(Inflater.java:82)
> W/System  ( 3466): 	at java.util.zip.ZipFile.getInputStream(ZipFile.java:270)
> W/System  ( 3466): 	at java.util.jar.JarFile.getInputStream(JarFile.java:388)
> W/System  ( 3466): 	at libcore.net.url.JarURLConnectionImpl.getInputStream(JarURLConnectionImpl.java:226)
> W/System  ( 3466): 	at java.net.URL.openStream(URL.java:462)
> W/System  ( 3466): 	at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:436)
> W/System  ( 3466): 	at java.lang.Class.getResourceAsStream(Class.java:1114)
> W/System  ( 3466): 	at org.apache.felix.framework.Felix.getFrameworkVersion(Felix.java:4484)
> W/System  ( 3466): 	at org.apache.felix.framework.Felix.initializeFrameworkProperties(Felix.java:4459)
> W/System  ( 3466): 	at org.apache.felix.framework.Felix.<init>(Felix.java:353)
> W/System  ( 3466): 	at org.apache.felix.framework.FrameworkFactory.newFramework(FrameworkFactory.java:28)
> W/System  ( 3466): 	at org.apache.felix.main.Main.main(Main.java:287)
> W/System  ( 3466): 	at dalvik.system.NativeStart.main(Native Method)
> W/System  ( 3466): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
> W/System  ( 3466): java.lang.Throwable: Explicit termination method 'end' not called
> W/System  ( 3466): 	at dalvik.system.CloseGuard.open(CloseGuard.java:184)
> W/System  ( 3466): 	at java.util.zip.Inflater.<init>(Inflater.java:82)
> W/System  ( 3466): 	at java.util.zip.ZipFile.getInputStream(ZipFile.java:270)
> W/System  ( 3466): 	at org.apache.felix.framework.util.WeakZipFileFactory$WeakZipFile.getInputStream(WeakZipFileFactory.java:264)
> W/System  ( 3466): 	at org.apache.felix.framework.cache.JarContent.getEntryAsStream(JarContent.java:198)
> W/System  ( 3466): 	at org.apache.felix.framework.BundleRevisionImpl.getInputStream(BundleRevisionImpl.java:603)
> W/System  ( 3466): 	at org.apache.felix.framework.URLHandlersBundleURLConnection.connect(URLHandlersBundleURLConnection.java:150)
> W/System  ( 3466): 	at org.apache.felix.framework.URLHandlersBundleURLConnection.getInputStream(URLHandlersBundleURLConnection.java:161)
> W/System  ( 3466): 	at org.apache.felix.framework.BundleImpl.getCurrentLocalizedHeader(BundleImpl.java:431)
> W/System  ( 3466): 	at org.apache.felix.framework.Felix.getBundleHeaders(Felix.java:1575)
> W/System  ( 3466): 	at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:335)
> W/System  ( 3466): 	at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:317)
> W/System  ( 3466): 	at org.apache.felix.main.AutoProcessor.isFragment(AutoProcessor.java:395)
> W/System  ( 3466): 	at org.apache.felix.main.AutoProcessor.processAutoDeploy(AutoProcessor.java:186)
> W/System  ( 3466): 	at org.apache.felix.main.AutoProcessor.process(AutoProcessor.java:78)
> W/System  ( 3466): 	at org.apache.felix.main.Main.main(Main.java:292)
> W/System  ( 3466): 	at dalvik.system.NativeStart.main(Native Method)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)