Skip to content

Conversation

howlger
Copy link

@howlger howlger commented Aug 5, 2024

Fix ClassCastException (not tested!).

See Stack Overflow question 78834435

Stack trace (eclipse.buildId=4.32.0.20240606-1231):

java.lang.ClassCastException: 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 @529500a7)
    at org.hibernate.eclipse.console.wizards.NewConfigurationWizard.init(NewConfigurationWizard.java:325)
    at ...

Fix ClassCastException (not tested!).

See Stack Overflow question 78834435:
https://stackoverflow.com/q/78834435/6505250

Stack trace (`eclipse.buildId=4.32.0.20240606-1231`):

```

java.lang.ClassCastException: 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 @529500a7)

    at org.hibernate.eclipse.console.wizards.NewConfigurationWizard.init(NewConfigurationWizard.java:325)

    at ...

```

Signed-off-by: Holger Voormann <[email protected]>
@leol87
Copy link

leol87 commented Aug 5, 2024

I have the same problem, when you release I will do a test

@howlger
Copy link
Author

howlger commented Aug 7, 2024

@koentsje Could you please take a look at this?

@Anonymous-Coward
Copy link

This bug makes JBoss tools in the latest version of Eclipse unusable - you don't get three clicks in a row without this bug causing an error message to be displayed - modal - in a project using quarkus. I don't mean to be pushy, but it would really help if this was merged and an update was published.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants