Project

General

Profile

Actions

bug #10076

closed

Exception when opening character matrix with classification as root node

Added by Katja Luther almost 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
Severity:
normal
Found in Version:

Description

mail Konstantina Koutroumpa:

Dear Katja and Andreas,

I am getting an error when opening the character matrix in EDIT, please see attached.
Could you take a look at it?

exception:

last remote method : http://api.cybertaxonomy.org:80/flora-greece-bupleurum/remoting/progressmonitor.service
last remote request client time : 2022-03-23T14:31:14.567
last remote request response header time : Wed, 23 Mar 2022 13:31:14 GMT
client error time : 2022-03-23T14:31:14.621
login : tutor
editor version : 5.30.0
server : api.cybertaxonomy.org (cybertaxonomy.org) / flora-greece-bupleurum
schema version : 5.29.0.0.20211122
os : Windows 10 10.0 amd64
java : 1.8.0_201
java.util.NoSuchElementException
    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1447)
    at java.util.HashMap$KeyIterator.next(HashMap.java:1469)
    at eu.etaxonomy.cdm.api.service.DescriptiveDataSetService.findTaxonNodeForDescription(DescriptiveDataSetService.java:223)
    at eu.etaxonomy.cdm.api.service.DescriptiveDataSetService.createSpecimenRowWrapper(DescriptiveDataSetService.java:406)
    at eu.etaxonomy.cdm.api.service.DescriptiveDataSetService.createSpecimenRowWrapper(DescriptiveDataSetService.java:451)
    at eu.etaxonomy.cdm.api.service.DescriptiveDataSetService.getRowWrapper(DescriptiveDataSetService.java:156)
    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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
    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:283)
    at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
    at com.sun.proxy.$Proxy1930.getRowWrapper(Unknown Source)
    at eu.etaxonomy.cdm.api.service.longrunningService.LongRunningTasksService$1.doRun(LongRunningTasksService.java:71)
    at eu.etaxonomy.cdm.common.monitor.RemotingProgressMonitorThread.run(RemotingProgressMonitorThread.java:42)
Actions #1

Updated by Katja Luther almost 2 years ago

This problem appears when the root node of the descriptive dataset is a classification, which has no parent node and no taxon.

Actions #2

Updated by Katja Luther almost 2 years ago

  • Status changed from New to Resolved
  • Assignee changed from Katja Luther to Andreas Müller
  • % Done changed from 0 to 60

This should be fixed, please review.

Actions #3

Updated by Andreas Müller over 1 year ago

  • Description updated (diff)
Actions #4

Updated by Andreas Müller over 1 year ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 60 to 100

Works as expected.

Actions

Also available in: Atom PDF