Project

General

Profile

bug #9174

After longer inactivity NPE for cache

Added by Katja Luther 6 days ago.

Status:
New
Priority:
New
Assignee:
Category:
taxeditor
Target version:
Start date:
07/30/2020
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

mail WB:

Hallo,
der Editor funktioniert ja nach dem temporären fast-Ausfall wieder gut, aber eine Sache ist mir aufgefallen: 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.
HG
W

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)