Project

General

Profile

Actions

bug #8626

closed

NullPointerException (NPE) on saving Specimen Editor (list)

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

Status:
Duplicate
Priority:
New
Assignee:
Category:
taxeditor
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Found in Version:

Description

I followed the instrcutions given in Manual-EDIT-Platform-v.1.19b Chapter 4.3.7 and 9.4:

  • Start with fresh db caryophyllales_demo_01 on WSI
  • create
Lymanbensonia micrantha (Vaupel) Kimnach in Cact. Succ. J. (Los Angeles) 56(3): 101. 1984.
≡ Cereus micranthus Vaupel in Bot. Jahrb. Syst. 50: Beibl. 111: 19. 1913.
  • add specimen typedesignation to Cereus micranthus by entering only the titleCache Holotype: Peru, Puno, near Sandía, 31. July 1902, Weberbauer 1353 (B, destroyed), isotype: US.
  • open the specimen editort (list)
  • select the specimen and enter the data as shown here:
  • save
login : 
editor version : 5.10.0
server :  ()
schema version : 
os : Linux 5.0.0-32-generic amd64
java : 1.8.0_131
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://160.45.63.230:80/cdmserver/caryophyllales_demo_01/remoting/occurrence.service]; nested exception is java.lang.NullPointerException
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:147)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
    at com.sun.proxy.$Proxy95.load(Unknown Source)
    at eu.etaxonomy.taxeditor.bulkeditor.input.OccurrenceEditorInput.loadEntity(OccurrenceEditorInput.java:248)
    at eu.etaxonomy.taxeditor.bulkeditor.input.OccurrenceEditorInput.loadEntity(OccurrenceEditorInput.java:1)
    at eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput.lambda$0(AbstractBulkEditorInput.java:271)
    at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:186)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
    at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.getCacheElement(CdmTransientEntityCacher.java:288)
    at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.getFromCache(CdmTransientEntityCacher.java:293)
    at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.getFromCache(CdmTransientEntityCacher.java:314)
    at eu.etaxonomy.cdm.cache.CacheLoader.load(CacheLoader.java:239)
    at eu.etaxonomy.cdm.cache.CacheLoader.load(CacheLoader.java:63)
    at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.load(CdmTransientEntityCacher.java:157)
    at eu.etaxonomy.taxeditor.session.CdmEntitySession.load(CdmEntitySession.java:70)
    at eu.etaxonomy.taxeditor.session.CdmEntitySessionManager.load(CdmEntitySessionManager.java:131)
    at eu.etaxonomy.taxeditor.service.CdmServiceRequestExecutor.doExecuteRequest(CdmServiceRequestExecutor.java:82)
    at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:138)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:194)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:176)
    at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144)
    ... 8 more

The specimen has been duplicated now


Files

picture444-1.png (80.4 KB) picture444-1.png Andreas Kohlbecker, 10/29/2019 01:18 PM

Related issues

Is duplicate of EDIT - bug #7699: NPE in CdmTransientEntityCacher.getCacheElement()In ProgressAndreas Müller

Actions
Copied to EDIT - bug #8627: NullPointerException (NPE) on saving Specimen Editor (list)NewKatja Luther

Actions
Actions #1

Updated by Andreas Kohlbecker over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Andreas Kohlbecker over 3 years ago

  • Subject changed from NullPointerException (NPE) on saving Specimen Eiditor (list) to NullPointerException (NPE) on saving Specimen Editor (list)
Actions #3

Updated by Andreas Kohlbecker over 3 years ago

  • Copied to bug #8627: NullPointerException (NPE) on saving Specimen Editor (list) added
Actions #4

Updated by Katja Luther over 3 years ago

Is this behaviour reproducable? I could not reproduce it

Actions #5

Updated by Andreas Müller over 3 years ago

AK, can you explain how far this ticket is related to the "copied to" ticket #8627

Actions #6

Updated by Andreas Müller over 3 years ago

  • Related to bug #7699: NPE in CdmTransientEntityCacher.getCacheElement() added
Actions #7

Updated by Andreas Müller over 3 years ago

This is probably the same issue as in #7699 and especially #7699#note-6

Actions #8

Updated by Andreas Kohlbecker over 3 years ago

I remember that it was possible to reproduce this problem on the day when I wrote this ticket. Today, however, the problem could not be reproduced with the editor Version 5.10.

Actions #9

Updated by Andreas Müller over 3 years ago

  • Status changed from New to Feedback
  • Target version changed from Unassigned CDM tickets to Release 5.11

I guess we can close this as Duplicate for #7699 (or as Workforme if you don't think #7699 is correct). Please remove milestone after closing.

Actions #10

Updated by Katja Luther over 3 years ago

  • Status changed from Feedback to Duplicate
  • Target version deleted (Release 5.11)

I could not reproduce the problem, but I still keep #7699, so I close this as duplicate

Actions #11

Updated by Katja Luther over 3 years ago

  • Related to deleted (bug #7699: NPE in CdmTransientEntityCacher.getCacheElement())
Actions #12

Updated by Katja Luther over 3 years ago

  • Is duplicate of bug #7699: NPE in CdmTransientEntityCacher.getCacheElement() added
Actions

Also available in: Atom PDF