Regarding Exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shweta bagrecha
    New Member
    • Mar 2008
    • 2

    #1

    Regarding Exception

    Hello,

    I a using jre6 and and there is following Exception during XMLparser if there is space in path of xml file for example "C:/Program Files/Bookmark Manager/bookmarkstore/aaa.xml"
    Exception is:
    java.net.Malfor medURLException : unknown protocol: c

    Note:same code is working well on jre5.

    Please reply as soon as.
    Thanks in advance.

    Shweta Bagrecha
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by shweta bagrecha
    Hello,

    I a using jre6 and and there is following Exception during XMLparser if there is space in path of xml file for example "C:/Program Files/Bookmark Manager/bookmarkstore/aaa.xml"
    Exception is:
    java.net.Malfor medURLException : unknown protocol: c

    Note:same code is working well on jre5.

    Please reply as soon as.
    Thanks in advance.

    Shweta Bagrecha
    Which method or constructor is throwing this?

    Comment

    • Nepomuk
      Recognized Expert Specialist
      • Aug 2007
      • 3111

      #3
      My first idea would be, that an escape symbol was needed for spaces in the address, but it wouldn't explain why it works on jre5... Still, you can try it.

      Greetings,
      Nepomuk

      Comment

      • shweta bagrecha
        New Member
        • Mar 2008
        • 2

        #4
        Same code is running for jre5 and for some files runnning on jre6 but not for all.
        Please give some solution.
        Thanks

        Comment

        Working...