# Error when opening Ignition perspective

**URL:** <https://forum.inductiveautomation.com/t/error-when-opening-ignition-perspective/52528>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 30, 2021, 3:42am UTC](https://forum.inductiveautomation.com/t/error-when-opening-ignition-perspective/52528 "2021-10-30T03:42:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jian.ng](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jian.ng](https://forum.inductiveautomation.com/u/jian.ng)\
**Post date:** [October 30, 2021, 3:42am UTC](https://forum.inductiveautomation.com/t/error-when-opening-ignition-perspective/52528/1 "2021-10-30T03:42:43Z")

</div>

Hello, I’m having an error when opening Ignition perspective. I was trying to export a project from one designer and import it into another, but when it doesn’t properly copy over the views or the named queries. In fact, the views folder is missing entirely from perspective. Please see the logs below.

20:37:25.924 [Designer-Startup] INFO designer.main - Downloading… [+0]  
20:37:26.131 [Designer-Startup] INFO designer.main - Cleanup… [+207]  
20:37:26.135 [Designer-Startup] INFO designer.main - Initializing UI… [+211]  
20:37:26.184 [Designer-Startup] INFO tags.manager.gwinterface - Tag poll rate changed to 250 ms  
20:37:26.184 [DesignerExecEngine-1] INFO tags.subscriptions - Changing connected quality to ‘Good’  
20:37:27.626 [Designer-Startup] INFO designer.main - Starting module: Vision [+1702]  
20:37:27.791 [Designer-Startup] ERROR Scripting.ScriptManager.CZWL\_LocalDev - Warning: collision at system.util.modifyTranslation  
20:37:27.791 [Designer-Startup] ERROR Scripting.ScriptManager.CZWL\_LocalDev - Warning: collision at system.util.translate  
20:37:27.791 [Designer-Startup] ERROR Scripting.ScriptManager.CZWL\_LocalDev - Warning: collision at system.util.initialize  
20:37:29.669 [Designer-Startup] INFO designer.main - Starting module: Perspective [+3745]  
20:37:31.121 [Designer-Startup] INFO Perspective.Designer - Starting up Perspective module. Mode: Trial  
20:37:32.054 [AWT-EventQueue-0] INFO Perspective.SessionProps - Session props debug url: [http://localhost:9222/devtools/inspector.html?ws=localhost:9222/devtools/page/9ADBCFEA913686BC4759D28EA272B896](http://localhost:9222/devtools/inspector.html?ws=localhost:9222/devtools/page/9ADBCFEA913686BC4759D28EA272B896)  
20:37:32.302 [Designer-Startup] ERROR designer.main - Error starting up module Perspective  
java.lang.NullPointerException: null  
at java.base/java.util.Objects.requireNonNull(Unknown Source)  
at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Unknown Source)  
at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)  
at java.base/java.util.ArrayList$ArrayListSpliterator.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.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)  
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)  
at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)  
at com.inductiveautomation.perspective.designer.DesignerHook$NamedQueryListener.sendInitial(DesignerHook.java:623)  
at com.inductiveautomation.perspective.designer.DesignerHook.lambda$startup$2(DesignerHook.java:243)  
at java.base/java.util.Optional.ifPresent(Unknown Source)  
at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:203)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:1934)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1174)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner.lambda$loadProject$7(IgnitionDesigner.java:976)  
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)  
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)  
at java.base/java.util.ArrayList$ArrayListSpliterator.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.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)  
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)  
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)  
at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:975)  
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:1998)  
at java.base/java.lang.Thread.run(Unknown Source)  
20:37:32.385 [Designer-Startup] INFO designer.main - Starting module: Symbol Factory [+6461]  
20:37:32.389 [Designer-Startup] INFO designer.main - Starting module: Alarm Notification [+6465]  
20:37:32.489 [Designer-Startup] INFO designer.main - Starting module: SFC [+6565]  
20:37:32.952 [Designer-Startup] INFO designer.main - Starting module: OPC-UA [+7028]  
20:37:32.953 [Designer-Startup] INFO designer.main - Starting module: Enterprise Administration [+7029]  
20:37:32.960 [Designer-Startup] INFO designer.main - Starting module: SQL Bridge [+7036]  
20:37:33.121 [Designer-Startup] INFO designer.main - Starting module: DNP3 Driver [+7197]  
20:37:33.121 [Designer-Startup] INFO designer.main - Starting module: Serial Support Client [+7197]  
20:37:33.123 [Designer-Startup] INFO designer.main - Starting module: OpcCom [+7199]  
20:37:33.124 [Designer-Startup] INFO designer.main - Starting module: Reporting [+7200]  
20:37:33.146 [Designer-Startup] INFO reporting.Designer - Starting up Reporting Module. Mode: Trial  
20:37:33.402 [Designer-Startup] INFO designer.main - Initializing Scripting… [+7478]  
20:37:33.447 [Designer-Startup] INFO designer.main - Initializing UI… [+7523]  
Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException  
at com.inductiveautomation.perspective.designer.workspace.ViewWorkspace.getNavTreeNodeParent(ViewWorkspace.java:279)  
at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.registerNavTreeNode(TabbedResourceWorkspace.java:206)  
at com.inductiveautomation.ignition.designer.tabbedworkspace.TabbedResourceWorkspace.lambda$new$0(TabbedResourceWorkspace.java:125)  
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)  
20:37:35.139 [Browser Thread: 55658] INFO Perspective.SessionProps - [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: ‘Reaction[When@56]’ java.lang.NullPointerException in com.inductiveautomation.perspective.designer.workspace.JavaJsBridge.getStyles(JavaJsBridge.java:742)  
Oct. 29, 2021 8:37:35 P.M. com.google.common.eventbus.EventBus$LoggingHandler handleException  
SEVERE: Exception thrown by subscriber method onSelectionChange(com.inductiveautomation.perspective.designer.workspace.events.SelectionChangeEvent) on subscriber com.inductiveautomation.perspective.designer.workspace.propertyeditor.PropertyEditorFrame[key=PerspectivePropEditor,title=Perspective Property Editor,mode=DOCK,side=EAST] when dispatching event: com.inductiveautomation.perspective.designer.workspace.events.SelectionChangeEvent@d957c10  
java.lang.NullPointerException  
at com.inductiveautomation.perspective.designer.workspace.ComponentSelection.getDesignDelegate(ComponentSelection.java:348)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentPropsDocumentModel.(ComponentPropsDocumentModel.java:85)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentScopeEditor.onSelectionChanged(ComponentScopeEditor.java:165)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.PropertyEditorFrame.setSelection(PropertyEditorFrame.java:462)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.PropertyEditorFrame.onSelectionChange(PropertyEditorFrame.java:309)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.base/java.lang.reflect.Method.invoke(Unknown Source)  
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)  
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)  
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)  
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)  
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)  
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)  
at com.google.common.eventbus.EventBus.post(EventBus.java:217)  
at com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter.updateSelection(SessionPropsAdapter.java:270)  
at com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter$SessionAdapterBridge.lambda$onSelectionChangeInternal$0(SessionPropsAdapter.java:341)  
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)

