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

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)

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.

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.