You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "William Tam (JIRA)" <ji...@apache.org> on 2007/11/19 00:33:42 UTC
[jira] Created: (FELIX-422) NPE thrown by GetEntryPathsEnumeration
constructor
NPE thrown by GetEntryPathsEnumeration constructor
--------------------------------------------------
Key: FELIX-422
URL: https://issues.apache.org/jira/browse/FELIX-422
Project: Felix
Issue Type: Bug
Components: Framework
Affects Versions: 1.0.0
Reporter: William Tam
Since the system bundle getInfo().getCurrentModule().getContentLoader().getContent() returns null, calling system bundle getEntryPaths() will throw NPE in the following snippet of GetEntryPathsEnumeration.java
m_bundle = bundle;
m_path = path;
m_enumeration = m_bundle.getInfo().getCurrentModule()
.getContentLoader().getContent().getEntries();
java.lang.NullPointerException
at org.apache.felix.framework.GetEntryPathsEnumeration.<init>(GetEntryPathsEnumeration.java:35)
at org.apache.felix.framework.Felix.getBundleEntryPaths(Felix.java:1339)
at org.apache.felix.framework.Felix.getEntryPaths(Felix.java:335)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (FELIX-422) NPE thrown by
GetEntryPathsEnumeration constructor
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543442 ]
Richard S. Hall commented on FELIX-422:
---------------------------------------
I should also add that we will work on a 1.0.2 release to make this and a few other fixes officially available.
> NPE thrown by GetEntryPathsEnumeration constructor
> --------------------------------------------------
>
> Key: FELIX-422
> URL: https://issues.apache.org/jira/browse/FELIX-422
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: William Tam
>
> Since the system bundle getInfo().getCurrentModule().getContentLoader().getContent() returns null, calling system bundle getEntryPaths() will throw NPE in the following snippet of GetEntryPathsEnumeration.java
> m_bundle = bundle;
> m_path = path;
> m_enumeration = m_bundle.getInfo().getCurrentModule()
> .getContentLoader().getContent().getEntries();
> java.lang.NullPointerException
> at org.apache.felix.framework.GetEntryPathsEnumeration.<init>(GetEntryPathsEnumeration.java:35)
> at org.apache.felix.framework.Felix.getBundleEntryPaths(Felix.java:1339)
> at org.apache.felix.framework.Felix.getEntryPaths(Felix.java:335)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-422) NPE thrown by GetEntryPathsEnumeration
constructor
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-422.
-----------------------------------
Resolution: Duplicate
> NPE thrown by GetEntryPathsEnumeration constructor
> --------------------------------------------------
>
> Key: FELIX-422
> URL: https://issues.apache.org/jira/browse/FELIX-422
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: William Tam
>
> Since the system bundle getInfo().getCurrentModule().getContentLoader().getContent() returns null, calling system bundle getEntryPaths() will throw NPE in the following snippet of GetEntryPathsEnumeration.java
> m_bundle = bundle;
> m_path = path;
> m_enumeration = m_bundle.getInfo().getCurrentModule()
> .getContentLoader().getContent().getEntries();
> java.lang.NullPointerException
> at org.apache.felix.framework.GetEntryPathsEnumeration.<init>(GetEntryPathsEnumeration.java:35)
> at org.apache.felix.framework.Felix.getBundleEntryPaths(Felix.java:1339)
> at org.apache.felix.framework.Felix.getEntryPaths(Felix.java:335)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FELIX-422) NPE thrown by GetEntryPathsEnumeration
constructor
Posted by "William Tam (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Tam closed FELIX-422.
-----------------------------
> NPE thrown by GetEntryPathsEnumeration constructor
> --------------------------------------------------
>
> Key: FELIX-422
> URL: https://issues.apache.org/jira/browse/FELIX-422
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: William Tam
>
> Since the system bundle getInfo().getCurrentModule().getContentLoader().getContent() returns null, calling system bundle getEntryPaths() will throw NPE in the following snippet of GetEntryPathsEnumeration.java
> m_bundle = bundle;
> m_path = path;
> m_enumeration = m_bundle.getInfo().getCurrentModule()
> .getContentLoader().getContent().getEntries();
> java.lang.NullPointerException
> at org.apache.felix.framework.GetEntryPathsEnumeration.<init>(GetEntryPathsEnumeration.java:35)
> at org.apache.felix.framework.Felix.getBundleEntryPaths(Felix.java:1339)
> at org.apache.felix.framework.Felix.getEntryPaths(Felix.java:335)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (FELIX-422) NPE thrown by GetEntryPathsEnumeration
constructor
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall reopened FELIX-422:
-----------------------------------
> NPE thrown by GetEntryPathsEnumeration constructor
> --------------------------------------------------
>
> Key: FELIX-422
> URL: https://issues.apache.org/jira/browse/FELIX-422
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: William Tam
>
> Since the system bundle getInfo().getCurrentModule().getContentLoader().getContent() returns null, calling system bundle getEntryPaths() will throw NPE in the following snippet of GetEntryPathsEnumeration.java
> m_bundle = bundle;
> m_path = path;
> m_enumeration = m_bundle.getInfo().getCurrentModule()
> .getContentLoader().getContent().getEntries();
> java.lang.NullPointerException
> at org.apache.felix.framework.GetEntryPathsEnumeration.<init>(GetEntryPathsEnumeration.java:35)
> at org.apache.felix.framework.Felix.getBundleEntryPaths(Felix.java:1339)
> at org.apache.felix.framework.Felix.getEntryPaths(Felix.java:335)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (FELIX-422) NPE thrown by GetEntryPathsEnumeration
constructor
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall resolved FELIX-422.
-----------------------------------
Resolution: Fixed
> NPE thrown by GetEntryPathsEnumeration constructor
> --------------------------------------------------
>
> Key: FELIX-422
> URL: https://issues.apache.org/jira/browse/FELIX-422
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: 1.0.0
> Reporter: William Tam
>
> Since the system bundle getInfo().getCurrentModule().getContentLoader().getContent() returns null, calling system bundle getEntryPaths() will throw NPE in the following snippet of GetEntryPathsEnumeration.java
> m_bundle = bundle;
> m_path = path;
> m_enumeration = m_bundle.getInfo().getCurrentModule()
> .getContentLoader().getContent().getEntries();
> java.lang.NullPointerException
> at org.apache.felix.framework.GetEntryPathsEnumeration.<init>(GetEntryPathsEnumeration.java:35)
> at org.apache.felix.framework.Felix.getBundleEntryPaths(Felix.java:1339)
> at org.apache.felix.framework.Felix.getEntryPaths(Felix.java:335)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.