Project becomes invalid after reload

Issue #761 resolved
dmytro created an issue

I'm not able to use plugin after the last update.

Steps to reproduce: 1. Create a new IC project with a new connection. 2. I can see the project structure while it's loading mdt and generating offline tables 3. After the newly created project is reloaded I can only see [project name].iml in the project explorer 4. If I skip the project reload I'd be able to work until the next Idea restart. 5. src and other project folders are still found in the system folder

IntelliJ IDEA version: 2017.2.5 Build #IU-172.4343.14, built on September 26, 2017 Illuminated Cloud version: 1.8.1.1 Build 20171025104332

Comments (15)

  1. Scott Wells repo owner

    Sorry for the issue, Dmytro. Anything telling in idea.log? In particular I'd be hoping to see some exceptions telling exactly (or at least roughly) what's going on.

  2. dmytro reporter

    Thank you for such a quick reply and no worries Scott, issues are just the part of our job. So, that's what I got when manually exported the project from the folder and assigned the IC SDK type to it in the Project Structure (+ "no src" error, which I had managed to resolve by the time of taking the screenshot).

    Capture.PNG

    The project seems to be working after all, though the same happens to other projects I have.

  3. Scott Wells repo owner

    Ah, okay. So instead of trying to fix it manually, if you scroll down there are links for Resolve and Ignore. Do you mind clicking Resolve and letting IC take care of it for you? Hopefully that will put things into a good state. Let me know if not.

  4. dmytro reporter

    I've just tried on another broken project. Unfortunately, after importing the project from the source root I still have to assign the type and manually choose the src folder, everything else is then handled automatically after I click Resolve. At least that's the solution, so now I have all the steps do each time creating a new project.

    P.S. I'll try to reproduce the issue on the older versions of IDEA tomorrow and post the result here. Thank you for helping out.

  5. Scott Wells repo owner

    Interesting. Yeah, you definitely shouldn't have to do anything manually. IC should help fix these types of problems for you. If you can isolate this to a simple project that reproduces this behavior feel free to send it over and I'll take care of it.

  6. dmytro reporter

    Hi Scott, FYI I've tested the project creation on another laptop with such a versions installed: IntelliJ IDEA 2017.2.5 Build #IU-172.4343.14 \ Illuminated Cloud version: 1.8.0.8 and everything works as it should. I'll probably skip all the IC updates on that second laptop for a while longer to avoid the issues I've got on the first one. Thank you again for a great product and support.

  7. Scott Wells repo owner

    Dmytro, thanks for checking older versions. I've reproduced this easily and will include a fix in the next build.

  8. Scott Wells repo owner

    FYI, 1.8.1.2 is ready and I'll release it tomorrow morning. I don't want to take a chance on a mad scramble today knowing that my family absolutely gets my full attention this evening for trick-or-treating. If you are blocked by this issue and need the build earlier than that, let me know and I can attach it here early.

  9. dmytro reporter

    Hey Scott, not an issue for me at all. I'm fully able to work on my projects now. Please have a good time with your family. Happy Halloween to you all :)

  10. Log in to comment