Coder Social home page Coder Social logo

Comments (8)

lte2000 avatar lte2000 commented on July 26, 2024

The statement trigger the exception is:
VirtualFile workingDir = originalElement.getContainingFile().getVirtualFile().getParent();
I suspect originalElement.getContainingFile().getVirtualFile() return null, but can't image under which condition it will return null.

@stavstrom
Do the issue always happen even after restart Pycharm? If so, I can build a patch for you.

from intellibot.

stavstrom avatar stavstrom commented on July 26, 2024

I can't find any reliable way of recreating this behavior. But yes, I've seen it many times, even after restarting PyCharm.

from intellibot.

lte2000 avatar lte2000 commented on July 26, 2024

@stavstrom
Please try the attached patch 0.12.191.8026.1.
intellibot.zip

from intellibot.

stavstrom avatar stavstrom commented on July 26, 2024

Thank you :-) We're a few test developers at a Swedish company that are very thankful for your contribution to this plugin

from intellibot.

stavstrom avatar stavstrom commented on July 26, 2024

Btw, the patch seem to work. I haven't seen this exception for a long time.

from intellibot.

lte2000 avatar lte2000 commented on July 26, 2024

@stavstrom Thanks for the feedback. I will merge the code into main branch later.

from intellibot.

KotlinIsland avatar KotlinIsland commented on July 26, 2024

@stavstrom @ite2000 If this resolves the problem, this issue could be closed as completed.

from intellibot.

stavstrom avatar stavstrom commented on July 26, 2024

It does solve the problem, so you can close this ticket. Good work and thank you. :-)

from intellibot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.