Project is not syncing with salesforce

Issue #414 duplicate
jrattanpal created an issue

I was working on this project last week. Then there was an IC update last week (and this morning). ANd now it's not working. Nothing is happening.

I try to refresh metadata and it doesn't even open the window. i check the connection and try to "Generate offline symbol" (thinking this might be the cause) but get attached error.

I am attaching the log too. This is essentially a blocker as I have no idea what to do here to fix it. and need to get this project out.

Thanks

Comments (9)

  1. jrattanpal reporter

    And, when I try to make changes, the "Selected" option for project is not enabled (Screenshot attached)IC_Error_2.png

  2. Scott Wells repo owner

    The exceptions at the end of that log are just reporting that an index rebuild has been requested. The plugin SDK requires that you pass an exception with a message from the requester that is then logged. It's not at all indicative of an issue. I honestly wish that operation didn't result in a stack trace in the log.

    Do you mind adding the following to Help>Debug log settings:

    #com.illuminatedcloud.intellij.builder.ForceComMetadataRetriever
    

    performing a retrieve and/or refresh, and sending me the resulting log? That'll let me understand why it seems to be a no-op for you.

  3. Scott Wells repo owner

    Okay, that's disabled when there's no connection. Can you verify that you have a configured connection that's properly associated with the module? Obviously if not, let's go ahead and fix that, then I'll try to understand why the connection association was lost.

  4. jrattanpal reporter

    To fix this issue, I recreated the project.

    But to reproduce it, I re-opened the one that I was having issue with. When I opened, I got following message. IC_reopen_error.png

    Then I added that debug header and tried to refresh metadata but still no luck.

    I see following error in the attached log file.

    WARN - lder.ForceComMetadataRetriever - No source root found for module SurveyForce.

    But other than that, I think it's working now.What I don't remember is, did the error happen before I downloaded latest IC update. Or after.

    maybe that message box above is the reason it failed. And when I reopened, it converted the project and it works now.

    Other than that, not sure what to say. One error that I did see was about missing SDK. and that is strange itself because it was set last week and was working.

    But I got it workin now after re-creating project in new location.

  5. Scott Wells repo owner

    Merging this and #414. Since it looks like the root cause is OST generation in the background while attempting to resolve the invalid module state, I'm going to implement something that doesn't allow that concurrent state in the context of #414.

  6. jrattanpal reporter

    Thanks Scott!

    If I find any other scenario where this doesn't work then will let you know.

  7. Log in to comment