Bug #12212
closed
Error when trying to change status of a GRSF record
Added by Francesco Mangiacrapa almost 7 years ago.
Updated almost 7 years ago.
Description
@aureliano.gentile@fao.org just started some tests and he found an error in the management panel when tried to change the status of a record from approved to pending. The record is http://data.d4science.org/ctlg/GRSF_Admin/34b80228-8fb8-3c70-9d0e-25a3dd3f8bd3
Checking the logs I found an error (it occurs when parsing the response returned by grsf-services-updater). See the attached file for details.
[PORTAL] 144195669 [http-bio-9090-exec-132] ERROR org.gcube.datacatalogue.grsf_manage_widget.server.manage.GRSFUpdaterServiceClient - Failed to parse response from knowledge base
org.json.simple.parser.ParseException: null
Please, could you check if the grsf-services-updater working fine?
Files
- Status changed from New to In Progress
Hi Fransesco,
Yes I'll check it out.
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
The issue occurred because the client could not retrieve the URL of the GRSFPublisher service for GRSF-Admin VRE.
More specifically, I noticed the following trace in the logs
javax.xml.ws.WebServiceException: java.lang.RuntimeException: cannot configure outgoing message] with root cause
java.lang.UnsupportedOperationException: Entity References are not allowed in SOAP documents
at com.sun.xml.internal.messaging.saaj.soap.SOAPDocumentImpl.createEntityReference(SOAPDocumentImpl.java:148)
at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.createEntityReference(SOAPPartImpl.java:437)
at com.sun.xml.internal.ws.api.message.saaj.SaajStaxWriter.writeEntityRef(SaajStaxWriter.java:245)
I found that it is a known JDK issue (https://bugs.openjdk.java.net/browse/JDK-8196491). After upgrading to JDK 1.8.0_181 the issue has been resolved.
- Status changed from Feedback to Closed
Dear Aureliano,
from your feedback the issue related to change status of a GRSF record seems fixed.
We can close the current ticket and move your comments on "archive" status and so on to another enhancement ticket for GRSF Management panel. I just created it at #12237
- Project changed from 8 to StocksAndFisheriesKB
- Target version deleted (
WP09)
- Tracker changed from Task to Bug
Also available in: Atom
PDF