Commit 2418fb4
authored
Fix ClassCastException
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 ...
```1 parent 43bcf10 commit 2418fb4
File tree
1 file changed
+2
-2
lines changed- orm/plugin/core/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
0 commit comments