Project

General

Profile

Actions

Incident #25200

closed

Several facilities are no longer working on OpenPortal

Added by Leonardo Candela over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Start date:
May 30, 2023
Due date:
% Done:

100%

Estimated time:
Infrastructure:
VREName:

Description

I just realized that several facilities are no longer working:


Files


Add

Subtasks


Add

Related issues

Updated by Leonardo Candela over 1 year ago

Project information from OpenAIRE are not complete

Updated by Leonardo Candela over 1 year ago

It seems that also ISPC instance is affected, e.g.

https://openportal.ispc.cnr.it/browse/projects

Actions #3

Updated by Anonymous over 1 year ago

  • Status changed from New to In Progress

Updated by Michele Artini over 1 year ago

Probably the changes to the model (ORCID) has introduced a bug.

I see that for each record, compares the following error message:

Problem parsing a mdstore record: java.lang.ArrayIndexOutOfBoundsException

Updated by Michele Artini over 1 year ago

  • % Done changed from 0 to 70

I reindexed all the instances correctly without performing any important update to the code (I added only some log).

I suppose that the problem was caused by a wrong management of the scheduled workflows (INO and ISTI were scheduled at the same time),
probably some component is not thread safe.

I will investigate.

I temporarily fixed the problem rescheduling the aggregation wfs.

Updated by Michele Artini over 1 year ago

I finally found the not thread safe component:

java.lang.ArrayIndexOutOfBoundsException: -1
    at com.sun.xml.bind.v2.util.CollisionCheckStack.pushNocheck(CollisionCheckStack.java:132)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:487)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
    at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:116)
    at eu.dnetlib.data.mdstore.plugins.objects.MdRecordConvertUtils.toString(MdRecordConvertUtils.java:25)
    at eu.dnetlib.data.mdstore.plugins.MdRecordPlugin.process(MdRecordPlugin.java:50)
    at eu.dnetlib.data.mdstore.plugins.AbstractIstiMDStorePlugin.run(AbstractIstiMDStorePlugin.java:51)
    at eu.dnetlib.data.mdstore.modular.action.PluginAction.executeAsync(PluginAction.java:71)
    at eu.dnetlib.data.mdstore.modular.action.AbstractMDStoreAction$1.run(AbstractMDStoreAction.java:66)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

I was using some static methods to serialise and deserialise the records and they internally were using a single instance of JAXB marshaller and unmarshaller, now the problem should be fixed.

Actions #7

Updated by Michele Artini over 1 year ago

  • Status changed from In Progress to Resolved
Actions #8

Updated by Michele Artini over 1 year ago

  • % Done changed from 70 to 100
Actions #9

Updated by Leonardo Candela over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF