Bug 571176 - Getting ClassCastException error
Summary: Getting ClassCastException error
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.20   Edit
Hardware: PC Windows 10
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2021-02-13 02:55 EST by Anil Nagalapuram CLA
Modified: 2023-02-09 13:08 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anil Nagalapuram CLA 2021-02-13 02:55:13 EST
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'MY_PROJECT'.
class org.eclipse.jdt.internal.compiler.lookup.MethodBinding cannot be cast to class org.eclipse.jdt.internal.compiler.lookup.FieldBinding (org.eclipse.jdt.internal.compiler.lookup.MethodBinding and org.eclipse.jdt.internal.compiler.lookup.FieldBinding are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4664cd32)
Comment 1 Andrey Loskutov CLA 2021-02-13 02:56:15 EST
Please provide sample code that reproduces the problem.
Comment 2 Andrey Loskutov CLA 2021-02-13 02:56:45 EST
And full error log from Error log view.
Comment 3 Eclipse Genie CLA 2023-02-09 13:08:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.