Menu

#9 Error on loading configuration file

open
nobody
GUI (6)
3
2013-03-04
2013-03-04
Maxim
No

Exception during starting the application when it is located in a dirrectory that contains Cyrillic chars in the path.
eg.: 'C:\Documents and Settings\Владелец'
Reproducible on MS Win only.

C:\Documents and Settings\Владелец\NET-Simulator.035>java -Djava.util.logging.co
nfig.file=bin\logging.properties -classpath bin;lib\commons-cli-1.0.jar;lib\xerc
esImpl.jar;lib\serializer.jar;lib\commons-lang-2.3.jar org.netsimulator.Netsimul
ator
INFO: 1 org.netsimulator.Netsimulator.main: Starting NetSimulator!
java.net.MalformedURLException: unknown protocol: c
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source
)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Sourc
e)
at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.netsimulator.util.ConfigLoader.load(ConfigLoader.java:80)
at org.netsimulator.gui.MainFrame.<init>(MainFrame.java:224)
at org.netsimulator.Netsimulator.main(Netsimulator.java:48)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.