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’.
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?
@will: Internal tickets lead me to believe this issue should have been resolved as of the last couple of days: Nightly Changelogs (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.
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:
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?
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.
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.
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.
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?
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
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’
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.
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.
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
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.