Project

General

Profile

bug #7905

NPE in InstitutionEditorPresenter

Added by Andreas Kohlbecker 11 months ago. Updated 9 months ago.

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

100%

Severity:
normal
Found in Version:
Tags:

Description

[reported by Heba]

http://api.cybertaxonomy.org/phycobank/app/registration#!workingset/0ddaa1fb-99b7-4666-859f-7bd5d7a8b61f

Hallo
Ich war specimen type und institution editor geƶffnet, um eine neue instution , code war schon angegeben

Caused by: java.lang.NullPointerException
                at eu.etaxonomy.cdm.vaadin.view.common.InstitutionEditorPresenter.loadCdmEntity(InstitutionEditorPresenter.java:64)
                at eu.etaxonomy.cdm.vaadin.view.common.InstitutionEditorPresenter.loadCdmEntity(InstitutionEditorPresenter.java:40)
                at eu.etaxonomy.vaadin.mvp.CdmEditorPresenterBase.loadBeanById(CdmEditorPresenterBase.java:115)
                at eu.etaxonomy.vaadin.mvp.AbstractPopupEditor.loadInEditor(AbstractPopupEditor.java:732)
                at eu.etaxonomy.cdm.vaadin.view.occurrence.CollectionEditorPresenter.onInstitutionEditorActionAdd(CollectionEditorPresenter.java:189)
                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.cdm.vaadin.view.occurrence.CollectionPopupEditor.lambda$initContent$61446b05$3(CollectionPopupEditor.java:190)
                at sun.reflect.GeneratedMethodAccessor48938.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
                ... 75 more

Associated revisions

Revision e440fd75 (diff)
Added by Andreas Kohlbecker 11 months ago

fix #7905 introducing defaultCdmEntityInstatiator and createCdmEntity method to avoid problems with missing custom instatiator in implementors

History

#1 Updated by Andreas Kohlbecker 11 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Kohlbecker 9 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

error is no longer reproducible

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)