You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple XML String which I am trying to convert to POJO
StringReader reader = new StringReader(EmployeeXML);
StreamSource source1 = new StreamSource(reader);
jaxbContext = JAXBContext.newInstance(Employee.class);
Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();
return jaxbUnmarshaller.unmarshal(source1, c).getValue();
However everytime I do I get a stream is closed IOException
I have narrowed it down to the the logic in the UnmarshallerImp which converts the Incoming Stream Source into an InputSource
The streamSourceToInputSource code works fine, but the output of that when returned set the stringreader str to null (somehow) and that results in in the error
I am using OpenJDK 21.0.2 on a mac with runtime version 4.0.1 (latest)
anyone had this issue ?
The text was updated successfully, but these errors were encountered:
Hi,
I am having an issue with the UnMarshallerImpl
I have a simple XML String which I am trying to convert to POJO
However everytime I do I get a stream is closed IOException
I have narrowed it down to the the logic in the UnmarshallerImp which converts the Incoming Stream Source into an InputSource
The streamSourceToInputSource code works fine, but the output of that when returned set the stringreader str to null (somehow) and that results in in the error
I am using OpenJDK 21.0.2 on a mac with runtime version 4.0.1 (latest)
anyone had this issue ?
The text was updated successfully, but these errors were encountered: