# \[Bug-12738\]Issue with Template Canvas attempting Template Inception

**URL:** <https://forum.inductiveautomation.com/t/bug-12738-issue-with-template-canvas-attempting-template-inception/22519>\
**Category:** Ignition Early Access\
**Created:** [February 12, 2019, 7:38pm UTC](https://forum.inductiveautomation.com/t/bug-12738-issue-with-template-canvas-attempting-template-inception/22519 "2019-02-12T19:38:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bengreenhow](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bengreenhow/32/7648_2.png) [@bengreenhow](https://forum.inductiveautomation.com/u/bengreenhow)\
**Post date:** [February 12, 2019, 7:38pm UTC](https://forum.inductiveautomation.com/t/bug-12738-issue-with-template-canvas-attempting-template-inception/22519/1 "2019-02-12T19:38:52Z")

</div>

If a template is built using other templates (templates within templates). These templates will render on a screen, and within a template repeater, however there is an issue with this template inception as it relates to the Template Canvas.

Below is the error I am seeing in the console.  
Is this possibly paired with Bug-12703?

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException  
at com.inductiveautomation.factorypmi.application.components.template.TemplateHolder.loadTemplate(TemplateHolder.java:214)  
at com.inductiveautomation.factorypmi.application.components.template.TemplateHolder.initTemplate(TemplateHolder.java:507)  
at com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor$TemplateHolderVisitor.visit(ComponentVisitor.java:220)  
at com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor.walk(ComponentVisitor.java:90)  
at com.inductiveautomation.factorypmi.application.components.util.ComponentVisitor.walk(ComponentVisitor.java:68)  
at com.inductiveautomation.factorypmi.application.FPMIWindow.initializeUIRoot(FPMIWindow.java:322)  
at com.inductiveautomation.factorypmi.application.components.template.VisionTemplate.initialize(VisionTemplate.java:168)  
at com.inductiveautomation.factorypmi.application.components.TemplateCanvas.\_finishBuilding(TemplateCanvas.java:275)  
at com.inductiveautomation.factorypmi.application.components.TemplateCanvas$TemplateLoader.done(TemplateCanvas.java:616)  
at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source)  
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)  
at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source)  
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)  
at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source)  
at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source)  
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 13, 2019, 6:32pm UTC](https://forum.inductiveautomation.com/t/bug-12738-issue-with-template-canvas-attempting-template-inception/22519/2 "2019-02-13T18:32:56Z")

</div>

Thanks for reporting this - I was able to reproduce, and I’ve filed a ticket. We should definitely fix this before a final 8.0.0 release.

---

<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 20, 2019, 4:36pm UTC](https://forum.inductiveautomation.com/t/bug-12738-issue-with-template-canvas-attempting-template-inception/22519/3 "2019-02-20T16:36:51Z")

</div>

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