Mike Maxwell wrote:
One of our users had a situation where the error message was rather 
uninformative.  I'm not sure this qualifies as a bug, but I'll mention it here 
in case you (Hussein) think it is, or in case other users run into this.  We're 
using XXE version 6.1.0.

The problem came about when the WebDAV plugin got uninstalled on this user's 
machine (that was probably our fault).  When he tried to browse the files on 
our SVN server, which is on an https site, he got the message:


    Cannot save this type of location "https.../Punjabi/src/Verbs/...
    Please specify another type of location using command "File|Save As".

He was actually not trying to save a file, rather open it, and sure enough after clicking 
"OK" on this, a new error message comes up:


Yes, this is normal because without the WebDAV plugin, XXE can open files stored on an HTTP server but it cannot save them back.




    Cannot load document...
    sun.security.validator.ValidatorException: PKIX path building
    failed: sun.security.provider.certpath.SunCertPathBuilderException:
    unable to find valid certification path to requested target

These error messages come from the Java runtime, not from our code. It seems that your HTTPS server uses a self-signed (or may be an outdated) certificate.

When the WebDAV plugin is installed you'll see these errors too but the WebDAV plugin has a special setting for self-signed certificates:

Simply *uncheck* "Validate HTTPS servers" in "Options|Preferences", "Add-on|WebDAV Drive" section.





I figured out the problem was that the plugin had gotten uninstalled.

Thank you very much for figuring this out!



Our IT folks re-installed it, but he was still getting this error message.

My guess is that your IT personal did that by copying some files and not by using XXE's add-on manager (e.g. "Options|Install Add-ons").




Turned out we had to clear the cache.
Once we did that, the error msg went away and he was able to open files.  (I'm 
not sure which cache, because I cleared all three of them.)

This is normal when an add-on like the WebDAV plugin is installed by hand that is, by copying some files to one of the 2 addons/ directories of XXE.

In this case, you really need to clear the "Quick Start" cache to let XXE see the newly installed add-on.

See the second "Caution" in http://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#cacheOptions





I'm not sure anything can be done to fix the underlying problem, unless as part 
of installing the WebDAV plugin the cache gets cleared.  But maybe the need to 
clear the cache could be documented here, or the error message clarified.

Oddly, in checking what I had done just now, on my own installation of XXE I 
got the following warning when I started up XXE:

    Errors found in plug-ins
    com.xmlmind.xmleditext.dav_vdrive.DAVDriveFactory
    cannot create virtual drive plug-in
    "com.xmlmind.xmleditext.dav_vdrive.DAVDriveFactory":
    com.xmlmind.xmleditext.dav_vdrive.DAVDriveFactory

Attempting to open a file from our SVN server under those circumstances fails with the same error msgs as above 
("Cannot save..." and "Cannot load...").  In my case, clearing the cache had no effect, but when I 
closed and re-opened XXE, this error msg ("Errors found in plug-ins") didn't repeat, and I was able to 
successfully load files.  Any idea what is causing this "Errors found in plug-ins... cannot create virtual drive 
plug-in... " error? (and why it goes away when I close and re-open XXE)


Well in your case, I'm clueless.



   Mike Maxwell
   University of Maryland


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to