XmlStreamReader Evaluation Error: wrapped java.lang.IllegalStateException

While debugging my DW script, when I debug xmlStreamReader, I tried to find .hasNext () which would give me TRUE but getting .next () would complete the script, so after that I cannot continue with .next ().

+4
source share
1 answer

I also ran into the same problem, I made the hasNext variable as Number.

The problem is this -> orderXMLReader.next () == XMLStreamConstants.START_ELEMENT

Here orderXMLReader.next () returns a String value and compares with the constant of the number

+3
source

Source: https://habr.com/ru/post/1622317/


All Articles