# \[BUG-12867\] Perspective view changed to empty folder

**URL:** <https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805>\
**Category:** Ignition Early Access\
**Created:** [February 22, 2019, 2:53pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805 "2019-02-22T14:53:21Z")\
**Posts on this page:** 15\
**Page:** 1

<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 22, 2019, 2:53pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/1 "2019-02-22T14:53:21Z")

</div>

I had a view in perspective.  
This view changed random to an empty folder, without an error or something.  
Also I can’t find something strange in the logs.  
This already happened twice.

How can this happen?  
How do I get my views back?

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [February 22, 2019, 2:54pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/2 "2019-02-22T14:54:22Z")

</div>

what build and OS are you running?

---

<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 22, 2019, 2:57pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/3 "2019-02-22T14:57:58Z")

</div>

> [@code\_skin](#):
>
> nning

I just updated to the newest version.  
I dont know my previous build but that build is updated less than a week ago.  
Also I notice when I browse the views trough an embedded view path browser I see that it is a view, but in the project browser it is a empty folder. I can select the view in the embedded view path browser but cannot select OK when I choose that view.

I am running on OS windows 7.

---

<div class="post-metadata">

**Author:** ![joe.friedrich](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe.friedrich/32/7505_2.png) [@joe.friedrich](https://forum.inductiveautomation.com/u/joe.friedrich)\
**Post date:** [February 22, 2019, 3:00pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/4 "2019-02-22T15:00:18Z")

</div>

Mine did this when I

1. Copied JSON to Notepad++
2. Removed the Thumbnail at the bottom which was Tens of Thousands of lines long 😵  
2a. (Because I wanted it to be easier to move around in Notepad++)
3. Copied it back to a test view.

**This also corrupted the project!**  
Here is an example of the errors I started getting on the server:

 ![ProjectExploded](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/26c31648fde9e56f868e94e1b29785a5e0b9406a.png)

_Please learn from my example!_ 🤣

---

<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 22, 2019, 3:13pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/5 "2019-02-22T15:13:46Z")

</div>

I can not copy the json like i can do with a view ☹  
And I did not copy any json before to that view

---

<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 22, 2019, 3:21pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/6 "2019-02-22T15:21:00Z")

</div>

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

Here an example.  
The view is not reachable ☹

---

<div class="post-metadata">

**Author:** ![joe.friedrich](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe.friedrich/32/7505_2.png) [@joe.friedrich](https://forum.inductiveautomation.com/u/joe.friedrich)\
**Post date:** [February 22, 2019, 3:22pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/7 "2019-02-22T15:22:07Z")

</div>

Oh, that’s weird.

When I double-clicked my broken views, it would load and say ‘no-project’.

Did your project throw any errors on the server logs?

---

<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 22, 2019, 3:32pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/8 "2019-02-22T15:32:37Z")

</div>

just a lot of binding errors from another view.

ComponentModel 22Feb2019 14:25:50 Error creating ‘tag’ binding on property ‘props.text’  
java.lang.IllegalArgumentException: Malformed path: 1

at com.inductiveautomation.ignition.common.JsonPath.parse(JsonPath.java:199)

at com.inductiveautomation.ignition.common.JsonUtilities.read(JsonUtilities.java:181)

at com.inductiveautomation.ignition.common.JsonUtilities.readString(JsonUtilities.java:59)

at com.inductiveautomation.perspective.gateway.binding.tag.TagBindingConfig.referencesFromJson(TagBindingConfig.java:48)

at com.inductiveautomation.perspective.gateway.binding.tag.TagBindingConfig.fromJson(TagBindingConfig.java:71)

at com.inductiveautomation.perspective.gateway.binding.tag.TagBindingFactory.create(TagBindingFactory.java:40)

at com.inductiveautomation.perspective.gateway.binding.tag.TagBindingFactory.create(TagBindingFactory.java:20)

at com.inductiveautomation.perspective.gateway.binding.BindingRegistryImpl.createBinding(BindingRegistryImpl.java:94)

at com.inductiveautomation.perspective.gateway.model.AbstractBindingHarness.(AbstractBindingHarness.java:63)

