Not able to access to the designer

I was making some changes on one project then once closed I wanted to reopen but it prompts this error. Is there a way to recover the project?

Pd. The projects still available for the clien sessions I only have the problem when I try to start a designer session for that project

java.lang.IllegalArgumentException: com.inductiveautomation.ignition.common.project.resource.ResourceNamingException: Cannot add child 'com.inductiveautomation.perspective/style-classes/fonts/text-medium' to parent 'com.inductiveautomation.perspective/style-classes/Fonts'at com.inductiveautomation.ignition.designer.project.ResourceTreeNode.addChild(ResourceTreeNode.java:252)at java.base/java.util.ArrayList.forEach(Unknown Source)at com.inductiveautomation.ignition.designer.project.ResourceTreeNode.(ResourceTreeNode.java:61)at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.createNode(DesignerProjectTreeImpl.java:144)at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.lambda$createNode$7(DesignerProjectTreeImpl.java:141)at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)at java.base/java.util.HashMap$KeySpliterator.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.ignition.designer.project.DesignerProjectTreeImpl.createNode(DesignerProjectTreeImpl.java:142)at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.lambda$createNode$7(DesignerProjectTreeImpl.java:141)at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)at java.base/java.util.HashMap$KeySpliterator.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.ignition.designer.project.DesignerProjectTreeImpl.createNode(DesignerProjectTreeImpl.java:142)at com.inductiveautomation.ignition.designer.project.DesignerProjectTreeImpl.lambda$new$0(DesignerProjectTreeImpl.java:74)at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)at java.base/java.util.HashMap$KeySpliterator.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.ignition.designer.project.DesignerProjectTreeImpl.(DesignerProjectTreeImpl.java:75)at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:2072)at java.base/java.lang.Thread.run(Unknown Source)Caused by: com.inductiveautomation.ignition.common.project.resource.ResourceNamingException: Cannot add child 'com.inductiveautomation.perspective/style-classes/fonts/text-medium' to parent 'com.inductiveautomation.perspective/style-classes/Fonts'at com.inductiveautomation.ignition.designer.project.ResourceTreeNode.addChildInternal(ResourceTreeNode.java:266)at com.inductiveautomation.ignition.designer.project.ResourceTreeNode.addChild(ResourceTreeNode.java:250)... 35 more
Ignition v8.1.47 (b2025022612)Java: Azul Systems, Inc. 17.0.13

If you close the designer completely and reopen, you get this exception every time?

Yes, same exception is thrown.
I also tried open a designer session from different Computer but still the exception. I haven’t tried restarting the Ignition container yet, I’d like to save that as my last resource.

The error message suggests something has gone very wrong with your project structure on disk. You may need to explore the container filesystem, specifically /usr/local/bin/ignition/projects/ and see why there is (apparently) one or more copies of your style classes injected as folders underneath your style classes.

I’m looking at the filesystem of the ignition container but I’m kind of lost.
What exactly should I’ve look for? I’m already on the path of the style-classes for the project where I’m having issues.

Disclaimer: This is purely an educated guess based on the error message, no idea if this is what actually occurred.
What you should have is something like this:

But instead it looks like you've got something like this:

This is what I found at path /usr/local/bin/ignition/data/projects/[PROJECT NAME]/com.inductiveautomation.perspective/style-classes

image

Not sure if the issue is in the directory names of “fonts“ and “Fonts“.
Also not sure if I only have to rm the file or directory that is causing the issues. Does this action could break all the other projects running on that Ignition container?

I also looked inside of the folders and for me, everything seems OK.

Try removing (or just renaming) one of the fonts folders - it's possible it's the case-insensitive collision that's causing issues.

1 Like

Tried renaming and also removing but still with the error :frowning:

Nevermind, It worked!!!
Was not only renaming those directories, I also renamed some other directorys and now the projects is accessible once againg from the designer. Thanks