Solving runtime issues in IDEA