ppalaga opened a new issue, #4526:
URL: https://github.com/apache/camel-quarkus/issues/4526

   ```
   2023-02-07T15:24:39.2828755Z [INFO] Running 
org.apache.camel.quarkus.component.salesforce.SalesforceIntegrationTest
   2023-02-07T15:24:39.2932348Z [WARNING] Tests run: 1, Failures: 0, Errors: 0, 
Skipped: 1, Time elapsed: 0.002 s - in 
org.apache.camel.quarkus.component.salesforce.SalesforceIntegrationTest
   2023-02-07T15:24:39.2998273Z [INFO] Running 
org.apache.camel.quarkus.component.salesforce.SalesforceTest
   2023-02-07T15:24:45.3174347Z 2023-02-07 15:24:45,315 INFO  
[org.apa.cam.qua.tes.wir.WireMockTestResourceLifecycleManager] 
(pool-2-thread-1) Starting WireMockServer
   2023-02-07T15:24:45.3646198Z 2023-02-07 15:24:45,364 INFO  
[org.apa.cam.qua.tes.moc.bac.MockBackendUtils] (pool-2-thread-1) Mock backend 
will be used
   2023-02-07T15:24:45.4103399Z 2023-02-07 15:24:45,407 INFO  
[org.apa.cam.qua.tes.AvailablePortFinder] (pool-2-thread-1) 
org.apache.camel.quarkus.test.wiremock.WireMockTestResourceLifecycleManager 
reserved port 46369
   2023-02-07T15:24:46.1017903Z 2023-02-07 15:24:46,100 WARN  
[org.ecl.jet.ser.AbstractConnector] (pool-2-thread-1) Acceptors should be <= 
availableProcessors: NetworkTrafficServerConnector@40197f4c{HTTP/1.1, 
(http/1.1, h2c)}{0.0.0.0:0} 
   2023-02-07T15:24:46.1630965Z 2023-02-07 15:24:46,161 INFO  
[org.ecl.jet.ser.Server] (pool-2-thread-1) jetty-11.0.12; built: 
2022-09-14T02:38:00.723Z; git: d5b8c29485f5f56a14be5f20c2ccce81b93c5555; jvm 
17.0.6+10
   2023-02-07T15:24:46.1904291Z 2023-02-07 15:24:46,188 INFO  
[org.ecl.jet.ser.han.ContextHandler] (pool-2-thread-1) Started 
o.e.j.s.ServletContextHandler@7b9ee0e8{/__admin,null,AVAILABLE}
   2023-02-07T15:24:46.1996693Z 2023-02-07 15:24:46,198 INFO  
[org.ecl.jet.ser.han.Con.ROOT] (pool-2-thread-1) RequestHandlerClass from 
context returned com.github.tomakehurst.wiremock.http.StubRequestHandler. 
Normalized mapped under returned 'null'
   2023-02-07T15:24:46.2003565Z 2023-02-07 15:24:46,199 INFO  
[org.ecl.jet.ser.han.ContextHandler] (pool-2-thread-1) Started 
o.e.j.s.ServletContextHandler@3b5759bf{/,null,AVAILABLE}
   2023-02-07T15:24:46.2131880Z 2023-02-07 15:24:46,212 INFO  
[org.ecl.jet.ser.AbstractConnector] (pool-2-thread-1) Started 
NetworkTrafficServerConnector@40197f4c{HTTP/1.1, (http/1.1, h2c)}{0.0.0.0:46369}
   2023-02-07T15:24:46.2151460Z 2023-02-07 15:24:46,214 INFO  
[org.ecl.jet.ser.Server] (pool-2-thread-1) Started 
Server@379bdd63{STARTING}[11.0.12,sto=1000] @7874ms
   2023-02-07T15:24:46.2156382Z 2023-02-07 15:24:46,214 INFO  
[org.apa.cam.qua.tes.wir.WireMockTestResourceLifecycleManager] 
(pool-2-thread-1) WireMock started on http://localhost:46369
   2023-02-07T15:24:46.2760675Z 2023-02-07 15:24:46,275 WARN  [io.qua.config] 
(main) Unrecognized configuration key "quarkus.https.test-port" was provided; 
it will be ignored; verify that the dependency extension for this configuration 
is set or that you did not make a typo
   2023-02-07T15:24:47.0388342Z 2023-02-07 15:24:47,038 INFO  
[org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: 
org.apache.camel.quarkus.main.CamelMainRuntime
   2023-02-07T15:24:47.0394974Z 2023-02-07 15:24:47,039 INFO  
[org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 4.0.0-M1 is starting
   2023-02-07T15:24:47.1143350Z 2023-02-07 15:24:47,113 INFO  
[org.apa.cam.mai.BaseMainSupport] (main) Auto-configuration summary
   2023-02-07T15:24:47.1145268Z 2023-02-07 15:24:47,114 INFO  
[org.apa.cam.mai.BaseMainSupport] (main)     [MicroProfilePropertiesSource] 
camel.component.salesforce.loginUrl=http://localhost:46369
   2023-02-07T15:24:47.1326734Z 2023-02-07 15:24:47,114 INFO  
[org.apa.cam.mai.BaseMainSupport] (main)     [MicroProfilePropertiesSource] 
camel.component.salesforce.***
   2023-02-07T15:24:47.1331631Z 2023-02-07 15:24:47,114 INFO  
[org.apa.cam.mai.BaseMainSupport] (main)     [MicroProfilePropertiesSource] 
camel.component.salesforce.userName=xxxxxx
   2023-02-07T15:24:47.1332649Z 2023-02-07 15:24:47,115 INFO  
[org.apa.cam.mai.BaseMainSupport] (main)     [MicroProfilePropertiesSource] 
camel.component.salesforce.clientId=xxxxxx
   2023-02-07T15:24:47.1643199Z 2023-02-07 15:24:47,163 INFO  
[org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.0.0-M1 
(camel-1) is starting
   2023-02-07T15:24:47.2642729Z 2023-02-07 15:24:47,261 INFO  
[org.apa.cam.com.sal.int.SalesforceSession] (main) Login at Salesforce 
loginUrl: http://localhost:46369/services/oauth2/token
   2023-02-07T15:24:47.4279426Z 2023-02-07 15:24:47,424 INFO  
[org.apa.cam.com.sal.int.SalesforceSession] (main) Login successful
   2023-02-07T15:24:47.4282381Z 2023-02-07 15:24:47,425 INFO  
[org.apa.cam.com.sal.SalesforceComponent] (main) Found 2 generated classes in 
packages: org.apache.camel.quarkus.component.salesforce.generated
   2023-02-07T15:24:47.4294543Z 2023-02-07 15:24:47,429 INFO  
[org.apa.cam.imp.eng.AbstractCamelContext] (main) Routes startup (started:0)
   2023-02-07T15:24:47.4299200Z 2023-02-07 15:24:47,429 INFO  
[org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 4.0.0-M1 
(camel-1) started in 284ms (build:0ms init:19ms start:265ms)
   2023-02-07T15:24:47.5179965Z 2023-02-07 15:24:47,517 INFO  [io.quarkus] 
(main) camel-quarkus-integration-test-salesforce 3.0.0-SNAPSHOT on JVM (powered 
by Quarkus 3.0.0.Alpha3) started in 4.701s. Listening on: http://localhost:43077
   2023-02-07T15:24:47.5181013Z 2023-02-07 15:24:47,517 INFO  [io.quarkus] 
(main) Profile test activated. 
   2023-02-07T15:24:47.5181929Z 2023-02-07 15:24:47,517 INFO  [io.quarkus] 
(main) Installed features: [camel-core, camel-salesforce, camel-seda, 
camel-timer, cdi, resteasy, resteasy-jsonb, smallrye-context-propagation, vertx]
   2023-02-07T15:24:48.7214730Z 2023-02-07 15:24:48,720 INFO  
[org.ecl.jet.ser.han.Con.__admin] (qtp1433233797-127) RequestHandlerClass from 
context returned com.github.tomakehurst.wiremock.http.AdminRequestHandler. 
Normalized mapped under returned 'null'
   2023-02-07T15:24:48.7374329Z 2023-02-07 15:24:48,736 ERROR [WireMock] 
(qtp1433233797-127) 
   2023-02-07T15:24:48.7374967Z                                                
Request was not matched
   2023-02-07T15:24:48.7375641Z                                                
=======================
   2023-02-07T15:24:48.7375949Z 
   2023-02-07T15:24:48.7376479Z 
-----------------------------------------------------------------------------------------------------------------------
   2023-02-07T15:24:48.7377318Z | Closest stub                                  
           | Request                                                  |
   2023-02-07T15:24:48.7378098Z 
-----------------------------------------------------------------------------------------------------------------------
   2023-02-07T15:24:48.7378870Z                                                 
           |
   2023-02-07T15:24:48.7379212Z salesforce_api_json                             
           |
   2023-02-07T15:24:48.7379481Z                                                 
           |
   2023-02-07T15:24:48.7379727Z POST                                            
           | POST
   2023-02-07T15:24:48.7380083Z /services/async/54.0/job                        
           | /services/async/56.0/job                            <<<<< URL does 
not match
   2023-02-07T15:24:48.7380410Z                                                 
           |
   2023-02-07T15:24:48.7380653Z                                                 
           |
   2023-02-07T15:24:48.7381233Z 
-----------------------------------------------------------------------------------------------------------------------
   2023-02-07T15:24:48.7381497Z 
   2023-02-07T15:24:48.8167825Z 2023-02-07 15:24:48,809 ERROR 
[io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-0) HTTP Request to 
/salesforce/bulk failed, error id: e0b2af5a-e4a4-479c-ab6b-2d377456c877-1: 
org.jboss.resteasy.spi.UnhandledException: 
org.apache.camel.CamelExecutionException: Exception occurred during execution 
on the exchange: Exchange[]
   2023-02-07T15:24:48.8169070Z         at 
org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:110)
   2023-02-07T15:24:48.8169861Z         at 
org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:370)
   2023-02-07T15:24:48.8170632Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
   2023-02-07T15:24:48.8171376Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
   2023-02-07T15:24:48.8172331Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
   2023-02-07T15:24:48.8176803Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
   2023-02-07T15:24:48.8177640Z         at 
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   2023-02-07T15:24:48.8178477Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
   2023-02-07T15:24:48.8179101Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
   2023-02-07T15:24:48.8179752Z         at 
io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:82)
   2023-02-07T15:24:48.8180420Z         at 
io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:147)
   2023-02-07T15:24:48.8181051Z         at 
io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
   2023-02-07T15:24:48.8181656Z         at 
io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576)
   2023-02-07T15:24:48.8182222Z         at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
   2023-02-07T15:24:48.8182779Z         at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
   2023-02-07T15:24:48.8183315Z         at 
org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
   2023-02-07T15:24:48.8183870Z         at 
org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
   2023-02-07T15:24:48.8184531Z         at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
   2023-02-07T15:24:48.8185038Z         at 
java.base/java.lang.Thread.run(Thread.java:833)
   2023-02-07T15:24:48.8185532Z Caused by: 
org.apache.camel.CamelExecutionException: Exception occurred during execution 
on the exchange: Exchange[]
   2023-02-07T15:24:48.8186389Z         at 
org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45)
   2023-02-07T15:24:48.8187027Z         at 
org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:660)
   2023-02-07T15:24:48.8187698Z         at 
org.apache.camel.impl.engine.DefaultFluentProducerTemplate.request(DefaultFluentProducerTemplate.java:394)
   2023-02-07T15:24:48.8188430Z         at 
org.apache.camel.quarkus.component.salesforce.SalesforceResource.createJob(SalesforceResource.java:150)
   2023-02-07T15:24:48.8189084Z         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2023-02-07T15:24:48.8189679Z         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   2023-02-07T15:24:48.8190341Z         at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2023-02-07T15:24:48.8190901Z         at 
java.base/java.lang.reflect.Method.invoke(Method.java:568)
   2023-02-07T15:24:48.8191387Z         at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
   2023-02-07T15:24:48.8191949Z         at 
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
   2023-02-07T15:24:48.8192555Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:660)
   2023-02-07T15:24:48.8193264Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:524)
   2023-02-07T15:24:48.8193944Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:474)
   2023-02-07T15:24:48.8194689Z         at 
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   2023-02-07T15:24:48.8195561Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:476)
   2023-02-07T15:24:48.8196137Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:434)
   2023-02-07T15:24:48.8196723Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:408)
   2023-02-07T15:24:48.8197380Z         at 
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
   2023-02-07T15:24:48.8203775Z         at 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
   2023-02-07T15:24:48.8205709Z         ... 15 more
   2023-02-07T15:24:48.8206289Z Caused by: 
org.apache.camel.component.salesforce.api.SalesforceException: Error 
unmarshaling response {POST:http://localhost:46369/services/async/56.0/job} : 
null
   2023-02-07T15:24:48.8207213Z         at 
org.apache.camel.component.salesforce.internal.client.DefaultBulkApiClient.unmarshalResponse(DefaultBulkApiClient.java:457)
   2023-02-07T15:24:48.8208092Z         at 
org.apache.camel.component.salesforce.internal.client.DefaultBulkApiClient$1.onResponse(DefaultBulkApiClient.java:104)
   2023-02-07T15:24:48.8208939Z         at 
org.apache.camel.component.salesforce.internal.client.AbstractClientBase$1.lambda$onComplete$4(AbstractClientBase.java:249)
   2023-02-07T15:24:48.8209601Z         at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
   2023-02-07T15:24:48.8210230Z         at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   2023-02-07T15:24:48.8210700Z         ... 1 more
   2023-02-07T15:24:48.8235409Z Caused by: jakarta.xml.bind.UnmarshalException
   2023-02-07T15:24:48.8235988Z  - with linked exception:
   2023-02-07T15:24:48.8239268Z [org.xml.sax.SAXParseException; lineNumber: 2; 
columnNumber: 48; Content is not allowed in prolog.]
   2023-02-07T15:24:48.8242673Z         at 
jakarta.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:290)
   2023-02-07T15:24:48.8243446Z         at 
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:539)
   2023-02-07T15:24:48.8248773Z         at 
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:224)
   2023-02-07T15:24:48.8249629Z         at 
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:196)
   2023-02-07T15:24:48.8253404Z         at 
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:248)
   2023-02-07T15:24:48.8254220Z         at 
org.apache.camel.component.salesforce.internal.client.DefaultBulkApiClient.unmarshalResponse(DefaultBulkApiClient.java:453)
   2023-02-07T15:24:48.8254790Z         ... 5 more
   2023-02-07T15:24:48.8258110Z Caused by: org.xml.sax.SAXParseException; 
lineNumber: 2; columnNumber: 48; Content is not allowed in prolog.
   2023-02-07T15:24:48.8263989Z         at 
java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
   2023-02-07T15:24:48.8269140Z         at 
java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:178)
   2023-02-07T15:24:48.8275477Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
   2023-02-07T15:24:48.8281208Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
   2023-02-07T15:24:48.8281956Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
   2023-02-07T15:24:48.8285078Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:978)
   2023-02-07T15:24:48.8294349Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
   2023-02-07T15:24:48.8295135Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
   2023-02-07T15:24:48.8300757Z         at 
java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
   2023-02-07T15:24:48.8301520Z         at 
java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
   2023-02-07T15:24:48.8304325Z         at 
java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
   2023-02-07T15:24:48.8308613Z         at 
java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
   2023-02-07T15:24:48.8310733Z         at 
java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
   2023-02-07T15:24:48.8313061Z         at 
java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:637)
   2023-02-07T15:24:48.8314859Z         at 
org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:218)
   2023-02-07T15:24:48.8318649Z         ... 8 more
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to