Issue with frequent Invalid configuration for module

Issue #2179 resolved
Andrew Thomas created an issue

Hello Scott,

I am having an issue where I am frequently getting the Invalid configuration for module error being thrown

The process is:

  • Create a project using a connection with a Trailhead Playground (Production)
  • Retrieve metadata
  • Works fine for a few hours
  • After an undetermined amount of time the Invalid configuration for module error is thrown
  • I will then rebuild

    • Full Offline Symbol Table
    • Caches and Indicies
  • Reload Project

  • After these steps the error stays most of the time. Sometimes the error is resolved

If the error doesn’t go the only way to remove it is to delete the project and recreate it

Comments (7)

  1. Scott Wells repo owner

    Hi. Can you please enable debug logging for Module Validation, reproduce this behavior, and either attach or email the resulting idea.log for review? Please make sure that the debug log includes repeated reports of a bad module configuration state so I can see what exactly is not being auto-resolved across Resolve attempts.

  2. Andrew Thomas reporter

    Hi, @Scott Wells I have just emailed you the idea.log file. Please let me know if you need anything else!

  3. Scott Wells repo owner

    Thanks. I just responded via email, but the short version is that IC2 isn’t able to read your project’s OST archive file. The primary reason I’ve seen for that in the past is that the project is structured under a cloud drive, e.g., Google Drive, MS OneDrive, etc., and that service is locking files as its synchronizes them. Is that perhaps the case here? If so, please move the project out of the cloud drive as it’s going to cause no end of issues. If not, anything else come to mind as to why that file would be inaccessible from the IDE process?

  4. Scott Wells repo owner

    Hi. Just following up to see if you had any insights based on my previous response here.

  5. Andrew Thomas reporter

    Hello Scott,

    Thank you so much for looking into this.

    I have also emailed you but you absolutely hit the nail on the head here. I have the project on my iCloud Drive and for some reason, iCloud is making it an offline folder whilst I am working on the project.

    Moving the project off iCloud or making the project folder local the issue is resolved.

    Thanks again!

  6. Scott Wells repo owner

    Ah, okay. Glad to hear that it was cloud drive file locking. Otherwise I was getting a bit scared about why key files like that might not be readable! Thank for letting me know that it’s resolved for you now.

  7. Log in to comment