Recommended
If you’ve seen the errors of the Apache Hivemind Impl Registrybuilder org organization, this user guide may help.
If the submodule name descriptor is usually misspelled using the hivemodule.sdl descriptor, an error message will appear immediately after:
07/30/2004 10: 18: 08 533 ERROR org.apache.hivemind.impl.RegistryBuilder [error] Error: The descriptor file could not be retrieved: / C: / forge / test / descriptor / META-INF / sbu – module.sdl: File parsing error: / C: /forge/test/descriptor/META-INF/sbu-module.sdl: java.lang.NullPointerException
org.apache.hivemind.ApplicationRuntimeException: Unable to read descriptor file: / C: /forge/test/descriptor/META-INF/sbu-module.sdl: error analysis file: / C: / forge / test / descriptor / META- INF / sbu-module.sdl: java.lang.NullPointerException
at org.apache.hivemind.parse.DescriptorParser.parse (DescriptorParser.java:1438)
at org.apache.hivemind.impl.RegistryAssemblyImpl $ QueuedModule.parse (RegistryAssemblyImpl.java:63)
at org.apache.hivemind.impl.RegistryAssemblyImpl.parseNextQueued (RegistryAssemblyImpl.java:133)
at org.apache.hivemind.impl.RegistryBuilder.processModule (RegistryBuilder.java:234)
at org.apache.hivemind.impl.RegistryBuilder.processModulesResources (RegistryBuilder.java:208)
at org.apache.hivemind.impl.RegistryBuilder.processModules (RegistryBuilder.java:179)
at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry (RegistryBuilder.java:738)
at Driver.main (Driver.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (native method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
in java.lang.reflect.Method.invoke (Method.java:324)
at com.intellij.rt.execution.application.AppMain.main (AppMain.java:78)
This is not always so unambiguous, it does not mean that the actual submodule cannot be found.
The fix that follows the descriptor parser logs an error, so it ignores the inclusion of the submodule.
—————— 8 < ——————— – –
1129a1130,1135
> if (subModuleDescriptor.getResourceURL () == null)
>
> _errorHandler.error (LOG, ParseMessages.missingResource (subModuleDescriptor), getLocation (), null);> return;>
The resource is expected to return null if the resource cannot be opened (getResourceURL), which is almost certainly the case now