eclipse : java. lang. Problems in ClassCastException… here is a solution to the problem.
eclipse : java. lang. Problems in ClassCastException
These two days I often get an error dialog every 45 seconds with the title:
Multiple problems have occurred
The following reads:
java.lang.ClassCastException
There is a line of repeat in the details that is:
org.eclipse.core.internal.dtree.NoDataDeltaNode cannot be cast to org.eclipse.core.internal.dtree.DataTreeNode
Here is a picture of it:
I press OK and continue coding, my code works fine both on the emulator and on my phone, but it’s really annoying to see this dialog every minute, not even for less than a minute!
Best Solution
Maybe your workspace is corrupted. Try setting up a new workspace.
Select -> -> Switch Workspace
Other
from the Eclipse menu File
. Then select a new directory. You will have to re-import the source and do all the configuration.