Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-544

Content Assist missing in Titanium Mobile projects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Titanium Studio 1.0.4
    • Component/s: Editor
    • Labels:
      None

      Description

      It appears to have difficulty hooking up the content assist metadata files.

      Steps to reproduce:

      1. Open up Titanium Studio
      2. Create a new Titanium Mobile project, choose SDK 1.7.2
      3. 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:

      !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)
      
      

        Attachments

          Activity

            People

            • Assignee:
              klindsey Kevin Lindsey
              Reporter:
              ingo Ingo Muschenetz
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: