java.net.URISyntaxException: Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    Found in a user's log file: {code} !ENTRY com.aptana.core.io 4 0 2011-08-20 09:43:22.588 !MESSAGE (Build 3.0.3.1312062042) [ERROR] Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php !STACK 0 java.net.URISyntaxException: Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at com.aptana.core.io.efs.WorkspaceFile.toURI(WorkspaceFile.java:217) at com.aptana.core.io.efs.EFSUtils.getAbsolutePath(EFSUtils.java:112) at com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:159) at com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:426) at com.aptana.ide.syncing.core.old.Synchronizer.getSyncItems(Synchronizer.java:385) at com.aptana.ide.syncing.ui.old.views.SmartSyncDialog$14.run(SmartSyncDialog.java:1233) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} From this SO message thread: http://stackoverflow.com/questions/749709/how-to-deal-with-the-urisyntaxexception It suggests we should be making a URL first to do the encoding. It appears WorkspaceFile doesn't URL-encode first in toURI()

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.net.URISyntaxException: Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php
  2. 0

    Found in a user's log file: {code} !ENTRY com.aptana.core.io 4 0 2011-08-20 09:43:22.588 !MESSAGE (Build 3.0.3.1312062042) [ERROR] Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php !STACK 0 java.net.URISyntaxException: Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at com.aptana.core.io.efs.WorkspaceFile.toURI(WorkspaceFile.java:217) at com.aptana.core.io.efs.EFSUtils.getAbsolutePath(EFSUtils.java:112) at com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:159) at com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:426) at com.aptana.ide.syncing.core.old.Synchronizer.getSyncItems(Synchronizer.java:385) at com.aptana.ide.syncing.ui.old.views.SmartSyncDialog$14.run(SmartSyncDialog.java:1233) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} From this SO message thread: http://stackoverflow.com/questions/749709/how-to-deal-with-the-urisyntaxexception It suggests we should be making a URL first to do the encoding. It appears WorkspaceFile doesn't URL-encode first in toURI()

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.net.URISyntaxException: Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php
  3. 0

    IO.scala doesnt handle relative file paths on windows correctly

    GitHub | 4 years ago | harrah
    java.net.URISyntaxException: Illegal character in path at index 2: ..\TagTree
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Print SBT version on launch failure

    GitHub | 4 years ago | harrah
    java.net.URISyntaxException: Illegal character in path at index 2: ..\TagTree
  6. 0

    IO.scala doesnt handle relative file paths on windows correctly

    GitHub | 5 years ago | benhutchison
    java.net.URISyntaxException: Illegal character in path at index 2: ..\TagTree

  1. tfr 1 times, last 6 months ago
  2. muffinmannen 1 times, last 8 months ago
36 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.URISyntaxException

    Illegal character in path at index 74: workspace:/Test%20SIte/members/_OLD%20FILES/Copy%20of%20messages-tagger%20[2008-09-21].php

    at java.net.URI$Parser.fail()
  2. Java RT
    URI.<init>
    1. java.net.URI$Parser.fail(Unknown Source)
    2. java.net.URI$Parser.checkChars(Unknown Source)
    3. java.net.URI$Parser.parseHierarchical(Unknown Source)
    4. java.net.URI$Parser.parse(Unknown Source)
    5. java.net.URI.<init>(Unknown Source)
    5 frames
  3. com.aptana.core
    EFSUtils.getAbsolutePath
    1. com.aptana.core.io.efs.WorkspaceFile.toURI(WorkspaceFile.java:217)
    2. com.aptana.core.io.efs.EFSUtils.getAbsolutePath(EFSUtils.java:112)
    2 frames
  4. com.aptana.ide
    SmartSyncDialog$14.run
    1. com.aptana.ide.syncing.core.old.Synchronizer.getCanonicalPath(Synchronizer.java:159)
    2. com.aptana.ide.syncing.core.old.Synchronizer.createSyncItems(Synchronizer.java:426)
    3. com.aptana.ide.syncing.core.old.Synchronizer.getSyncItems(Synchronizer.java:385)
    4. com.aptana.ide.syncing.ui.old.views.SmartSyncDialog$14.run(SmartSyncDialog.java:1233)
    4 frames
  5. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame