Loader Error 1.8.1[Solved]
Submitted by Ben_Charlton on Tue, 29/03/2016 - 03:22
Hit an odd error using the Kettle Loader:
Failed to validate Description of Patient (Pet): Failed to get value
obviously I am not setting it as it is a derived value usually...
Loader looks like below.
Field name Map to Exclude null Value Remove default objects Name <party.patientpet>name N Y Species <party.patientpet>species N Y Breed <party.patientpet>breed N Y DOB <party.patientpet>dateOfBirth N Y Desex <party.patientpet>desexed N Y DOB <party.patientpet>createdDate Y Y Date Of Death <party.patientpet>deceasedDate Y Y Deceased <party.patientpet>deceased Y Y active <party.patientpet>active Y Y Colour <party.patientpet>colour Y Y Sex <party.patientpet>sex N Y Tag <party.patientpet>identities[0]<entityIdentity.alias>alias Y Y Microchip <party.patientpet>identities[1]<entityIdentity.microchip>microchip Y Y
Using 1.8.1 release to do this
Re: Loader Error 1.8.1
Disabling the derived value corrects the error and allows a load to occur...you can reenable it afterward and it updates
Re: Loader Error 1.8.1
Are there any errors logged?
You can get more information by:
Re: Loader Error 1.8.1
Using loader 1.8.1
Re: Loader Error 1.8.1
Do you have multiple versions of the openvpms-framework jar in the plugins/steps/OpenVPMSLoader/ directory?
Re: Loader Error 1.8.1
No...I did check that
Re: Loader Error 1.8.1
Check for any openvpms-framework jars in any directory in the kettle tree. There should only be the one in the plugins/steps/OpenVPMSLoader/ directory.
> cd <PDI HOME>
> find . -name 'openvpms-framework*'
Re: Loader Error 1.8.1
Solved this one ...you were right I found 1.5 jars in a random directory that was getting dragged into the classpath..
Re: Loader Error 1.8.1
Solved this one ...you were right I found 1.5 jars in a random directory that was getting dragged into the classpath..