java.net.MalformedURLException: no protocol: { "complexBeans" : { "first" : { "name" : "cbName1", "surName" : "cbSurName1", "weight" : "50.5" }, "second" : { "name" : "cbName2", "surName" : "cbSurName2", "weight" : "10.5" } } } at org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:120)

Stack Overflow | Daniel Dudarev | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JAXB mapping Map with complex object to JSON

    Stack Overflow | 8 months ago | Daniel Dudarev
    java.net.MalformedURLException: no protocol: { "complexBeans" : { "first" : { "name" : "cbName1", "surName" : "cbSurName1", "weight" : "50.5" }, "second" : { "name" : "cbName2", "surName" : "cbSurName2", "weight" : "10.5" } } } at org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:120)

    Root Cause Analysis

    1. java.net.MalformedURLException

      no protocol: { "complexBeans" : { "first" : { "name" : "cbName1", "surName" : "cbSurName1", "weight" : "50.5" }, "second" : { "name" : "cbName2", "surName" : "cbSurName2", "weight" : "10.5" } } } at org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:120)

      at org.eclipse.persistence.internal.oxm.record.json.JsonStructureReader.parse()
    2. EclipseLink (non-OSGi)
      XMLUnmarshaller.unmarshal
      1. org.eclipse.persistence.internal.oxm.record.json.JsonStructureReader.parse(JsonStructureReader.java:156)
      2. org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:863)
      3. org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:710)
      4. org.eclipse.persistence.internal.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:643)
      4 frames
    3. EclipseLink
      JAXBUnmarshaller.unmarshal
      1. org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:339)
      1 frame