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

StringIndexOutofBoundsException seen in the log after importing Kitchen Sink sample

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      1. Open Samples view;
      2. Expand Titanium Mobile and choose "Kitchen Sink";
      3. Right-click and choose to import as a project;
      4. After it completes, the following exception is seen in the log:

      (Build 3.0.3.qualifier) [ERROR]  An error occurred while indexing local_webview.html
      java.lang.StringIndexOutOfBoundsException: String index out of range: 2315
      	at java.lang.String.substring(String.java:1934)
      	at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.getText(JSFileIndexingParticipant.java:308)
      	at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processCommentNode(JSFileIndexingParticipant.java:266)
      	at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processComments(JSFileIndexingParticipant.java:256)
      	at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:196)
      	at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.processHTMLSpecialNode(HTMLFileIndexingParticipant.java:136)
      	at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.processNode(HTMLFileIndexingParticipant.java:152)
      	at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.walkAST(HTMLFileIndexingParticipant.java:223)
      	at com.aptana.editor.html.contentassist.index.HTMLFileIndexingParticipant.indexFileStore(HTMLFileIndexingParticipant.java:261)
      	at com.aptana.index.core.AbstractFileIndexingParticipant.index(AbstractFileIndexingParticipant.java:139)
      	at com.aptana.index.core.IndexRequestJob.indexFileStores(IndexRequestJob.java:423)
      	at com.aptana.index.core.IndexContainerJob.run(IndexContainerJob.java:100)
      	at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:206)
      	at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:115)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                mxia Michael Xia
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: