Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2670

ClassNotFoundException at runtime when using provided transformation by the editor

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.1.0
    • Fix Version/s: None
    • Component/s: Data Transformation
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      • create CBR project
      • add a data transformation
        • use xml transformation based order1.xml instance for source and target
      • create transfo for name to name
      • "add transformation" append
      • start route
      • DnD order1.xml to file endpoint
        --> ClassnOtFoundException
      Show
      create CBR project add a data transformation use xml transformation based order1.xml instance for source and target create transfo for name to name "add transformation" append start route DnD order1.xml to file endpoint --> ClassnOtFoundException

      Description

      Message History
      ---------------------------------------------------------------------------------------------------------------------------------------
      RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
      [cbr-route         ] [cbr-route         ] [file://work/cbr/input                                                         ] [         2]
      [cbr-route         ] [_log1             ] [log                                                                           ] [         0]
      [cbr-route         ] [_to4              ] [ref:ggg                                                                       ] [         2]
      
      Stacktrace
      ---------------------------------------------------------------------------------------------------------------------------------------
      java.lang.RuntimeException: Failed to load custom function
      	at org.apache.camel.component.dozer.CustomMapper.mapCustom(CustomMapper.java:122)
      	at org.apache.camel.component.dozer.CustomMapper.convert(CustomMapper.java:46)
      	at org.dozer.MappingProcessor.mapUsingCustomConverterInstance(MappingProcessor.java:1025)
      	at org.dozer.MappingProcessor.mapFromFieldMap(MappingProcessor.java:400)
      	at org.dozer.MappingProcessor.mapField(MappingProcessor.java:352)
      	at org.dozer.MappingProcessor.map(MappingProcessor.java:312)
      	at org.dozer.MappingProcessor.mapToDestObject(MappingProcessor.java:261)
      	at org.dozer.MappingProcessor.createByCreationDirectiveAndMap(MappingProcessor.java:235)
      	at org.dozer.MappingProcessor.mapGeneral(MappingProcessor.java:209)
      	at org.dozer.MappingProcessor.map(MappingProcessor.java:143)
      	at org.dozer.MappingProcessor.map(MappingProcessor.java:138)
      	at org.dozer.DozerBeanMapper.map(DozerBeanMapper.java:214)
      	at org.apache.camel.component.dozer.DozerProducer.process(DozerProducer.java:82)
      	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.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452)
      	at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219)
      	at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183)
      	at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
      	at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ClassNotFoundException: org.jboss.tools.fuse.transformation.editor.transformations.StringFunctions
      	at org.apache.camel.impl.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:80)
      	at org.apache.camel.component.dozer.CustomMapper.mapCustom(CustomMapper.java:110)
      	... 31 more
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aurelien.pupier Aurélien Pupier
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: