With Discovery Patterns how to extract an item from a list without the Java ClassCastException Error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2024 05:52 AM
I am extending a custom pattern for iLO discovery. In the pattern a HTTP Get Call to a url based xml query is asked of a device that comes back with a list of items. Parsing is delimited Text. I am attempting to get the serial number. See the image below of my current step.
When this is run it finds the value but throws an error:
System error has occurred, exception is: ClassCastException : class java.util.ArrayList cannot be cast to class java.lang.String(java.util.ArrayList and java.lang.String are in java.base of loader 'bootstrap')
Any suggestions to get around this error?
0 REPLIES 0