java.lang.ClassCastException: com.aptana.editor.js.parsing.ast.JSInvokeNode cannot be cast to com.aptana.editor.js.parsing.ast.JSFunctionNode

Appcelerator JIRA | Ingo Muschenetz | 5 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

    # Clear your log file # Check out https://github.com/aptana/studio3-sdk into your workspace # Check your log file. If no messages appear, try Project > Clean on that project You should see the following (sample--the file itself may differ and there will be more than one): {code} !ENTRY com.aptana.buildpath.core 4 0 2012-04-23 09:44:58.124 !MESSAGE (Build 3.1.0.qualifier) [ERROR] Error indexing L/Dojo_Aptana_Test/portal/sample/resources/configurations.js !STACK 0 java.lang.ClassCastException: com.aptana.editor.js.parsing.ast.JSInvokeNode cannot be cast to com.aptana.editor.js.parsing.ast.JSFunctionNode at com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation(JSTypeUtil.java:103) at com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation(JSTypeUtil.java:152) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.applyDocumentation(JSSymbolTypeInferrer.java:168) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:367) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:389) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:292) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:216) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:104) at com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:83) at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:518) at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:431) at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:408) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:302) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:148) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.ClassCastException: com.aptana.editor.js.parsing.ast.JSInvokeNode cannot be cast to com.aptana.editor.js.parsing.ast.JSFunctionNode
  2. 0

    # Clear your log file # Check out https://github.com/aptana/studio3-sdk into your workspace # Check your log file. If no messages appear, try Project > Clean on that project You should see the following (sample--the file itself may differ and there will be more than one): {code} !ENTRY com.aptana.buildpath.core 4 0 2012-04-23 09:44:58.124 !MESSAGE (Build 3.1.0.qualifier) [ERROR] Error indexing L/Dojo_Aptana_Test/portal/sample/resources/configurations.js !STACK 0 java.lang.ClassCastException: com.aptana.editor.js.parsing.ast.JSInvokeNode cannot be cast to com.aptana.editor.js.parsing.ast.JSFunctionNode at com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation(JSTypeUtil.java:103) at com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation(JSTypeUtil.java:152) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.applyDocumentation(JSSymbolTypeInferrer.java:168) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:367) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:389) at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:292) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:216) at com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:104) at com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:83) at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:518) at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:431) at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:408) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:302) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:148) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    java.lang.ClassCastException: com.aptana.editor.js.parsing.ast.JSInvokeNode cannot be cast to com.aptana.editor.js.parsing.ast.JSFunctionNode
  3. 0

    ClassCastException in ReconcileStepForValidator

    Eclipse Bugzilla | 1 decade ago | rrodseth
    java.lang.ClassCastException: java.util.ArrayList at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.createAnnotations(ReconcileStepForValidator.java:86) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:234) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:201) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:96) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:173) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:144) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:423)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.aptana.editor.js.parsing.ast.JSInvokeNode cannot be cast to com.aptana.editor.js.parsing.ast.JSFunctionNode

      at com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation()
    2. com.aptana.editor
      JSFileIndexingParticipant.index
      1. com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation(JSTypeUtil.java:103)
      2. com.aptana.editor.js.inferencing.JSTypeUtil.applyDocumentation(JSTypeUtil.java:152)
      3. com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.applyDocumentation(JSSymbolTypeInferrer.java:168)
      4. com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:367)
      5. com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:389)
      6. com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:292)
      7. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.processParseResults(JSFileIndexingParticipant.java:216)
      8. com.aptana.editor.js.contentassist.index.JSFileIndexingParticipant.index(JSFileIndexingParticipant.java:104)
      8 frames
    3. com.aptana.core
      UnifiedBuilder.build
      1. com.aptana.core.internal.build.IndexBuildParticipant.buildFile(IndexBuildParticipant.java:83)
      2. com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
      3. com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:518)
      4. com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:431)
      5. com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:408)
      6. com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:302)
      7. com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:148)
      7 frames
    4. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
      1 frame
    5. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    6. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
      3 frames
    7. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    8. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
      4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
      5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
      5 frames
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame