# Perspective Error (Creating View)

**URL:** <https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [May 9, 2019, 8:48pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856 "2019-05-09T20:48:55Z")\
**Posts on this page:** 20\
**Page:** 2

<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:** [August 19, 2019, 7:11pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/23 "2019-08-19T19:11:06Z")

</div>

You can try adding the following arguments to your designer launcher configuration, via the Manage → JVM Arguments section:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cd3e1c9e75ea14732182585f69e2a5d9d4d1acc5.png)  
`-Dperspective.browser.mode.lightweight=true -Djxbrowser.ipc.external=true -Dignition.chromium.switch.disable-gpu -Dignition.chromium.switch.disable-gpu-compositing -Dignition.chromium.switch.enable-begin-frame-scheduling -Dignition.chromium.switch.software-rendering-fps=60 -Djxbrowser.logging.level=ALL`

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [August 22, 2019, 12:21pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/24 "2019-08-22T12:21:02Z")

</div>

> [@paul-griffith](#):
>
> Dperspective.browser.mode.lightweight=true

-Dperspective.browser.mode.lightweight=true did the trick!

Thanks,  
Deon

---

<div class="post-metadata">

**Author:** ![jburt](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jburt](https://forum.inductiveautomation.com/u/jburt)\
**Post date:** [October 17, 2019, 3:34pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/25 "2019-10-17T15:34:29Z")

</div>

I had a similar issue happen on 8.0.4, but only for a single view. Restarting the Ignition Gateway resolved the issue.

---

<div class="post-metadata">

**Author:** ![will](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/will/32/5037_2.png) [@will](https://forum.inductiveautomation.com/u/will)\
**Post date:** [October 22, 2019, 2:28pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/26 "2019-10-22T14:28:21Z")

</div>

I have the same issues still in 8.0.5, tried all the jre runtime options to no avail.

As of now, it appears I can only have one instance of any one view open in the Designer successfully. If I try to open a second view, I consistently get ‘view config is undefined’.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/23cd31b30decf5a9726eb83e9acc0975c2cc8dc0.png)

First view after opening designer opens successfully:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/810a4d4c4aa300b6454dced8fee017236e84eec3.png)

Any subsequent view sticks on ‘synchronizing’ and fails:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c8c9dca35d201542a7aa8c90fe4a32fdcba07217.png)

To be able to open any single view now, I have to restart the designer and open that view FIRST before any others are opened in the designer session. After changes are made and published, I then have to restart the designer before I can open any other view.

This is after upgrading from 8.0.3 to 8.0.5. I still had issues in 8.0.3 but I don’t remember them being quite this bad. I have tried the above JRE arguments and different memory configs without any success. Anyone else have any advice?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 22, 2019, 3:16pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/27 "2019-10-22T15:16:44Z")

</div>

