Project

General

Profile

Actions

bug #9174

closed

After longer inactivity NPE for cache

Added by Katja Luther over 2 years ago. Updated 2 months ago.

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

0%

Estimated time:
Severity:
normal
Found in Version:

Description

WGB:

... Wenn ich längere Zeit keinen Neustart des Editors gemacht habe (z.B. meinen Rechner über Nacht nur in Hybernate geschickt habe), tritt beim Bulk Editor gleich bei der Suche folgender Fehler auf.
Schon ein Reconnect behebt das Problem.

last remote method : http://api.cybertaxonomy.org:80/caryophyllales_spp/remoting/reference.service
last remote request client time : 2020-07-18T11:23:00.123
last remote request response header time : Sat, 18 Jul 2020 11:22:59 GMT
client error time : 2020-07-18T11:23:00.239
login : w.berendsohn
editor version : 5.16.0
server : api.cybertaxonomy.org (cybertaxonomy.org) / caryophyllales_spp
schema version : 5.15.2.0.20200611
os : Windows 10 10.0 amd64
java : 1.8.0_251
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://api.cybertaxonomy.org:80/caryophyllales_spp/remoting/reference.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.$Proxy49.findByTitleAndAbbrevTitle(Unknown Source)
                at eu.etaxonomy.taxeditor.store.SearchManager.findReferences(SearchManager.java:97)
                at eu.etaxonomy.taxeditor.bulkeditor.input.ReferenceEditorInput.listEntities(ReferenceEditorInput.java:171)
                at eu.etaxonomy.taxeditor.bulkeditor.input.AbstractBulkEditorInput.lambda$0(AbstractBulkEditorInput.java:291)
                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:266)
                at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.getFromCache(CdmTransientEntityCacher.java:270)
                at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.putToCache(CdmTransientEntityCacher.java:234)
                at eu.etaxonomy.cdm.cache.CacheLoader.putToCache(CacheLoader.java:294)
                at eu.etaxonomy.cdm.cache.CacheLoader.loadRecursive(CacheLoader.java:321)
                at eu.etaxonomy.cdm.cache.CacheLoader.loadRecursiveAny(CacheLoader.java:83)
                at eu.etaxonomy.cdm.cache.CacheLoader.loadRecursiveCollection(CacheLoader.java:190)
                at eu.etaxonomy.cdm.cache.CacheLoader.load(CacheLoader.java:157)
                at eu.etaxonomy.cdm.cache.CacheLoader.load(CacheLoader.java:66)
                at eu.etaxonomy.cdm.cache.CdmTransientEntityCacher.load(CdmTransientEntityCacher.java:165)
                at eu.etaxonomy.taxeditor.session.CdmEntitySession.load(CdmEntitySession.java:65)
                at eu.etaxonomy.taxeditor.session.CdmEntitySessionManager.load(CdmEntitySessionManager.java:119)
                at org.springframework.remoting.httpinvoker.CachingHttpInvokerProxyFactoryBean.handleGeneralRequest(CachingHttpInvokerProxyFactoryBean.java:100)
                at org.springframework.remoting.httpinvoker.CachingHttpInvokerProxyFactoryBean.executeRequest(CachingHttpInvokerProxyFactoryBean.java:81)
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144)
                ... 8 more

Related issues

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

Actions
Actions #1

Updated by Andreas Müller over 2 years ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller over 2 years ago

This is maybe the same as #7699

Actions #3

Updated by Andreas Müller over 2 years ago

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

Updated by Andreas Müller about 2 years ago

Andreas Müller wrote:

This is maybe the same as #7699

??

Actions #5

Updated by Andreas Müller 3 months ago

  • Target version changed from Unassigned CDM tickets to Release 5.35
Actions #6

Updated by Andreas Müller 2 months ago

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

Updated by Andreas Müller 2 months ago

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

Updated by Andreas Müller 2 months ago

  • Status changed from New to Duplicate
  • Target version deleted (Release 5.35)

This seems to be a duplicate for #7699

Actions

Also available in: Atom PDF