Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ClassCastException #2549

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix ClassCastException #2549

wants to merge 1 commit into from

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?

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.

2 participants