@will: Internal tickets lead me to believe this issue should have been resolved as of the last couple of days: [Nightly Changelogs](http://forum.inductiveautomation.com/t/nightly-changelogs/21716/152?u=cmallonee) (8.0.6-b20191021 **13211: Introduce a project scan lock** ).

If you’re able to take a newer build, I recommend trying this morning’s build and seeing if this is still an issue.

---

<div class="post-metadata">

**Author:** ![joostjojo](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@joostjojo](https://forum.inductiveautomation.com/u/joostjojo)\
**Post date:** [February 24, 2020, 8:27am UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/28 "2020-02-24T08:27:27Z")

</div>

This issue still exist in ignition 8.0.8.  
the strange thing is:  
It works on the guestwifi but not the network of the company itself.  
We already tried to do this in the designer launcher:

-Dperspective.browser.mode.lightweight=true;-Djxbrowser.ipc.external=true;-Dignition.chromium.switch.disable-gpu;-Dignition.chromium.switch.disable-gpu-compositing;-Dignition.chromium.switch.enable-begin-frame-scheduling;-Dignition.chromium.switch.software-rendering-fps=60;-Djxbrowser.logging.level=ALL

We can’t open any screen and can also not create a new one.  
It keeps saying “Initialize”.

Isn’t perspective based on react, and not java? because the error message is a java error?

This is the error: [Java error.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/30817d3be329da5bd48aabf750ca42c46ccadb0e.txt) (5.1 KB)

---

<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 24, 2020, 4:23pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/29 "2020-02-24T16:23:51Z")

</div>

> [@joostjojo](#):
>
> It works on the guestwifi but not the network of the company itself.

That's pretty suspicious - is there any firewall or anything between the machine running the designer and the gateway? Can you try running the designer directly on the machine where the gateway is installed?

> [@joostjojo](#):
>
> `-Dperspective.browser.mode.lightweight=true;-Djxbrowser.ipc.external=true;-Dignition.chromium.switch.disable-gpu;-Dignition.chromium.switch.disable-gpu-compositing;-Dignition.chromium.switch.enable-begin-frame-scheduling;-Dignition.chromium.switch.software-rendering-fps=60;-Djxbrowser.logging.level=ALL`

These properties are unlikely to resolve the issue you're encountering; those properties would help if the designer can't run JxBrowser at all, which would typically manifest as just a black screen. Being 'stuck' at `initializing` sounds more like a network problem loading the front-end Perspective designer.

> [@joostjojo](#):
>
> Isn’t perspective based on react, and not java? because the error message is a java error?

Perspective uses both - the gateway runs Java, and keeps a backend synchronized with the frontend to run things like transforms, property change scripts, component delegate actions, etc. The actual frontend that runs in the browser uses React, yes.

In the designer, things are even more complicated. The entire designer is a Java Swing application, but we're embedding a web browser frame and using a lot of tricks to make it appear seamless. So, there's a lot of places (for instance, when trying to save a view, which is where your error message is showing up) where Java code has to interact with Javascript code running in the embedded browser to achieve some result.

---

<div class="post-metadata">

**Author:** ![joostjojo](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@joostjojo](https://forum.inductiveautomation.com/u/joostjojo)\
**Post date:** [February 25, 2020, 8:22am UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/30 "2020-02-25T08:22:55Z")

</div>

> [@paul-griffith](#):
>
> re Java code has to interact with Javascript code running in the embedded browser to achieve some result.

ah ok, I think java is blocked on that network , so that declares why we cant use the designer at the network.

(the machine running the gateway was our own pc where we tried to launch the designer)  
But knowing it's an network issue already helpes us to know what to do.

---

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [October 20, 2020, 12:07pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/31 "2020-10-20T12:07:08Z")

</div>

ExecutionException: java.lang.Exception: Unable to get the view config: View config is undefined.  
caused by Exception: Unable to get the view config: View config is undefined.

Ignition v8.0.9 (b2020021812)  
Java: Azul Systems, Inc. 11.0.5

Works on some view, not on others. Where there any final solution to this?

---

<div class="post-metadata">

**Author:** ![hodgins.e](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hodgins.e](https://forum.inductiveautomation.com/u/hodgins.e)\
**Post date:** [January 22, 2021, 8:27pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/32 "2021-01-22T20:27:30Z")

</div>

I get the same error too. But only if I create a Folder and create a view in there. So it looks like I can’t have any views in folders.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/1/b14fb26dad3b81fed95d35c3d663648c9422081b.png)

In my case `AddCustomer` view works fine but `Test` does not. Running version 8.1.1 .

I get this in the console as well when I try and open it Test:

`  
15:24:28.974 [Browser Thread: 49451] ERROR Perspective.Designer.Workspace - level: LEVEL\_ERROR  
message: “WebSocket connection to ‘ws://localhost/system/pws/PrecisionPac/Test%2FTest?token=ch2UBlHVGCAsWB6W-JvTw\_VlY9puCKzYy5DljrZi2LI’ failed: Error during WebSocket handshake: Unexpected response code: 404”  
line\_number: 12  
source: “[http://localhost/res/perspective/js/PerspectiveClient.c7a3c33300919d53fa0a.js](http://localhost/res/perspective/js/PerspectiveClient.c7a3c33300919d53fa0a.js)”

15:24:38.977 [Browser Thread: 49451] ERROR Perspective.Designer.Workspace - level: LEVEL\_ERROR  
message: “WebSocket connection to ‘ws://localhost/system/pws/PrecisionPac/Test%2FTest?token=QLRRrctS9mpo6\_0sDMjnHcljpxw4xdf-ajMjnoc9AiU’ failed: Error during WebSocket handshake: Unexpected response code: 404”  
line\_number: 12  
source: “[http://localhost/res/perspective/js/PerspectiveClient.c7a3c33300919d53fa0a.js](http://localhost/res/perspective/js/PerspectiveClient.c7a3c33300919d53fa0a.js)”

`

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [January 22, 2021, 11:22pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/33 "2021-01-22T23:22:08Z")

</div>

What happens if you delete the “Test” directory from the file system, and then recreate that structure?

---

<div class="post-metadata">

**Author:** ![hodgins.e](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@hodgins.e](https://forum.inductiveautomation.com/u/hodgins.e)\
**Post date:** [January 23, 2021, 1:54am UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/34 "2021-01-23T01:54:58Z")

</div>

Same thing happens, still get the same errors. Tried restarting the gateway and also the Designer flags shown in this post…Kind of scratching my head on this one

---

<div class="post-metadata">

**Author:** ![Robert.carroll](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@Robert.carroll](https://forum.inductiveautomation.com/u/Robert.carroll)\
**Post date:** [March 17, 2021, 5:41pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/35 "2021-03-17T17:41:46Z")

</div>

Hey All, Is there a set of steps I should follow. This happens every 30 minutes to me and its no fun.  
What are the steps to resolve it ?

thanks in advance

---

<div class="post-metadata">

**Author:** ![yin.cheng](https://avatars.discourse-cdn.com/v4/letter/y/85f322/32.png) [@yin.cheng](https://forum.inductiveautomation.com/u/yin.cheng)\
**Post date:** [March 22, 2021, 2:04pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/36 "2021-03-22T14:04:19Z")

</div>

Using version 8.1.3 and having the same problem too…  
tried the above JVM arguments, but still doesnt work…  
the views in designer is still stuck in ‘initializing’

---

<div class="post-metadata">

**Author:** ![tsmith](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tsmith](https://forum.inductiveautomation.com/u/tsmith)\
**Post date:** [March 30, 2021, 4:55pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/37 "2021-03-30T16:55:55Z")

</div>

upgraded to V8.1.3 and having the same issue. Not resolved.  
NOTE: previously V8.1.1. was not having this issue.

---

<div class="post-metadata">

**Author:** ![jstrasser](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jstrasser](https://forum.inductiveautomation.com/u/jstrasser)\
**Post date:** [April 8, 2021, 7:08pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/38 "2021-04-08T19:08:15Z")

</div>

We are still having this issue in 8.1.1  
Its a bit random. If I try to create a view and it fails, it will generally work after several attempts deleting the corrupt view and recreating it. I don’t have any good theories on this but can say the issue has definitely not been resolved as of 8.1.1.

---

<div class="post-metadata">

**Author:** ![yin.cheng](https://avatars.discourse-cdn.com/v4/letter/y/85f322/32.png) [@yin.cheng](https://forum.inductiveautomation.com/u/yin.cheng)\
**Post date:** [July 14, 2021, 2:47pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/39 "2021-07-14T14:47:42Z")

</div>

I have previously contacted support and after troubleshooting, it seems that my antivirus software (Kaspersky) is blocking it. Once i disable Kaspersky, i am able to create the views.

---

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [December 16, 2021, 2:13pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/40 "2021-12-16T14:13:20Z")

</div>

Hi everyone,

I have the same error, one of my view opened but not the other. It don't change if I try to open them in different order, it is always the same view who can't open. I think it began to bug when we switch, a moment, on the backup gateway. I tried to add

> [@paul-griffith](#):
>
> -Dperspective.browser.mode.lightweight=true -Djxbrowser.ipc.external=true -Dignition.chromium.switch.disable-gpu -Dignition.chromium.switch.disable-gpu-compositing -Dignition.chromium.switch.enable-begin-frame-scheduling -Dignition.chromium.switch.software-rendering-fps=60 -Djxbrowser.logging.level=ALL

but It didn't work either. What can I do?

---

<div class="post-metadata">

**Author:** ![DSandy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dsandy/32/29409_2.png) [@DSandy](https://forum.inductiveautomation.com/u/DSandy)\
**Post date:** [February 15, 2022, 5:09pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/41 "2022-02-15T17:09:31Z")

</div>

I am facing this same error with 8.1.12, Java version 11.0.11, Perspective module 2.1.12.

I have three site pages, all in the same folder, all deployed on the gateway. **All of them work fine in runtime**. However, trying to open one of the three in Designer on the gateway system results in the errors described in this thread.

Have not yet tried restarting the gateway (waiting for a convenient time) and can probably recover from an offline version, but would like to understand why I can’t load the page in Designer, but it loads just fine in a Perspective session? The other pages all load fine in both places. Last changes to the page in question were made a couple of weeks ago, no user complaints or issues.

---

<div class="post-metadata">

**Author:** ![frank.foerster](https://avatars.discourse-cdn.com/v4/letter/f/e95f7d/32.png) [@frank.foerster](https://forum.inductiveautomation.com/u/frank.foerster)\
**Post date:** [March 14, 2022, 1:59pm UTC](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856/42 "2022-03-14T13:59:34Z")

</div>

Hi there,  
I faced the same issue. My firewall expert solved the issue, by allowing the websocket connection.  
Works now.

BR

Frank

[Previous page](https://forum.inductiveautomation.com/t/perspective-error-creating-view/24856.md?page=1)
