Project

General

Profile

bug #7489

ClassCastException clicking on edit refernce in

Added by Andreas Kohlbecker over 1 year ago. Updated over 1 year ago.

Status:
Worksforme
Priority:
New
Category:
taxeditor
Target version:
-
Start date:
06/18/2018
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

  • open Taxon Picris rhagadioloides (L.) Desf., Tabl. Ecole Bot.: 89. 1804
  • Activate MA "Picris rhagadioloides"
  • Click on Edit of the nomencaltural reference
login : admin
editor version : 5.1.0.201806110837
server : test.e-taxonomy.eu (edit-test) / cichorieae
schema version : 5.0.0.0.20180514
os : Linux 4.13.0-43-generic amd64
java : 1.8.0_131
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
    at com.sun.proxy.$Proxy49.getReferencingObjectsCount(Unknown Source)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.setWarnForReferencingObjects(AbstractCdmDetailElement.java:318)
    at eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailElement.createControls(ReferenceDetailElement.java:116)
    at eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailElement.createControls(ReferenceDetailElement.java:1)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.updateContent(AbstractCdmDetailElement.java:107)
    at eu.etaxonomy.taxeditor.ui.section.reference.ReferenceDetailElement.updateContent(ReferenceDetailElement.java:206)
    at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.setEntity(AbstractCdmDetailElement.java:94)
    at eu.etaxonomy.taxeditor.ui.section.reference.ReferenceWizardPage.createElement(ReferenceWizardPage.java:62)
    at eu.etaxonomy.taxeditor.ui.element.AbstractCdmEntityWizardPage.createControl(AbstractCdmEntityWizardPage.java:107)
    at eu.etaxonomy.taxeditor.ui.section.reference.ReferenceWizardPage.createControl(ReferenceWizardPage.java:49)
    at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:175)
    at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:696)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:588)
    at org.eclipse.jface.window.Window.create(Window.java:426)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095)
    at org.eclipse.jface.window.Window.open(Window.java:783)
    at eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement$EditListener.widgetSelected(EntitySelectionElement.java:438)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at eu.etaxonomy.taxeditor.Application.start(Application.java:24)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

History

#1 Updated by Andreas Kohlbecker over 1 year ago

Error is reproducible

#2 Updated by Andreas Müller over 1 year ago

  • Status changed from New to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker
  • Target version changed from Unassigned CDM tickets to Release 5.1

please always test with the latest TaxEditor version. You are using 201806110837 which is not compatible with the latest CDM Server version.

#3 Updated by Andreas Kohlbecker over 1 year ago

  • Status changed from Feedback to Worksforme

this issue really was due to my outdated editor installation.

#4 Updated by Andreas Kohlbecker over 1 year ago

  • Target version deleted (Release 5.1)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)