at com.inductiveautomation.perspective.gateway.model.ElementBindingHarness.(ElementBindingHarness.java:23)

at com.inductiveautomation.perspective.gateway.model.ElementBindingHarness.lambda$newFactory$0(ElementBindingHarness.java:28)

at com.inductiveautomation.perspective.gateway.model.BindingCollection.create(BindingCollection.java:59)

at com.inductiveautomation.perspective.gateway.model.ComponentModel.(ComponentModel.java:96)

at com.inductiveautomation.perspective.gateway.model.ComponentModel.initChildren(ComponentModel.java:128)

at com.inductiveautomation.perspective.gateway.model.ComponentModel.(ComponentModel.java:94)

at com.inductiveautomation.perspective.gateway.model.ViewModel.initRoot(ViewModel.java:193)

at com.inductiveautomation.perspective.gateway.model.ViewModel.(ViewModel.java:107)

at com.inductiveautomation.perspective.gateway.session.PerspectiveProjectSession.createViewModel(PerspectiveProjectSession.java:163)

at com.inductiveautomation.perspective.gateway.model.PageModel$Handlers.lambda$null$14(PageModel.java:709)

at com.inductiveautomation.perspective.gateway.api.LoggingContext.mdc(LoggingContext.java:54)

at com.inductiveautomation.perspective.gateway.model.PageModel$Handlers.lambda$startView$15(PageModel.java:700)

at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source)

at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)

at com.inductiveautomation.ignition.common.util.ExecutionQueue$PollAndExecute.run(ExecutionQueue.java:123)

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.base/java.util.concurrent.FutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [February 22, 2019, 4:35pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/9 "2019-02-22T16:35:53Z")

</div>

This might not be the same thing but if you reset an SSL cert or restart your gateway with an active designer running you can see the designer think that all of your screens are gone. You’ll still see the screens in designer but when you try to open them it will say the screens aren’t found.

The fix is to simply reopen the designer after your SSL cert is applied and your gateway is running.

It’s easy to panic when the designer tells you that your screens aren’t found 🙂

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [February 22, 2019, 4:38pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/10 "2019-02-22T16:38:45Z")

</div>

Yes, the first thing I’d try with this one is reopening your designer and see if it’s still happening.

If it is, make sure you install the latest designer (those update with daily patches) and see if that fixes it.

If it’s still happening, try a reboot to make sure everything is in normal condition and make sure you’re not having network issues between your designer and the gateway server.

I literally just had this problem and it turned out it was being caused by one of our IT guys resetting my SSL cert and restarting my gateway repeatedly while I was doing development. I didn’t end up losing anything. It just looked like I had lost everything.

---

<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, 2019, 7:21am UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/11 "2019-02-25T07:21:02Z")

</div>

Thanks for the reaction, I tried to login at the server where the gateway is places too reach it at it’s own localhost, but it did not succeed. So it’s not a network problem.

I already made some reboots.  
I already have the latest version of ignition installed.

---

<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, 2019, 7:25am UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/12 "2019-02-25T07:25:48Z")

</div>

Also it is just http, it does not have an SSL cert.

---

<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 25, 2019, 5:00pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/13 "2019-02-25T17:00:27Z")

</div>

> [@joe.friedrich](#):
>
> - Copied JSON to Notepad++
> - Removed the Thumbnail at the bottom which was Tens of Thousands of lines long 😵  
> 2a. (Because I wanted it to be easier to move around in Notepad++)
> - Copied it back to a test view.

Digression, but FYI there is a fix for this coming in the upcoming nightlies. The thumbnail data was never meant to go into the json on copy.

---

<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:** [March 14, 2019, 3:24pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/15 "2019-03-14T15:24:44Z")

</div>

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

---

<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:** [August 26, 2019, 5:40pm UTC](https://forum.inductiveautomation.com/t/bug-12867-perspective-view-changed-to-empty-folder/22805/16 "2019-08-26T17:40:13Z")

</div>

I am using 8.0.3 and have just experienced this same issue. Several views have turned into empty folders. Tried restarting the gateway and designer, have not been able to figure out a way to bring them back. I am pretty sure this bug has not been fully resolved yet.
