java.rmi.RemoteException

VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web968

  • VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
  • via vijava by mmatczynski
    , 1 year ago
    VI SDK invoke exception:org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.
  • VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document  : White spaces are required between publicId and systemId. Nested exception: White spaces are required between publicId and systemId.
  • Stack trace

    • java.rmi.RemoteException: VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. at com.vmware.vim25.ws.XmlGenDom.fromXML(XmlGenDom.java:76) at com.vmware.vim25.ws.SoapClient.unMarshall(SoapClient.java:203) at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:96) at com.vmware.vim25.ws.VimStub.retrieveServiceContent(VimStub.java:1665) at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:85) at com.vmware.vim25.mo.ServiceInstance.<init>(ServiceInstance.java:69)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago