While debugging patternGetting error- Failed to execute task, PatternDebuggerTask, with failure message: class java.util.LinkedHashMap cannot be cast to class java.lang.String

Rajamouly
Tera Expert

Hi Team,

While debugging the pattern getting Error- Failed to execute task, PatternDebuggerTask, with failure message: class java.util.LinkedHashMap cannot be cast to class java.lang.String.

 

After made connection section while testing the step it is showing the error, Please see attached screenshot

 

 

1 ACCEPTED SOLUTION

Manju88
Mega Guru

Hi Rajamouly,

as per the screenshot in one the steps that you're trying to execute you have stored the data in the Variable try to push that data into a table and test that will work.

 

Regards,

Manjunatha G

View solution in original post

6 REPLIES 6

Anshu_Anand_
Kilo Sage
Kilo Sage

Hi,

Which type of device you are trying to discover and which pattern and its step is throwing error?

The command which is executing behind the pattern is not returning the results. When it doesn't have enough information on what class to deserialize to, it uses LinkedHashMap .

 

Regards,
Anshu

Hi Anshu,

We were debugging OOB service mapping pattern for connection section of Report server.

We have already got required details in previous step like Host and Port, Current step we just need to establish the connection section.

Manju88
Mega Guru

Hi Rajamouly,

as per the screenshot in one the steps that you're trying to execute you have stored the data in the Variable try to push that data into a table and test that will work.

 

Regards,

Manjunatha G

MSB
Kilo Contributor

Hi Manjunath,

I tried adding the OID to table and ran the discovery as you said but I am still getting the same error as below. What could be done here?

find_real_file.png

 

find_real_file.png

 

Thanks,

MSB