java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca

Appcelerator JIRA | Ingo Muschenetz | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    It appears to have difficulty hooking up the content assist metadata files. Steps to reproduce: # Open up Titanium Studio # Create a new Titanium Mobile project, choose SDK 1.7.2 # Open up app.js. Try typing "Tit". Nothing appears in content assist. If you open right-click on project > Properties > Project Build Path, notice the list is empty. It should have an entry for 1.7.2 selected. The following appears in the log file: {code} !ENTRY com.aptana.buildpath.core 4 0 2011-08-04 07:21:54.241 !MESSAGE (Build 3.0.0.1311040443) [ERROR] Unable to convert URL 'jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca' to a URI when processing the 'buildPath' element in the 'buildPaths' extension in plugin 'com.appcelerator.titanium.mobile' !STACK 0 java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.aptana.buildpath.core.BuildPathManager$1.processElement(BuildPathManager.java:351) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:481) at com.aptana.buildpath.core.BuildPathManager.loadExtension(BuildPathManager.java:325) at com.aptana.buildpath.core.BuildPathManager.getInstance(BuildPathManager.java:66) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:137) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.mobile 4 0 2011-08-04 07:21:54.262 !MESSAGE (Build 1.0.0.1312318466) [ERROR] Unable to convert URL {{0}} to a URI. This occurred while connecting the default Titanium Mobile SDK content assist metadata file to project 'sliff'. !STACK 0 java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:150) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.mobile 4 0 2011-08-04 07:21:55.930 !MESSAGE (Build 1.0.0.1312318466) [ERROR] Unable to convert URL {{0}} to a URI. This occurred while connecting the default Titanium Mobile SDK content assist metadata file to project 'test'. !STACK 0 java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:150) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 6 years ago | Ingo Muschenetz
    java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca
  2. 0

    It appears to have difficulty hooking up the content assist metadata files. Steps to reproduce: # Open up Titanium Studio # Create a new Titanium Mobile project, choose SDK 1.7.2 # Open up app.js. Try typing "Tit". Nothing appears in content assist. If you open right-click on project > Properties > Project Build Path, notice the list is empty. It should have an entry for 1.7.2 selected. The following appears in the log file: {code} !ENTRY com.aptana.buildpath.core 4 0 2011-08-04 07:21:54.241 !MESSAGE (Build 3.0.0.1311040443) [ERROR] Unable to convert URL 'jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca' to a URI when processing the 'buildPath' element in the 'buildPaths' extension in plugin 'com.appcelerator.titanium.mobile' !STACK 0 java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.aptana.buildpath.core.BuildPathManager$1.processElement(BuildPathManager.java:351) at com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:481) at com.aptana.buildpath.core.BuildPathManager.loadExtension(BuildPathManager.java:325) at com.aptana.buildpath.core.BuildPathManager.getInstance(BuildPathManager.java:66) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:137) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.mobile 4 0 2011-08-04 07:21:54.262 !MESSAGE (Build 1.0.0.1312318466) [ERROR] Unable to convert URL {{0}} to a URI. This occurred while connecting the default Titanium Mobile SDK content assist metadata file to project 'sliff'. !STACK 0 java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:150) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !ENTRY com.appcelerator.titanium.mobile 4 0 2011-08-04 07:21:55.930 !MESSAGE (Build 1.0.0.1312318466) [ERROR] Unable to convert URL {{0}} to a URI. This occurred while connecting the default Titanium Mobile SDK content assist metadata file to project 'test'. !STACK 0 java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parse(URI.java:3019) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:150) at com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172) at com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 6 years ago | Ingo Muschenetz
    java.net.URISyntaxException: Illegal character in opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca
  3. 0

    Running activator breaks subsequent invocations of sbt

    GitHub | 2 years ago | deanwampler
    java.net.URISyntaxException: Illegal character in authority at index 7: file://${activator.home}/repository
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jmeter is not parsing the token variable properly for Jira Token

    Stack Overflow | 2 years ago
    java.net.URISyntaxException: Illegal character in query at index 121: httB://MYSERVER.europe.intranet:8080/secure/WorkflowUIDispatcher.jspa?id=190484&action=1211&atl_token=BQK1-BRIY-PPQ6-LLVE|4619cd58d344d3723fc52273a2f08ab7153f99e0|lint&returnUrl=&decorator=dialog&inline=true&_=1419863300114
  6. 0

    Issue downloading packages

    GitHub | 2 years ago | jackkav
    org.gradle.api.UncheckedIOException: java.net.URISyntaxException: Illegal character in path at index 19: file:/C:/Users/user/.gradle/caches/modules-2/files-2.1/org.akhikhl.gretty/gretty-runner-jetty9/1.2.0/254b381d78983d4f81c552b13e660e7fbf9596c2/gretty-runner-jetty9-1.2.0.jar

    6 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 opaque part at index 31: jar:file:/Applications/Titanium Studio 2/plugins/com.appcelerator.titanium.mobile_1.0.0.1312318466.jar!/resources/jsca/api.jsca

      at java.net.URI$Parser.fail()
    2. Java RT
      URL.toURI
      1. java.net.URI$Parser.fail(URI.java:2809)
      2. java.net.URI$Parser.checkChars(URI.java:2982)
      3. java.net.URI$Parser.parse(URI.java:3019)
      4. java.net.URI.<init>(URI.java:578)
      5. java.net.URL.toURI(URL.java:918)
      5 frames
    3. com.aptana.buildpath
      BuildPathManager$1.processElement
      1. com.aptana.buildpath.core.BuildPathManager$1.processElement(BuildPathManager.java:351)
      1 frame
    4. com.aptana.core
      EclipseUtil.processConfigurationElements
      1. com.aptana.core.util.EclipseUtil.processConfigurationElements(EclipseUtil.java:481)
      1 frame
    5. com.aptana.buildpath
      BuildPathManager.getInstance
      1. com.aptana.buildpath.core.BuildPathManager.loadExtension(BuildPathManager.java:325)
      2. com.aptana.buildpath.core.BuildPathManager.getInstance(BuildPathManager.java:66)
      2 frames
    6. com.appcelerator.titanium
      TiMobileMetadataLoader.run
      1. com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:137)
      2. com.appcelerator.titanium.mobile.ContentAssistMetadataUtils.importContentAssistMetadata(ContentAssistMetadataUtils.java:216)
      3. com.appcelerator.titanium.mobile.TiMobileMetadataLoader.updateProject(TiMobileMetadataLoader.java:172)
      4. com.appcelerator.titanium.mobile.TiMobileMetadataLoader.run(TiMobileMetadataLoader.java:61)
      4 frames
    7. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame