Skip to main content



      Home
Home » Eclipse Projects » Eclipse Hawk » ClassCastException when adding Hawk index as Epsilon model
ClassCastException when adding Hawk index as Epsilon model [message #1821989] Tue, 25 February 2020 04:06 Go to next message
Eclipse UserFriend
Hello,

Trying to add a new Hawk model to an Epsilon launch configuration through the Models configuration tab produces the following exception, which prevents the model configuration dialog from showing.

java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class [Lorg.hawk.osgiserver.HModel; ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; [Lorg.hawk.osgiserver.HModel; is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @1f799f4c)
	at org.hawk.ui.emc.dt2.HawkModelConfigurationDialog.populate(HawkModelConfigurationDialog.java:162)
	at org.hawk.ui.emc.dt2.HawkModelConfigurationDialog.createFilesGroup(HawkModelConfigurationDialog.java:143)
	at org.hawk.ui.emc.dt2.HawkModelConfigurationDialog.createGroups(HawkModelConfigurationDialog.java:56)
	at org.eclipse.epsilon.common.dt.launching.dialogs.AbstractModelConfigurationDialog.createDialogArea(AbstractModelConfigurationDialog.java:82)
	at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:158)
	at org.eclipse.jface.window.Window.create(Window.java:426)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
	at org.eclipse.jface.window.Window.open(Window.java:783)


This happens both when I install Hawk from https://download.eclipse.org/hawk/1.2.0/updates/ on one of the Epsilon bundles and when I run it with from source. Any suggestions?

Thanks,
Dimitris
Re: ClassCastException when adding Hawk index as Epsilon model [message #1821991 is a reply to message #1821989] Tue, 25 February 2020 04:26 Go to previous messageGo to next message
Eclipse UserFriend
I *think* I've fixed this in https://git.eclipse.org/c/hawk/hawk.git/commit/?id=98a82ce76deaae364f63399fe782240dd11a992e

Thanks,
Dimitris
Re: ClassCastException when adding Hawk index as Epsilon model [message #1822048 is a reply to message #1821991] Wed, 26 February 2020 05:14 Go to previous message
Eclipse UserFriend
Thank you for the fix! For some reason, this bug has been in Hawk since at least 2016, but we didn't run into it until now. Odd!
Previous Topic:Trouble resolving Ivy dependencies
Next Topic:Hawk 2.0 Release
Goto Forum:
  


Current Time: Tue Jul 08 23:07:01 EDT 2025

Powered by FUDForum. Page generated in 0.06401 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top