runtime error inputstream cannot be null
<p>i have this runtime error in my logcat:</p>

<pre><code>05-11 06:24:23.672: ERROR/AndroidRuntime(327): java.lang.RuntimeException: 
    Unable to create application net.osmand.activities.OsmandApplication:
    java.lang.IllegalArgumentException: InputStream cannot be null
</code></pre>

<p>...</p>

<p>after debugin i found the exception comme how???
 in  this methode :</p>

<pre><code>private BaseOsmandRender loadRenderer(String name, Set&lt;String&gt; loadedRenderers) throws IOException, SAXException {
        InputStream is = null;
        if(externalRenderers.containsKey(name)){
            is = new FileInputStream(externalRenderers.get(name));
        } else if(internalRenderers.containsKey(name)){
            is = OsmandRenderingRulesParser.class.getResourceAsStream(internalRenderers.get(name));
        } else {
            throw new IllegalArgumentException("Not found " + name); //$NON-NLS-1$
        }
        BaseOsmandRender b = new BaseOsmandRender();
        b.init(is);
        loadedRenderers.add(name);
        List&lt;BaseOsmandRender&gt; dependencies = new ArrayList&lt;BaseOsmandRender&gt;();
        for (String s : b.getDepends()) {
            if (loadedRenderers.contains(s)) {
</code></pre>

<p>the "is" varible is always  null </p>

<p>any help please</p>
