# \[bug-1498\]Perspective module loads and runs on 8.1.0 but fails to run on 8.1.1

**URL:** <https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993>\
**Category:** Module Development\
**Created:** [January 6, 2021, 1:38pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993 "2021-01-06T13:38:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [January 6, 2021, 1:38pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/1 "2021-01-06T13:38:17Z")

</div>

I have a module that builds, loads and runs on 8.1.0.  
However, the same module will not start on 8.1.1

ext.sdk\_version = “8.1.0”  
requiredIgnitionVersion “8.1.0”  
requiredFrameworkVersion “8”

I have tried changing requiredIgnitionVersion to 8.1.1  
it still fails to load.  
any ideas on what I can do to fix this?

```auto
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
```

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 6, 2021, 5:16pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/2 "2021-01-06T17:16:37Z")

</div>

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:

```auto
        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?

---

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [January 6, 2021, 5:28pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/3 "2021-01-06T17:28:34Z")

</div>

Its a single module.  
I haven’t changed anything.  
the module builds successfully

I have 8.1.0 on server A  
module installs and loads and works

I have 8.1.1 on server B  
module installs however fails to load/ start.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/4/a457719f4d46a57a3f22cfd2bd268b89d0ac2ea3.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 6, 2021, 6:18pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/4 "2021-01-06T18:18:59Z")

</div>

Well, I can _guarantee_ that the issue is that two components are attempting to load with the same ID. Have you restarted your gateway?

---

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [January 6, 2021, 6:24pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/5 "2021-01-06T18:24:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![matt.eaton](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matt.eaton/32/72046_2.png) [@matt.eaton](https://forum.inductiveautomation.com/u/matt.eaton)\
**Post date:** [January 7, 2021, 6:16pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/6 "2021-01-07T18:16:47Z")

</div>

@paul-griffith How does one resolve the issue that two components have the same ID?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 7, 2021, 7:07pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/7 "2021-01-07T19:07:48Z")

</div>

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:

> <https://github.com/inductiveautomation/ignition-sdk-examples/blob/master/perspective-component/common/src/main/java/org/fakester/common/component/display/Image.java#L16>

  

> <https://github.com/inductiveautomation/ignition-sdk-examples/blob/master/perspective-component/common/src/main/java/org/fakester/common/component/display/Messenger.java#L17>

  

> <https://github.com/inductiveautomation/ignition-sdk-examples/blob/master/perspective-component/common/src/main/java/org/fakester/common/component/display/TagCounter.java#L12>

---

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [January 8, 2021, 5:41pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/8 "2021-01-08T17:41:58Z")

</div>

I double checked all my component\_ID names. none are the same. If that were the issue, wouldn’t the module fail to load on 8.1.0?

I may have explained it wrong  
Sever A has 8.1.0  
Server B has 8.1.1

the module will run correctly on Server A  
the same module fails to load on Server B

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 8, 2021, 6:14pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/9 "2021-01-08T18:14:12Z")

</div>

Can you PM me the module, built or source?

---

<div class="post-metadata">

**Author:** ![joehahn](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@joehahn](https://forum.inductiveautomation.com/u/joehahn)\
**Post date:** [January 8, 2021, 6:51pm UTC](https://forum.inductiveautomation.com/t/bug-1498-perspective-module-loads-and-runs-on-8-1-0-but-fails-to-run-on-8-1-1/41993/10 "2021-01-08T18:51:07Z")

</div>

I should be able to. Let me get clearance from my boss.
