Developing for Splunk Enterprise

Extraction error from log file

Path Finder

All,
would like to extract the below information from the logs
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: "[% JMS.LOGSBUS.JMSInputConsumers %]"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Out of the above sample would like to extract the below

caused by: org.apache.camel.TypeConversionException
Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: "[% JMS.LOGSBUS.JMSInputConsumers %]"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Any help would be appreciated.

0 Karma

Champion

For new splunker's and @Sukisen1981 reference,
when writing SPL queries, we will need to do this step -
1. select the SPL query lines and then, on the editing ribbon/tool bar, choose the 5th icon "Code Sample", so that the SPL code will be preserved.
2. another short cut is adding <pre> SPL query </pre> also can do the same.
3. around the SPL query, we can add "backtick ()" as well.. that will make the SPL as above on the 2nd point(not the full line, only the SPL will becomecode`)

alt text

Champion

sorry some issue. code is not getting pasted..attaching the codelink text

0 Karma

Champion

Hi - Try this

| rex field=_raw (?

Champion

| rex field=_raw (?

0 Karma

Champion
|  rex field=_raw (?<Title>.*?)": Error" 
 | rex field=_raw (?s)Error(?<Description>.*)
| eval Description="Description: Error"+Description
| table Title,Description

thanks @inventsekar

0 Karma

Champion
| eval s=split(_raw,"Caused by:")
| rex field=_raw max_match=0 "(?<errcount>\ Error)"
 | stats count(errcount) by s 
| rex field=s max_match=0 (?<Title>.*?)": Error" 
| reverse 
| where Title !="*"
| rex field=s (?s)":"(?<Description>.*) 
| rename count(errcount) AS count 
|fields count,Title,Description

hi your requirement is clear now, try this...if you want as rows that can be done as well...but just see this output first....

0 Karma

Champion

hi - did you check this out?

0 Karma

Path Finder

@Sukisen1981: The moment I say
| rex field=_raw (?.*?)": Error"

the search will hung since too many errors will be there in the log and leads to performance hit. Is there way we can extract a portion and then try?
Error and related causeby from the logs

0 Karma

Path Finder

@Sukisen1981...thank you for your response .will check and comeback ASAP

0 Karma

Champion

| rex field=_raw (?

0 Karma

Path Finder

out of the below sample data would like to extract

  1. number of cause by errors count : 3
  2. For each cause by Error: org.apache.camel.TypeConversionException:
  3. Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
    at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
    at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
    at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
    at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
    at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  4. number of cause by errors count : 3

  5. For each cause by Error: org.apache.camel.NumberFormatException

  6. Cause By Error Description:Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

  7. number of cause by errors count : 3

  8. For each cause by Error: org.apache.camel.ArrayIndexOutofboundException:

  9. Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

SAMPLE DATAstrong text
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
Caused by: org.apache.camel.ArrayIndexOutofboundException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

0 Karma

Motivator

try this,

| makeresults | eval test="Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)" | rex field=test mode=sed "s/(: Error)/ Description: Error/g"

0 Karma

Path Finder

The above is is pulling the whole stack trace. The ask is as follows
out of the below sample data would like to extract

  1. number of cause by errors count : 3
  2. For each cause by Error: org.apache.camel.TypeConversionException:
  3. Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
    at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
    at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
    at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
    at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
    at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
    at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
    at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  4. number of cause by errors count : 3

  5. For each cause by Error: org.apache.camel.NumberFormatException

  6. Cause By Error Description:Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

  7. number of cause by errors count : 3

  8. For each cause by Error: org.apache.camel.ArrayIndexOutofboundException:

  9. Cause By Error Description: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
    at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
Caused by: org.apache.camel.ArrayIndexOutofboundException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

0 Karma

Path Finder

Hi sbbadri,
Thanks for the quick response. The requirement is I need to get the count for "Caused By" and for each Caused by separation from the sample below. For example in the below sample I have 3 types of Caused by exceptions. So the caused by count should be 3 and I need to display 3 different line of the caused by exceptions say
Caused by count: 3
Cause1 Error: org.apache.camel.TypeConversionException:
Cause1 Description:
"Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)"

Caused by count: 3
Cause1 Error: org.apache.camel.NumberFormatException:
Cause1 Description:"
Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)"

Caused by count: 3
Cause1 Error: org.apache.camel.ArrayIndexOutofboundException::
Cause1 Description
:"Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)"

SAMPLE DATA Below:
Caused by: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:156)
at org.apache.camel.util.IntrospectionSupport.convert(IntrospectionSupport.java:622)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:537)
at org.apache.camel.util.IntrospectionSupport.setProperty(IntrospectionSupport.java:602)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:459)
at org.apache.camel.util.IntrospectionSupport.setProperties(IntrospectionSupport.java:469)
at org.apache.camel.util.EndpointHelper.setProperties(EndpointHelper.java:256)
at org.apache.camel.impl.DefaultComponent.setProperties(DefaultComponent.java:257)
at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:886)
at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.apache.camel.NumberFormatException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)
Caused by: org.apache.camel.ArrayIndexOutofboundException: Error during type conversion from type: java.lang.String to the required type: int with value [% JMSInputConsumers %] due java.lang.NumberFormatException: For input string: \"[% JMS.LOGSBUS.JMSInputConsumers %]\"
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.createTypeConversionException(BaseTypeConverterRegistry.java:610)
at org.apache.camel.impl.converter.BaseTypeConverterRegistry.mandatoryConvertTo(BaseTypeConverterRegistry.java:177)

0 Karma