20:37:35.195 [AWT-EventQueue-0] ERROR perspective.PropertyEditorFrame - Uncaught error handling property update.  
java.lang.ClassCastException: class com.inductiveautomation.ignition.client.jsonedit.DocumentModel cannot be cast to class com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentPropsDocumentModel (com.inductiveautomation.ignition.client.jsonedit.DocumentModel and com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentPropsDocumentModel are in unnamed module of loader java.net.URLClassLoader @2cc962ca)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentScopeEditor.getPropsModel(ComponentScopeEditor.java:179)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.PropertyEditorFrame.onPropertiesUpdated(PropertyEditorFrame.java:437)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.base/java.lang.reflect.Method.invoke(Unknown Source)  
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)  
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)  
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)  
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)  
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)  
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)  
at com.google.common.eventbus.EventBus.post(EventBus.java:217)  
at com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter$SessionAdapterBridge.lambda$onSelectionPropertyChangeInternal$1(SessionPropsAdapter.java:346)  
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)  
20:37:35.211 [AWT-EventQueue-0] ERROR perspective.PropertyEditorFrame - Uncaught error handling property update.  
java.lang.ClassCastException: class com.inductiveautomation.ignition.client.jsonedit.DocumentModel cannot be cast to class com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentPropsDocumentModel (com.inductiveautomation.ignition.client.jsonedit.DocumentModel and com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentPropsDocumentModel are in unnamed module of loader java.net.URLClassLoader @2cc962ca)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.ComponentScopeEditor.getPropsModel(ComponentScopeEditor.java:179)  
at com.inductiveautomation.perspective.designer.workspace.propertyeditor.PropertyEditorFrame.onPropertiesUpdated(PropertyEditorFrame.java:437)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.base/java.lang.reflect.Method.invoke(Unknown Source)  
at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)  
at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)  
at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)  
at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)  
at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)  
at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)  
at com.google.common.eventbus.EventBus.post(EventBus.java:217)  
at com.inductiveautomation.perspective.designer.workspace.pageconfig.SessionPropsAdapter$SessionAdapterBridge.lambda$onSelectionPropertyChangeInternal$1(SessionPropsAdapter.java:346)  
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:** [November 1, 2021, 5:49pm UTC](https://forum.inductiveautomation.com/t/error-when-opening-ignition-perspective/52528/2 "2021-11-01T17:49:44Z")

</div>

You should get in contact with support. Something is going critically wrong during designer startup; it’s hard to pinpoint exactly the root cause from the isolated stacktrace.  
[https://support.inductiveautomation.com/](https://support.inductiveautomation.com/)
