I checked out a maven project in Eclipse and am unable to Inspect a Variable (right click on the variable and click Inspect option).
When I attempt to do so, I get the
I got the same error message.
To solve that
"Debug Configuration" >> {{JAVA_DEBUG_APPLICATION_NAME}} >> Source (tab)
Check the source is added correctly,
For me,
I have removed the sources from the source tab, It solved both the problem