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

Fix NPE for String Join within StringUtil

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: Release 4.9.0
    • Fix Version/s: Release 6.0.0
    • Component/s: Studio Error reporting
    • Labels:
    • Environment:

      app_version: 4.9.0.201705220323,
      platform : MacOSX

    • Story Points:
      3
    • Sprint:
      2018 Sprint 19 Studio

      Description

      Exception:java.lang.NullPointerException: null\n
      t at com.aptana.core.util.StringUtil.join(StringUtil.java:406)\n
      t at com.aptana.core.util.StringUtil.join(StringUtil.java:311)\n
      t at com.aptana.js.core.inferencing.CommonJSResolver.getModuleId(CommonJSResolver.java:99)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:775)\n
      t at com.aptana.js.core.parsing.ast.JSInvokeNode.accept(JSInvokeNode.java:31)\n
      t at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:606)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:359)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:420)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:677)\n
      t at com.aptana.js.core.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33)\n
      t at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:281)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:262)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:460)\n
      t at com.aptana.js.core.parsing.ast.JSConstructNode.accept(JSConstructNode.java:31)\n
      t at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:281)\n
      t at com.aptana.js.core.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:522)\n
      t at com.aptana.js.core.parsing.ast.JSFunctionNode.accept(JSFunctionNode.java:46)\n
      t at com.aptana.js.core.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:606)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:359)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:535)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:366)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:535)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:366)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:420)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:289)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:1)\n
      t at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432)\n
      t at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466)\n
      t at com.aptana.js.internal.core.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:285)\n
      t at com.aptana.js.core.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:232)\n
      t at com.aptana.js.core.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:105)\n
      t at com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:132)\n
      t at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)\n
      t at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614)\n
      t at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525)\n
      t at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497)\n
      t at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:343)\n
      t at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:178)\n
      t at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)\n
      t at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n
      t at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)\n
      t at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)\n
      t at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)\n
      t at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n
      t at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)\n
      t at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)\n
      t at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)\n
      t at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)\n
      t at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)\n
      t at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: