atlasmap-attic / atlasmap-runtime

AtlasMap runtime engine and design time services
http://atlasmap.io
Other
3 stars 8 forks source link

Can not combine fields #241

Closed rhuss closed 6 years ago

rhuss commented 6 years ago
09:40:51.949 [HttpClient@871550938-27] ERROR o.a.c.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-sfdb-4-3f61z-1508924344117-0-2 on ExchangeId: ID-sfdb-4-3f61z-1508924344117-0-1). Exhausted after delivery attempt: 1 caught: io.atlasmap.api.AtlasException: Combine requires positive Index value to be set on all inputFields inputField.path=/FirstName

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[flow1             ] [flow1             ] [salesforce-on-create-component://syndesis_Lead_create?notifyForFields=ALL&noti] [      1176]
[flow1             ] [to1               ] [atlas:mapping-step-2.json                                                     ] [      1173]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
io.atlasmap.api.AtlasException: Combine requires positive Index value to be set on all inputFields inputField.path=/FirstName
    at org.apache.camel.component.atlasmap.AtlasEndpoint.onExchange(AtlasEndpoint.java:221)
    at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71)
    at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
    at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
    at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:43)
    at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:157)

Maybe related to #240 ? This is however more urgent as it is described in the TP2 tutorial ..

rhuss commented 6 years ago

When I try to change from 1,2 to 0,1 I get the following error message:

image

At least the error message is misleading.

rhuss commented 6 years ago

Also strange: The red cross on the right side jumps around randomly when dismissing the error message (but that's probably another issue in the UI)

image

This error also make no sense (its on the next line for the email which has no combine mapping):

image

igarashitm commented 6 years ago