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

Errors while importing ES6 based project into studio

    Details

    • Type: Story
    • Status: In Progress
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Triage, 2018 Sprint 24 Studio

      Description

      Import kitchen sink ES6 based app into studio 5.2.0 - during the import it's throwing the following error. This ticket will help us to track this issue.

      To reproduce:
      Download https://github.com/appcelerator/kitchensink-v2 or Movies3 old app
      drag-and-drop this project into studio 5.2.0 project explorer

       
      java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
      	at com.aptana.parsing.ast.ParseNode.getChild(ParseNode.java:199)
      	at com.aptana.js.core.parsing.ast.JSBinaryOperatorNode.getRightHandSide(JSBinaryOperatorNode.java:56)
      	at com.aptana.js.core.parsing.ast.JSFormatWalker.visit(JSFormatWalker.java:694)
      	at com.aptana.js.core.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:33)
      	at com.aptana.js.core.parsing.ast.JSFormatWalker.formatNode(JSFormatWalker.java:104)
      	at com.aptana.js.core.parsing.ast.JSFormatWalker.visit(JSFormatWalker.java:692)
      	at com.aptana.js.core.parsing.ast.JSGetPropertyNode.accept(JSGetPropertyNode.java:33)
      	at com.aptana.js.core.parsing.ast.JSNode.toString(JSNode.java:473)
      	at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:505)
      	at com.aptana.js.core.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:39)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:361)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:287)
      	at com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:26)
      	at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
      	at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:475)
      	at com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:361)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:186)
      	at com.aptana.js.core.parsing.ast.JSGroupNode.accept(JSGroupNode.java:38)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:361)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:216)
      	at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:515)
      	at com.aptana.js.core.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:39)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:361)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:287)
      	at com.aptana.js.core.parsing.ast.JSStatementsNode.accept(JSStatementsNode.java:26)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visitChildren(JSTreeWalker.java:361)
      	at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:196)
      	at com.aptana.js.core.parsing.ast.JSIfNode.accept(JSIfNode.java:41)
      	at com.aptana.js.internal.core.inferencing.JSSymbolCollector.accept(JSSymbolCollector.java:108)
      	at com.aptana.js.internal.core.inferencing.JSSymbolCollector.visit(JSSymbolCollector.java:543)
      	at com.aptana.js.core.parsing.ast.JSParseRootNode.accept(JSParseRootNode.java:51)
      	at com.aptana.js.core.parsing.ast.JSParseRootNode.getGlobals(JSParseRootNode.java:63)
      	at com.aptana.js.core.index.JSFileIndexingParticipant.getGlobals(JSFileIndexingParticipant.java:93)
      	at com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:200)
      	at com.aptana.js.core.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:105)
      	at com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:132)
      	at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
      	at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614)
      	at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525)
      	at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497)
      	at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:343)
      	at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:178)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      

        Attachments

          Activity

            People

            • Assignee:
              ppedduri Prashanth Pedduri (Inactive)
              Reporter:
              kkolipaka Kondal Kolipaka (Inactive)
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: