Deploy All crashing

Issue #1279 resolved
Tim Chadwick created an issue

On deploy all after the selecting the contents and clicking deploy the deploy does not run and i get a system log 'threadDumps-freeze-20190417-120933-IU-191.6183.87-9sec'

Comments (9)

  1. Scott Wells repo owner

    Tim, can you please provide more details on the message displayed when the crash occurs and also your idea.log which can be found in the same location as the thread dump log? Thanks!

  2. Tim Chadwick reporter

    I get no message displayed on the screen, the IDE just continues as if nothing happened.

    i will attach the idea.log as well

  3. Scott Wells repo owner

    Thanks for the log. I can see that it's not deploying and, at a high level, why:

    2019-04-18 14:08:03,204 [2041378]   WARN - er.ForceComMetadataApiDeployer - Failed to find a metadata type for ... // Lots of these
    ... 
    2019-04-18 14:08:03,204 [2041378]   WARN - er.ForceComMetadataApiDeployer - Nothing to deploy. 
    2019-04-18 14:08:03,204 [2041378]   WARN - er.ForceComMetadataApiDeployer - No deployment archive was created. 
    

    My guess is that your project doesn't have a configured source root, or it's configured at the wrong level. Can you share your .iml file so I can see how it's configured?

  4. Scott Wells repo owner

    Tim, the issue appears to be that you have your source root set as <moduleDir>/src but your source files are under <moduleDir>/src/sirenum. IC is looking for the metadata type folders to be immediately beneath the source root, for example <moduleDir>/src/classes/ClassName.cls, but in your setup they're under <moduleDir>/src/sirenum/classes/ClassName.cls. As a result, IC can't discern the metadata types for source files using its current approach.

    The simplest solution would be to move your source root down one level to be <moduleDir>/src/sirenum. You can do that by right-clicking on the src folder and then Mark Directory as>Unmark as Sources Root, then right-click on src/sirenum and then Mark Directory as>Sources Root.

    Let me know if that doesn't resolve the issue for you.

  5. Log in to comment