Project

General

Profile

bug #7498

ClassCastException on saving popup editor for validated name

Added by Andreas Kohlbecker 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
New
Category:
cdm-vaadin
Target version:
Start date:
06/19/2018
Due date:
% Done:

100%

Severity:
normal
Found in Version:
Tags:

Description

ei einer Validierung, Referenz eingebunden. Zurück zu validiertem Namen, dort Speicherfehler.
VG
Henning

...

Caused by: java.lang.ClassCastException: eu.etaxonomy.vaadin.component.ToOneRelatedEntityCombobox cannot be cast to eu.etaxonomy.vaadin.component.ReloadableLazyComboBox
                    at eu.etaxonomy.cdm.vaadin.view.name.TaxonNameEditorPresenter.onEntityChangeEvent(TaxonNameEditorPresenter.java:382)
                    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.vaadin.spring.events.internal.MethodListenerWrapper.publish(MethodListenerWrapper.java:78)
                    at org.vaadin.spring.events.internal.ListenerCollection.publish(ListenerCollection.java:167)
                    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:116)
                    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:109)
                    at eu.etaxonomy.vaadin.mvp.CdmEditorPresenterBase.onEditorSaveEvent(CdmEditorPresenterBase.java:210)
                    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.vaadin.spring.events.internal.MethodListenerWrapper.publish(MethodListenerWrapper.java:78)
                    at org.vaadin.spring.events.internal.ListenerCollection.publish(ListenerCollection.java:167)
                    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:116)
                    at org.vaadin.spring.events.internal.ScopedEventBus.publish(ScopedEventBus.java:109)
                    at eu.etaxonomy.vaadin.mvp.AbstractPopupEditor$SaveHandler.postCommit(AbstractPopupEditor.java:343)
                    ... 83 more

Associated revisions

Revision c43b6a2e (diff)
Added by Andreas Kohlbecker 6 months ago

fix #7498 selective handling of ToOneRelatedEntityCombobox when casting to ReloadableLazyComboBox

History

#1 Updated by Andreas Kohlbecker 6 months ago

  • Subject changed from class cast exception on saving popup editor for validated name to ClassCastException on saving popup editor for validated name
  • Status changed from New to In Progress

#2 Updated by Andreas Kohlbecker 6 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 50

#3 Updated by Andreas Kohlbecker 6 months ago

  • Description updated (diff)
  • Assignee changed from Andreas Kohlbecker to Wolf-Henning Kusber

Hallo Henning,

das Problem ist behoben. Du kannst nun testen.

Andreas

#4 Updated by Wolf-Henning Kusber 6 months ago

Eingabe fehlerfrei, Ticket kann geschlossen werden, Danke!

#5 Updated by Andreas Kohlbecker 6 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Wolf-Henning Kusber to Andreas Kohlbecker
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)