I have tried changing requiredIgnitionVersion to 8.1.1
it still fails to load.
any ideas on what I can do to fix this?
Caused by: java.util.MissingFormatArgumentException: Format specifier '%s'
at java.base/java.util.Formatter.format(Unknown Source)
at java.base/java.util.Formatter.format(Unknown Source)
at com.inductiveautomation.ignition.common.util.LoggerEx.createMessage(LoggerEx.java:187)
at com.inductiveautomation.ignition.common.util.LoggerEx.warnf(LoggerEx.java:287)
at com.inductiveautomation.perspective.common.api.ComponentRegistry.registerComponent(ComponentRegistry.java:83)
at com.faker.gateway.fakeName.startup(fakeName.java:38)
at com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl$LoadedModule.startup(ModuleManagerImpl.java:2433)
... 16 more
So, the good news: The exception being thrown isn’t your fault, it’s a logger message from our end that’s malformed (whoops). The message that it’s failing to log is indicating that you’re trying to register a component ID that was already registered:
if (componentRegistry.get(comp.id()) != null) {
log.warnf(
"Component '%s' already registered. Registration will proceed and overwrite existing definition."
);
}
Do you have two modules built from the samples installed? Have you changed your component IDs from the defaults in the module?
To trouble shoot I downloaded the trial versions of both 8.1.0 and 8.1.1 and installed them other older computers. Installed only the default modules and the one I am working on. The issue still persists
You’ll need to change the code so that each component you’re attempting to load has a unique ID - notice how each component in our module example has a distinct ID: