HiveMind
  1. HiveMind
  2. HIVEMIND-201

NullPointerException if hivemodule is an empty file

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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)

      1. hivemind-201.patch
        4 kB
        Johan Lindquist

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Moore
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development