-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.29.1.Final
-
None
-
---
Description of problem:
The JBoss Tools plugin is causing the following error when refreshing or importing a project with the Java nature configured.
An internal error occurred during: "refresh".
class org.eclipse.jdt.internal.core.JavaNature cannot be cast to class org.eclipse.jdt.core.IJavaProject (org.eclipse.jdt.internal.core.JavaNature and org.eclipse.jdt.core.IJavaProject are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @79bccbff)
Prerequisites (if any, like setup, operators/versions):
Install base 2024-09 then use the Eclipse marketplace to install the Subclipse and Jboss Tools plugins.
Steps to Reproduce
Import a java project that has the Java nature configured.
Actual results:
**
An internal error occurred during: "refresh".
class org.eclipse.jdt.internal.core.JavaNature cannot be cast to class org.eclipse.jdt.core.IJavaProject (org.eclipse.jdt.internal.core.JavaNature and org.eclipse.jdt.core.IJavaProject are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @79bccbff)
Expected results:
the project should be refreshed/imported OK.
Reproducibility (Always/Intermittent/Only Once):
Always on a clean install starting with 2024-03 through 2024-09
Acceptance criteria:
The project should import or refresh OK
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):