Joint Compiler Error :- Any solution
For instance the following line appear upon a run after compilation
"Exception in thread "main" groovy.lang.MissingPropertyException: No such property: menuBarClass for class: ig.ui.IgConsoleView mycvshr
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)"
Please sign in to leave a comment.
Based on the error you've provided, it seems like you're encountering a
MissingPropertyExceptionin a Groovy script, indicating that a property (menuBarClass) is being referenced but not found in theig.ui.IgConsoleViewclass. This typically occurs if the property hasn't been defined in the class or if there's a typo in the property name.Here are some steps you might consider to resolve the issue:
menuBarClassis spelled correctly and matches the property name in theIgConsoleViewclass.menuBarClassis supposed to be a part ofIgConsoleView, ensure that it's properly defined within the class. If it's a new property you are trying to add, make sure you've added the necessary getters and setters or declared the variable correctly.menuBarClassproperty. Sometimes, an outdated jar or class file might not have the latest properties.menuBarClassis being accessed in an appropriate context where it is visible and accessible.IgConsoleViewclass or any user forums for common issues related to property access in Groovy, as there might be known issues or solutions available.Regards
James from Y9
it has already been answered in this article - https://intellij-support.jetbrains.com/hc/en-us/community/posts/206635495-Groovy-generated-classes-causing-compilation-issues geekydane
Thank you for the detailed explanation of the
MissingPropertyException. You've hit the nail on the head – anig.ui.IgConsoleViewclass trying to access amenuBarClassproperty that doesn't seem to exist.https://intellij-support.jetbrains.com/hc/en-us/community/posts/206635495-Groovy-generated-classes-causing-compilation-issues/cookie clicker
Thank you for the detailed explanation of the MissingPropertyException. You've hit the nail on the head – an ig.ui.IgConsoleView class trying to access a menuBarClass property that doesn't seem to exist. https://intellij-support.jetbrains.com/hc/en-us/community/posts/206635495-Groovy-generated-classes-causing-compilation-issues/ chill guy clicker
It looks like the script is referencing a property that does not exist in that class. I would double check whether
menuBarClassis actually defined or if the correct class import is missing.https://intellij-support.jetbrains.com/hc/en-us/community/posts/7780827038482-Joint-Compiler-Error-Any-solution fnf