# \[Bug-12703\]Unable to open converted global template due to NPE

**URL:** <https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476>\
**Category:** Ignition Early Access\
**Created:** [February 11, 2019, 8:01am UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476 "2019-02-11T08:01:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [February 11, 2019, 8:01am UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476/1 "2019-02-11T08:01:31Z")

</div>

I just updated to `b2019021002` and tried opening my screens again. But I still get deserialisation errors one the same templates as mentioned.

```auto
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at com.inductiveautomation.ignition.client.tags.impl.GatewayTagInterface.get(GatewayTagInterface.java:136)
	at com.inductiveautomation.ignition.client.tags.impl.ClientTagManagerImpl.getClientTagProvider(ClientTagManagerImpl.java:99)
	at com.inductiveautomation.ignition.client.tags.impl.ClientTagManagerImpl.lambda$subscribeAsync$9(ClientTagManagerImpl.java:198)
	at com.inductiveautomation.ignition.gateway.util.GroupMapCollate.lambda$groupMapIndexed$10(GroupMapCollate.java:79)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(Unknown Source)
	at java.base/java.util.stream.ReferencePipeline.toArray(Unknown Source)
	at com.inductiveautomation.ignition.gateway.util.GroupMapCollate.groupMapIndexed(GroupMapCollate.java:92)
	at com.inductiveautomation.ignition.client.tags.impl.ClientTagManagerImpl.subscribeAsync(ClientTagManagerImpl.java:197)
	at com.inductiveautomation.ignition.common.tags.model.TagManager.subscribeAsync(TagManager.java:67)
	at com.inductiveautomation.factorypmi.application.binding.SimpleBoundTagAdapter.startup(SimpleBoundTagAdapter.java:145)
	at com.inductiveautomation.factorypmi.application.binding.DefaultInteractionController.startupBindings(DefaultInteractionController.java:355)
	at com.inductiveautomation.factorypmi.application.binding.DefaultInteractionController.startupAdapters(DefaultInteractionController.java:360)
	at com.inductiveautomation.factorypmi.application.components.template.VisionTemplate.startup(VisionTemplate.java:178)
	at com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace.openTemplate(WindowWorkspace.java:1877)
	at com.inductiveautomation.factorypmi.designer.model.navtree.TemplateNode.open(TemplateNode.java:126)
	at com.inductiveautomation.ignition.designer.navtree.model.AbstractResourceNavTreeNode.onDoubleClick(AbstractResourceNavTreeNode.java:179)
	at com.inductiveautomation.ignition.designer.navtree.NavTreePanel$MouseListener.lambda$mousePressed$0(NavTreePanel.java:655)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

```

---

<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:** [February 11, 2019, 6:13pm UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476/2 "2019-02-11T18:13:52Z")

</div>

I moved this post to a new topic, since it’s caused by a differently underlying issue. Will keep you posted on the status - thanks for reporting these issues.

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [February 15, 2019, 7:43am UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476/3 "2019-02-15T07:43:32Z")

</div>

Do you have any update on this?

I would like to continue testing next week.

---

<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:** [February 15, 2019, 4:22pm UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476/4 "2019-02-15T16:22:49Z")

</div>

There’s a fix for it up, but it hasn’t been verified/merged in yet. Quite possibly today, in which case it would go into the next nightly build.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [February 27, 2019, 4:42pm UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476/5 "2019-02-27T16:42:32Z")

</div>

This issue was fixed in the build that was uploaded today (2/27)  
Please let us know if you continue to see this behavior after upgrading.

---

<div class="post-metadata">

**Author:** ![Sanderd17](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sanderd17/32/8735_2.png) [@Sanderd17](https://forum.inductiveautomation.com/u/Sanderd17)\
**Post date:** [March 4, 2019, 7:47am UTC](https://forum.inductiveautomation.com/t/bug-12703-unable-to-open-converted-global-template-due-to-npe/22476/6 "2019-03-04T07:47:00Z")

</div>

I was able to test a new nightly today. The bugs described here are indeed solved. Thank you for that, but I ran into some other issues.

> [@Designer got stuck on opening a template with errors](http://forum.inductiveautomation.com/t/designer-got-stuck-on-opening-a-template-with-errors/23023):
>
> After updating to a new nightly (on b2019030102 now), I tried opening some of our default screens/templates. When opening our navigation template, it apparently crashed on a binding, and now the designer is stuck. I can’t close the error popup, and I can’t interact with the designer anymore.

> [@Detect wrong template references](http://forum.inductiveautomation.com/t/detect-wrong-template-references/23022):
>
> Apparently, in 7.9, it used to be possible to include a project-specific template into a global template. When upgrading to 8.0, this makes the templates unavailable. I realise this isn’t good practice, and it’s not done on purpose, but rather a leftover from older projects (before the global scope). However, I wonder if there’s an easy way to detect all cases where this happened, and correct them manually.

> [@\[BUG -12995\] Not able to add templates to a vision Window](http://forum.inductiveautomation.com/t/cant-add-templates-to-window/23021):
>
> I just had some time to try a new version (on b2019030102 now), and apparently, I can’t add templates to the windows or other templates. I’ve tried it both on the “global” project and a specific project. When I drag-and-drop a template to a window, I just get the “forbidden” cursor, and can’t put it there. This even happens with newly created, empty, templates and windows.
