I started getting this error when saving a project yesterday, and today when I launched the designer, Perspective was missing and I saw this in the designer console, below. Not sure how to fix it. How can I find what resource has the issue?
Yesterday I noticed that I couldn't open up a couple of style classes; double clicking on them just did nothing, whereas others would open as normal. I'm looking now in their style.json and they look ok from the file perspective.
Also, a Perspective client session starts up normally. The project is only skeleton at the moment, but I can't see anything amiss.
22:26:29.151 [Designer-Startup] ERROR designer.main -- Error starting up module Perspective
java.lang.IllegalArgumentException: Resource does not contain style definition.
at com.inductiveautomation.perspective.common.config.styles.StyleClassConfig.fromProjectResource(StyleClassConfig.java:62)
at com.inductiveautomation.perspective.designer.DesignerHook$StyleChangeListener.toCss(DesignerHook.java:788)
at com.inductiveautomation.perspective.designer.DesignerHook$StyleChangeListener.lambda$compileStyleClasses$1(DesignerHook.java:770)
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.AbstractList$RandomAccessSpliterator.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.perspective.designer.DesignerHook$StyleChangeListener.compileStyleClasses(DesignerHook.java:767)
at com.inductiveautomation.perspective.designer.DesignerHook$StyleChangeListener.<init>(DesignerHook.java:758)
at com.inductiveautomation.perspective.designer.DesignerHook.startup(DesignerHook.java:262)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$LoadedModule.startup(IgnitionDesigner.java:2052)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.startupModule(IgnitionDesigner.java:1232)
at com.inductiveautomation.ignition.designer.IgnitionDesigner.loadProject(IgnitionDesigner.java:1022)
at com.inductiveautomation.ignition.designer.IgnitionDesigner$StartupProjectDialogHandler.lambda$new$2(IgnitionDesigner.java:2102)
at java.base/java.lang.Thread.run(Unknown Source)