Skip to content

Validation error on simple jsonpath on install #717

Description

@Hooghof

On these simple expressions in a setheaders a validation error arises on install:

${empty(String)}${jsonpath($.GeneralJournalEntryLines.[].GLAccountCode)}
result=${jsonpath($.GeneralJournalEntryLines.[
].Description)}

Validation error after install: Cannot invoke "org.apache.camel.TypeConverter.convertTo(java.lang.Class, Object)" because the return value of "org.apache.camel.CamelContext.getTypeConverter()" is null
Cannot invoke "org.apache.camel.TypeConverter.convertTo(java.lang.Class, Object)" because the return value of "org.apache.camel.CamelContext.getTypeConverter()" is null

Camel 4.10.9 allows this simple expression.
Question: is it not allowed in Camel 4.22 anymore?

Test cases
Instance: next and development
Tenant: Regression Tests
Flow: SimplEmptyStringJsonpath

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

on holdquestionFurther information is requested

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions