Retrieve Metadata error - End of input at line 4 column 39 path $[0].createdByName
Issue #2453
resolved
- force-app → Illuminated Cloud → Retrieve Metadata…
Error
End of input at line 4 column 39 path $[0].createdByName
Comments (7)
-
repo owner -
repo owner - changed status to open
-
reporter - attached idea.txt
<div class="preview-container wiki-content"><!-- loaded via ajax --></div> <div class="mask"></div> </div>
</div> </form>
-
repo owner Thanks. I’m not sure why that’s happening, but I think I can provide a reasonable (hopefully one-time) workaround:
- Open the configuration directory for the host IDE:
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs - Remove the
illuminatedCloud2/cache/<yourConnectionName>
directory. If you’d like to provide more diagnostic data, you could archive and provide the contents of that directory before deleting. It’s just a list (no contents) of the metadata in org, but no issues if you’d prefer not to do so, though. - Try to retrieve metadata again.
I’m not sure why that file isn’t being parsed properly. Seeing it myself would help. I’ll also update IC2 to recover gracefully if it can’t parse that file, evicting the file-based cache and repopulating it (which is basically what you’re doing explicitly above).
- Open the configuration directory for the host IDE:
-
reporter - changed status to resolved
That seems to have done the trick, thanks!
-
repo owner Graceful recovery via defensive handling of such a situation delivered in 2.2.8.9.
-
repo owner - removed component
Removing component: IntelliJ IDEA (automated comment)
- Log in to comment
Hi. Can you please enable debug logging for Metadata Retrieval and Salesforce DX, reproduce the issue, and attach your
idea.log
file for review?