Error in camel-endpointdsl

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in camel-endpointdsl

Claus Ibsen-2
Hi

I get test error and it seems related to elastichsearch or lucene or
something was upgraded. As there is NoClassDefFound exception now.

[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
elapsed: 0.019 s <<< FAILURE! - in
org.apache.camel.builder.endpoint.QuartzTest
[ERROR] org.apache.camel.builder.endpoint.QuartzTest.testQuartz  Time
elapsed: 0.016 s  <<< ERROR!
java.lang.NoClassDefFoundError: org/apache/lucene/util/Accountable
at org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.registerConverters(ElasticsearchActionRequestConverterLoader.java:30)
at org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.load(ElasticsearchActionRequestConverterLoader.java:24)

--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Reply | Threaded
Open this post in threaded view
|

Re: Error in camel-endpointdsl

Andrea Cosentino-3
I'll have a look tomorrow

Il mer 9 set 2020, 20:37 Claus Ibsen <[hidden email]> ha scritto:

> Hi
>
> I get test error and it seems related to elastichsearch or lucene or
> something was upgraded. As there is NoClassDefFound exception now.
>
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
> elapsed: 0.019 s <<< FAILURE! - in
> org.apache.camel.builder.endpoint.QuartzTest
> [ERROR] org.apache.camel.builder.endpoint.QuartzTest.testQuartz  Time
> elapsed: 0.016 s  <<< ERROR!
> java.lang.NoClassDefFoundError: org/apache/lucene/util/Accountable
> at
> org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.registerConverters(ElasticsearchActionRequestConverterLoader.java:30)
> at
> org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.load(ElasticsearchActionRequestConverterLoader.java:24)
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>
Reply | Threaded
Open this post in threaded view
|

Re: Error in camel-endpointdsl

Andrea Cosentino-3
It's elasticsearch anyway

Il mer 9 set 2020, 20:42 Andrea Cosentino <[hidden email]> ha scritto:

> I'll have a look tomorrow
>
> Il mer 9 set 2020, 20:37 Claus Ibsen <[hidden email]> ha scritto:
>
>> Hi
>>
>> I get test error and it seems related to elastichsearch or lucene or
>> something was upgraded. As there is NoClassDefFound exception now.
>>
>> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
>> elapsed: 0.019 s <<< FAILURE! - in
>> org.apache.camel.builder.endpoint.QuartzTest
>> [ERROR] org.apache.camel.builder.endpoint.QuartzTest.testQuartz  Time
>> elapsed: 0.016 s  <<< ERROR!
>> java.lang.NoClassDefFoundError: org/apache/lucene/util/Accountable
>> at
>> org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.registerConverters(ElasticsearchActionRequestConverterLoader.java:30)
>> at
>> org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.load(ElasticsearchActionRequestConverterLoader.java:24)
>>
>> --
>> Claus Ibsen
>> -----------------
>> http://davsclaus.com @davsclaus
>> Camel in Action 2: https://www.manning.com/ibsen2
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error in camel-endpointdsl

Andrea Cosentino-3
I reverted the related commit.

I don't know what is happening, but the Lucene version used by
Elasticsearch is the same used by Camel. So there should be some weird
situation with transitive deps.

I'll have a look.

Il giorno mer 9 set 2020 alle ore 20:45 Andrea Cosentino <[hidden email]>
ha scritto:

> It's elasticsearch anyway
>
> Il mer 9 set 2020, 20:42 Andrea Cosentino <[hidden email]> ha scritto:
>
>> I'll have a look tomorrow
>>
>> Il mer 9 set 2020, 20:37 Claus Ibsen <[hidden email]> ha scritto:
>>
>>> Hi
>>>
>>> I get test error and it seems related to elastichsearch or lucene or
>>> something was upgraded. As there is NoClassDefFound exception now.
>>>
>>> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
>>> elapsed: 0.019 s <<< FAILURE! - in
>>> org.apache.camel.builder.endpoint.QuartzTest
>>> [ERROR] org.apache.camel.builder.endpoint.QuartzTest.testQuartz  Time
>>> elapsed: 0.016 s  <<< ERROR!
>>> java.lang.NoClassDefFoundError: org/apache/lucene/util/Accountable
>>> at
>>> org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.registerConverters(ElasticsearchActionRequestConverterLoader.java:30)
>>> at
>>> org.apache.camel.component.elasticsearch.converter.ElasticsearchActionRequestConverterLoader.load(ElasticsearchActionRequestConverterLoader.java:24)
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> http://davsclaus.com @davsclaus
>>> Camel in Action 2: https://www.manning.com/ibsen2
>>>
>>