You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Johan Lindquist (JIRA)" <hi...@jakarta.apache.org> on 2008/02/13 09:22:08 UTC
[jira] Updated: (HIVEMIND-201) NullPointerException if hivemodule
is an empty file
[ https://issues.apache.org/jira/browse/HIVEMIND-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johan Lindquist updated HIVEMIND-201:
-------------------------------------
Attachment: hivemind-201.patch
Attached patch fixes the NullPointer.
> NullPointerException if hivemodule is an empty file
> ---------------------------------------------------
>
> Key: HIVEMIND-201
> URL: https://issues.apache.org/jira/browse/HIVEMIND-201
> Project: HiveMind
> Issue Type: Bug
> Affects Versions: 1.1.1
> Reporter: Patrick Moore
> Attachments: hivemind-201.patch
>
>
> create an empty file.
> have hivemind try to load it as a hivemodule.xml file:
> 17:54:31,781 ERROR [XmlModuleDescriptorProvider] Error: null
> java.lang.NullPointerException
> at org.apache.hivemind.parse.AbstractParser.getLocation(AbstractParser.java:166)
> at org.apache.hivemind.parse.XmlResourceProcessor.processResource(XmlResourceProcessor.java:97)
> at org.apache.hivemind.impl.XmlModuleDescriptorProvider.processResource(XmlModuleDescriptorProvider.java:172)
> at org.apache.hivemind.impl.XmlModuleDescriptorProvider.getModuleDescriptors(XmlModuleDescriptorProvider.java:158)
> at org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(RegistryBuilder.java:161)
> at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:143)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.