Unable to Save Metadata Subscription package.xml

Issue #707 resolved
Luke Miller created an issue

When creating a new project in IntelliJ IDEA using Illuminated Cloud, I've gotten through the whole process. I was able to set the project up, connect it to my organization, and select my package.xml file as my appropriate metadata subscription.

However, once all metadata refresh is complete and I am supposedly finished, I get an error that my metadata subscription cannot be null.

Opening the module settings, I see per the screenshot below that my package.xml path is indeed blank now, but I cannot set it. If I click the "..." to choose the package.xml, select it and click Open, the field simply remains blank.

Screen Shot 2017-09-15 at 2.24.59 PM.png

Restarting the app, my computer, and starting over from scratch with a fresh project does not solve the issue. Without the ability to set this metadata subscription appropriately, I am unable to confidently make edits to my files and commit them, as I'm not confident I am getting the most up to date metadata sync from our server or repositories.

Comments (4)

  1. Scott Wells repo owner

    Hi, Luke. Sorry for the issue. Can you confirm that your package.xml is under your source root alongside directories like classes, objects, etc. The only time I've seen this happen is when the package.xml file is outside of the source root and IC doesn't support that because it represents a non-standard MDAPI directory structure.

    If your package.xml is outside the source root, please move/copy it into the source root and see if the problem persists. If your package.xml is in fact inside the source root, please send me your idea.log using Help>Show Log in Finder and I'll see if I can figure out why this is happening.

  2. Luke Miller reporter

    Good Evening Scott,

    Thank you so much for the help! I thought everything was in the same directory, but I had cloned my git repo into a separate folder and so IntelliJ and Illuminated Cloud were looking in two separate spaces. I was able to use your feedback to get it resolved.

    I appreciate the quick response!

    Luke Miller Salesforce Developer Project: WorldWide 3600 Giddings Road Auburn Hills, MI 48326 +1-916-661-0289 Phone

    [cid:image001.png@01D32FE2.6A8F58D0]

    Project: WorldWide is an independent, global network of complementary agencies. We are engineers, craftsmen, and artists making things that inspire people to participate and act. Our portfolio of agencies includes George P. Johnson, Partners + Napier, ARGONAUT, Motive, JUXT, Spinifex, G7 Entertainment Marketing, Raumtechnik and Shoptology.

    project.com

    This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and delete and destroy all copies of the original message.

  3. Log in to comment