hivemind-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

[jira] Created: (HIVEMIND-201) NullPointerException if hivemodule is an empty file Patrick Moore (JIRA) Fri Feb 23 00:02:47 2007

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


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.