Reputation: 237
after starting intellij idea I get everytime the message: "Load error: undefined path variables!". I click on fix it and a dialogwindow opens. I delete the path varaible, press apply and after that ok.
When I start idea again, the error is still there.
How can I fix this?
Thx.
Upvotes: 13
Views: 16627
Reputation: 71
Had similar problem with PhpStorm 2016. After using Xdebug, and adding some watch expressions, I couldn't get rid of the annoying warning until I edited the workspace.xml under .idea folder and removed the xml holding the "bad variable".
Upvotes: 7
Reputation: 1287
Bug still appears in current web storm versions. For me the solution was to edit JetBrains workspace file and remove breakpoints, there was one that was hidden there.
To fix, find the file located at: <project folder>/.idea/workspace.xml
. and then find JSON element '<component name="XDebuggerManager">
' and remove all breakpoints. element should now look as follows (the 3 dots for non-relevant parts to fix this bug):
...
<breakpoint-manager>
<breakpoints>
</breakpoints>
...
...
</breakpoint-manager>
...
Upvotes: 2
Reputation: 1431
Some plugins require specific path variables. Deleting variable is not an option because plugin still needs it. F.E. Groovy plugin requires GROOVY_HOME variable. You have to specify value or switch corresponding plugin off.
Upvotes: 1