Closed jordanpadams closed 4 years ago
@richardchenca I can't seem to find this data? can you make sure this is on pds-gamma?
a16.zip Sorry, I saw that file in my directory, didn't remember what it was for, and deleted it. Attached here is a reduced directory that still gives the weird warnings. I've encountered it many times since.
Last login: Wed Aug 21 13:21:53 on ttys000 /Users/rchen> cd Desktop/ /Users/rchen/Desktop> validate -f -t a16 PDS Validate Tool Report
Configuration: Version 1.15.0 Date 2019-08-21T20:28:51Z
Parameters: Targets [file:/Users/rchen/Desktop/a16/] Severity Level WARNING Recurse Directories true File Filters Used [.xml, .XML] Force Mode on Data Content Validation on Max Errors 100000 Registered Contexts File /PDS4tools/validate/resources/registered_context_products.json
Product Level Validation Results
PASS: file:/Users/rchen/Desktop/a16/a16_psr_ch11_lsm.xml WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/PDS4.9b.tools/validate-1.15.0/lib/jaxb-impl-2.2.4.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
PASS: file:/Users/rchen/Desktop/a16/collection.xml
Summary:
0 error(s) 0 warning(s)
End of Report
/Users/rchen/Desktop>
/Users/rchen/Desktop>
/Users/rchen/Desktop>
/Users/rchen/Desktop>
/Users/rchen/Desktop>
/Users/rchen/Desktop> validate -f -t a16/a1
a16_psr_ch11_lsm.pdf a16_psr_ch11_lsm.xml
/Users/rchen/Desktop> validate -f -t a16/a16_psr_ch11_lsm.xml
PDS Validate Tool Report
Configuration: Version 1.15.0 Date 2019-08-21T20:29:06Z
Parameters: Targets [file:/Users/rchen/Desktop/a16/a16_psr_ch11_lsm.xml] Severity Level WARNING Recurse Directories true File Filters Used [.xml, .XML] Force Mode on Data Content Validation on Max Errors 100000 Registered Contexts File /PDS4tools/validate/resources/registered_context_products.json
Product Level Validation Results
PASS: file:/Users/rchen/Desktop/a16/a16_psr_ch11_lsm.xml
Summary:
0 error(s) 0 warning(s)
End of Report /Users/rchen/Desktop> /Users/rchen/Desktop> /Users/rchen/Desktop> /Users/rchen/Desktop> /Users/rchen/Desktop> /Users/rchen/Desktop> /Users/rchen/Desktop> validate --version
Validate Tool Version 1.15.0 Release Date: 2019-04-01 07:56:51 Core Schema: PDS4_PDS_1C00.xsd Core Schematron: PDS4_PDS_1C00.sch
Copyright 2010-2018, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged. Any commercial use must be negotiated with the Office of Technology Transfer at the California Institute of Technology.
This software is subject to U. S. export control laws and regulations (22 C.F.R. 120-130 and 15 C.F.R. 730-774). To the extent that the software is subject to U.S. export control laws and regulations, the recipient has the responsibility to obtain export licenses or other export authority as may be required before exporting such information to foreign countries or providing access to foreign nationals.
/Users/rchen/Desktop>
We have noticed similar errors on our side and I believe @fran-vallejo suspected the jaxb library. @richardchenca are you using java >8?
Hi, Mark, % java --version java 12.0.1 2019-04-16 Java(TM) SE Runtime Environment (build 12.0.1+12) Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)
Did another ticket clean this up? I don't see one linked, but here's a current validate on my machine on the .zip attached earlier. It'd be nice not to have that extraneous message, but it's not so disconcerting. % validate -t Desktop/a16 PDS Validate Tool Report
Configuration: Version 1.17.4 Date 2019-10-25T14:51:49Z
Parameters: Targets [file:/Users/rchen/Desktop/a16/] Severity Level WARNING Recurse Directories true File Filters Used [.xml, .XML] Data Content Validation on Product Level Validation on Max Errors 100000 Registered Contexts File /PDS4tools/validate/resources/registered_context_products.json
Product Level Validation Results
PASS: file:/Users/rchen/Desktop/a16/a16_psr_ch11_lsm.xml
Oct 25, 2019 7:51:53 AM com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector
PASS: file:/Users/rchen/Desktop/a16/collection.xml
Validation complete.
Summary:
0 error(s) 0 warning(s)
End of Report
@rchenatjpl I think there was a ticket out there that fixed this regarding "JAXB error". Unfortunately, this is the best I've got at the moment. I can't figure out how to ignore the third party library messages but I will see what I can do.
@msbentley, those warnings were an issue with the jaxb fixed in version 2.3.1 as described at https://github.com/eclipse-ee4j/jaxb-ri/issues/1197
I have tried to build a pds4-jparser with an updated jaxb-impl dependency in its pom (from 2.2.4 to 2.3.1) to check if that fixed the problem, but it caused a couple follow-up problems:
@fran-vallejo thanks for the shot. that was the concern i had with trying to upgrade right at the build boundary. we will look into this more deeply next build.
@msbentley @fran-vallejo @rchenatjpl I just merged a temporary fix for this to suppress the INFO messages in Validate and a point build is being deployed as we speak. there is probably a better way to do this programmatically in PDS4 JParser, but I'm already spent a ton of time on this :-)