Issue 15642

DwcaMetasyncService exception thrown - possibly the EML <language> element value

15642
Reporter: jlegind
Type: Bug
Summary: DwcaMetasyncService exception thrown - possibly the EML <language> element value
Priority: Major
Status: Open
Created: 2014-05-23 14:28:51.749
Updated: 2016-02-15 13:45:39.03
        
Description: The new Brazilian publisher LEEP released a spreadsheet processor DwC-a that fails indexing due to this error:
{quote}
javax.validation.ValidationException: com.sun.jersey.api.client.UniformInterfaceException: HTTP 422: 
    at org.gbif.ws.client.interceptor.HttpErrorResponseInterceptor.invoke(HttpErrorResponseInterceptor.java:74) ~[crawler-cli.jar:na]
    at org.gbif.crawler.dwca.metasync.DwcaMetasyncService$DwcaValidationFinishedMessageCallback.setMetaDocument(DwcaMetasyncService.java:197) [crawler-cli.jar:na]
    at org.gbif.crawler.dwca.metasync.DwcaMetasyncService$DwcaValidationFinishedMessageCallback.handleMessageInternal(DwcaMetasyncService.java:124) [crawler-cli.jar:na]
    at org.gbif.crawler.dwca.metasync.DwcaMetasyncService$DwcaValidationFinishedMessageCallback.handleMessage(DwcaMetasyncService.java:98) [crawler-cli.jar:na]
    at org.gbif.crawler.dwca.metasync.DwcaMetasyncService$DwcaValidationFinishedMessageCallback.handleMessage(DwcaMetasyncService.java:68) [crawler-cli.jar:na]
    at org.gbif.common.messaging.MessageConsumer.handleCallback(MessageConsumer.java:101) ~[crawler-cli.jar:na]
    at org.gbif.common.messaging.MessageConsumer.handleDelivery(MessageConsumer.java:65) ~[crawler-cli.jar:na]
    at com.rabbitmq.client.impl.ConsumerDispatcher$4.run(ConsumerDispatcher.java:121) ~[crawler-cli.jar:na]
    at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:76) ~[crawler-cli.jar:na]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_25]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_25]
    at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
{quote}

The error occurs after the validation step finishes.

Dataset endpoint: http://tools.gbif.org/spreadsheet-processor/pickup/537cddb37201e/537cddb37201e.zip ]]>
    


Author: omeyn@gbif.org
Comment: Maybe fixed already with other eml validation fixes from the last few weeks. Re-verify.
Created: 2015-03-02 15:41:41.529
Updated: 2015-03-02 15:41:41.529