camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Fwd: solr 5.5.0 indexing
Date Sun, 20 Mar 2016 16:36:47 GMT
Hello all,

I have posted this to the dev list, by mistake.

Thank you.


---------- Forwarded message ----------
From: Mansour Al Akeel <mansour.alakeel@gmail.com>
Date: Sat, Mar 19, 2016 at 11:22 PM
Subject: solr 5.5.0 indexing
To: dev@camel.apache.org


Hello all,

I am trying to send some files to remote solr instance. I am using
camel  2.17-SNAPSHOT in order to communicate with solr 5.X

I am getting this error with JDK 1.8 and 1.7 the same error:



[                          main] DefaultComponentResolver       DEBUG
Found component: solr via type:
org.apache.camel.component.solr.SolrComponent via:
META-INF/services/org/apache/camel/component/solr
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    org/apache/camel/component/solr/SolrComponent.shutdownServers(Lorg/apache/camel/component/solr/SolrComponent$SolrServerReference;Z)V
@5: invokespecial
  Reason:
    Type 'org/apache/solr/client/solrj/impl/HttpSolrServer' (current
frame, stack[1]) is not assignable to
'org/apache/solr/client/solrj/SolrServer'
  Current Frame:
    bci: @5
    flags: { }
    locals: { 'org/apache/camel/component/solr/SolrComponent',
'org/apache/camel/component/solr/SolrComponent$SolrServerReference',
integer }
    stack: { 'org/apache/camel/component/solr/SolrComponent',
'org/apache/solr/client/solrj/impl/HttpSolrServer' }
  Bytecode:
    0x0000000: 2a2b b600 16b7 0017 a700 0f4e b200 1212
    0x0000010: 192d b900 1a03 002a 2bb6 001b b700 17a7
    0x0000020: 000f 4eb2 0012 121c 2db9 001a 0300 2a2b
    0x0000030: b600 1db7 0017 a700 0f4e b200 1212 1c2d
    0x0000040: b900 1a03 001c 9900 5601 4e2a b400 05b9
    0x0000050: 001e 0100 b900 1f01 003a 0419 04b9 000d
    0x0000060: 0100 9900 2b19 04b9 000e 0100 c000 203a
    0x0000070: 0519 05b9 0021 0100 2ba6 0011 1905 b900
    0x0000080: 2201 00c0 0001 4ea7 0006 a7ff d12d c600
    0x0000090: 0e2a b400 052d b900 2302 0057 b1
  Exception Handler Table:
    bci [0, 8] => handler: 11
    bci [23, 31] => handler: 34
    bci [46, 54] => handler: 57
  Stackmap Table:
    same_locals_1_stack_item_frame(@11,Object[#94])
    same_frame(@23)
    same_locals_1_stack_item_frame(@34,Object[#94])
    same_frame(@46)
    same_locals_1_stack_item_frame(@57,Object[#94])
    same_frame(@69)
    append_frame(@91,Object[#95],Object[#77])
    same_frame(@138)
    chop_frame(@141,1)
    chop_frame(@156,1)

    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
    at java.lang.Class.getConstructor0(Class.java:3075)
    at java.lang.Class.newInstance(Class.java:412)
    at org.apache.camel.util.ObjectHelper.newInstance(ObjectHelper.java:1583)
    at org.apache.camel.util.ReflectionInjector.newInstance(ReflectionInjector.java:32)
    at org.apache.camel.impl.DefaultInjector.newInstance(DefaultInjector.java:45)
    at org.apache.camel.impl.DefaultComponentResolver.resolveComponent(DefaultComponentResolver.java:87)
    at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:399)
    at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:386)
    at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:558)
    at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:79)
    at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:211)
    at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:107)
    at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113)
    at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:62)
    at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:56)
    at org.apache.camel.model.ProcessorDefinition.makeProcessorImpl(ProcessorDefinition.java:534)
    at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:495)
    at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:219)
    at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:1069)
    at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:196)
    at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:974)
    at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:3295)
    at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3018)
    at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175)
    at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2848)
    at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2844)
    at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2867)
    at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2844)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:2813)
    at org.apache.camel.main.Main.doStart(Main.java:127)
    at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
    at org.apache.camel.main.MainSupport.run(MainSupport.java:138)
    at org.apache.camel.main.MainSupport.run(MainSupport.java:390)
    at com.example.camel.MainApp.runCamel(MainApp.java:16)
    at com.example.camel.MainApp.main(MainApp.java:9)
[                      Thread-0] MainSupport$HangupInterceptor  INFO
Received hang up - stopping the main instance.



Is this error because it's SNAPSHOT or something on my end ?
Note: I wasn't getting this with camel-solr 2.16.2

Mime
View raw message