org.apache.camel.RuntimeCamelException

java.lang.IllegalArgumentException: Credentials may not be null

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19

Stack trace

  • org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: Credentials may not be null at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1642)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.component.jms.EndpointMessageListener$EndpointMessageListenerAsyncCallback.done(EndpointMessageListener.java:195)[65:org.apache.camel.camel-jms:2.16.2] at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:116)[65:org.apache.camel.camel-jms:2.16.2] at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:544)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:504)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:474)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)[91:org.apache.servicemix.bundles.spring-jms:3.2.14.RELEASE_1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_71] at java.lang.Thread.run(Thread.java:745)[:1.8.0_71] Caused by: java.lang.IllegalArgumentException: Credentials may not be null at org.apache.http.util.Args.notNull(Args.java:54)[78:org.apache.httpcomponents.httpcore:4.4.4] at org.apache.http.auth.AuthState.update(AuthState.java:113)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.fcrepo.client.FcrepoHttpClientBuilder$PreemptiveAuthInterceptor.process(FcrepoHttpClientBuilder.java:117)[97:org.fcrepo.client.fcrepo-java-client:0.1.2] at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:132)[78:org.apache.httpcomponents.httpcore:4.4.4] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:182)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)[77:org.apache.httpcomponents.httpclient:4.5.1] at org.fcrepo.client.FcrepoClient.executeRequest(FcrepoClient.java:268)[97:org.fcrepo.client.fcrepo-java-client:0.1.2] at org.fcrepo.client.FcrepoClient.head(FcrepoClient.java:96)[97:org.fcrepo.client.fcrepo-java-client:0.1.2] at org.fcrepo.camel.FcrepoProducer.getMetadataUri(FcrepoProducer.java:158)[95:org.fcrepo.camel.fcrepo-camel:4.4.1] at org.fcrepo.camel.FcrepoProducer.doRequest(FcrepoProducer.java:141)[95:org.fcrepo.camel.fcrepo-camel:4.4.1] at org.fcrepo.camel.FcrepoProducer.process(FcrepoProducer.java:99)[95:org.fcrepo.camel.fcrepo-camel:4.4.1] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.FilterProcessor.process(FilterProcessor.java:57)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:121)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87)[62:org.apache.camel.camel-core:2.16.2] at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:112)[65:org.apache.camel.camel-jms:2.16.2] ... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,