URL not in the correct format when opening some files on Linux

Bug #1340056 reported by arno_b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LaTeXDraw
Fix Released
High
arno_b

Bug Description

See the discussion: https://sourceforge.net/p/latexdraw/discussion/525822/thread/f9f6304c/

The problem seems to be the spaces in the file path:
/media/Dados/Dropbox/UFSM/Mestrado/SEM 1/Engenharia de Microondas/seminário 2/figuras/quarterwave_t.svg

Stacktrace:
java.net.MalformedURLException: no protocol: /media/Dados/Dropbox/UFSM/Mestrado/SEM 1/Engenharia de Microondas/seminário 2/figuras/quarterwave_t.svg
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at net.sf.latexdraw.parsers.svg.SVGDocument.<init>(SVGDocument.java:83)
at net.sf.latexdraw.generators.svg.SVGDocumentGenerator$LoadWorker.doInBackground(SVGDocumentGenerator.java:684)
at net.sf.latexdraw.generators.svg.SVGDocumentGenerator$LoadWorker.doInBackground(SVGDocumentGenerator.java:647)

Revision history for this message
arno_b (arno.b) wrote :
Changed in latexdraw:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.