Project

General

Profile

Actions

bug #7687

closed

NPE in TypeDesignationSetManager

Added by Andreas Kohlbecker over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
critical
Found in Version:
Tags:

Description

Arbeit mit Vaadin http://test.e-taxonomy.eu/cdmserver/phycobank_production/app/registration#!workingset/8295ec6c-d84f-409a-a83c-0e5215a94fe3
Gymnodinium alaskense Moestrup & Calado
Name angelegt als Validierung,
anschließend Specimen Type angelegt, gespeichert.
Noch mal den Namen zum Korrekturlesen geöffnet und speichern geklickt, da nichts passierte auf Abbrechen geklickt und Fehlermeldung bekommen.

Viele Grüße,
Henning

java.lang.NullPointerException
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.stringify(TypeDesignationSetManager.java:522)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.stringify(TypeDesignationSetManager.java:458)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.mapTypeDesignation(TypeDesignationSetManager.java:167)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.lambda$mapAndSort$0(TypeDesignationSetManager.java:146)
                    at java.lang.Iterable.forEach(Iterable.java:75)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.mapAndSort(TypeDesignationSetManager.java:146)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.<init>(TypeDesignationSetManager.java:115)
                    at eu.etaxonomy.cdm.api.service.dto.RegistrationDTO.<init>(RegistrationDTO.java:110)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.lambda$makeDTOs$0(RegistrationWorkingSetService.java:351)
                    at java.util.ArrayList.forEach(ArrayList.java:1249)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.makeDTOs(RegistrationWorkingSetService.java:351)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.loadWorkingSetByReferenceUuid(RegistrationWorkingSetService.java:276)
                    at sun.reflect.GeneratedMethodAccessor2320.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                    at java.lang.reflect.Method.invoke(Method.java:498)
                    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
                    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
                    at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
                    at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
                    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)

Danach kam ein Internal Error, Escape und Aufruf von “List” mit Suche nach „Gymnodinium“ führte zu folgendem Error:

com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
                    at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:162)
                    at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)
                    at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437)
                    at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402)
....
Caused by: java.lang.NullPointerException
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.stringify(TypeDesignationSetManager.java:522)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.stringify(TypeDesignationSetManager.java:458)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.mapTypeDesignation(TypeDesignationSetManager.java:167)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.lambda$mapAndSort$0(TypeDesignationSetManager.java:146)
                    at java.lang.Iterable.forEach(Iterable.java:75)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.mapAndSort(TypeDesignationSetManager.java:146)
                    at eu.etaxonomy.cdm.api.service.name.TypeDesignationSetManager.<init>(TypeDesignationSetManager.java:115)
                    at eu.etaxonomy.cdm.api.service.dto.RegistrationDTO.<init>(RegistrationDTO.java:110)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.lambda$makeDTOs$0(RegistrationWorkingSetService.java:351)
                    at java.util.ArrayList.forEach(ArrayList.java:1249)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.makeDTOs(RegistrationWorkingSetService.java:351)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.convertToDTOPager(RegistrationWorkingSetService.java:194)
                    at eu.etaxonomy.cdm.api.service.registration.RegistrationWorkingSetService.pageDTOs(RegistrationWorkingSetService.java:223)
                    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)
...
Actions #1

Updated by Andreas Kohlbecker over 4 years ago

Hallo,

habe ich vorläufig gefixt: 73e4daa. Wird heute Nacht eingespielt.

Andreas K., schaust du nochmal drauf, wenn du zurück bist.

Viele Grüße,
Andreas M.

Actions #2

Updated by Andreas Kohlbecker over 4 years ago

  • Status changed from New to Closed
  • Assignee changed from Andreas Kohlbecker to Andreas Müller
  • % Done changed from 0 to 100

Fix looks ok!

Actions

Also available in: Atom PDF