Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7393

StackOverflowError parsing big file (with fast parser)

    Details

    • Story Points:
      5

      Description

      Having a python file with 2000 lines just repeating:

      class Spam(object): pass

      is giving a stack overflow error:

      java.lang.RuntimeException: java.lang.StackOverflowError
      	at org.python.pydev.parser.fastparser.FastDefinitionsParser.parse(FastDefinitionsParser.java:641)
      	at org.python.pydev.parser.fastparser.FastDefinitionsParser.parse(FastDefinitionsParser.java:631)
      	at org.python.pydev.parser.fastparser.FastDefinitionsParser.parse(FastDefinitionsParser.java:622)
      	at com.python.pydev.analysis.builder.AnalysisBuilderVisitor$1.call(AnalysisBuilderVisitor.java:103)
      	at com.python.pydev.analysis.builder.AnalysisBuilderVisitor$1.call(AnalysisBuilderVisitor.java:1)
      	at com.python.pydev.analysis.builder.AnalysisBuilderRunnable.doAnalysis(AnalysisBuilderRunnable.java:190)
      	at com.python.pydev.analysis.builder.AbstractAnalysisBuilderRunnable.run(AbstractAnalysisBuilderRunnable.java:152)
      	at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.execRunnable(AnalysisBuilderVisitor.java:184)
      	at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.doVisitChangedResource(AnalysisBuilderVisitor.java:175)
      	at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.visitChangedResource(AnalysisBuilderVisitor.java:117)
      	at com.python.pydev.analysis.builder.AnalysisBuilderVisitor.visitChangedResource(AnalysisBuilderVisitor.java:45)
      	at org.python.pydev.builder.PyDevBuilderVisitor.visitAddedResource(PyDevBuilderVisitor.java:281)
      	at org.python.pydev.builder.PyDevBuilder.buildResources(PyDevBuilder.java:314)
      	at org.python.pydev.builder.PyDevBuilder.performFullBuild(PyDevBuilder.java:190)
      	at org.python.pydev.builder.PyDevBuilder.build(PyDevBuilder.java:84)
      	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)
      
      

        Attachments

          Activity

            People

            • Assignee:
              fzadrozny Fabio Zadrozny
              Reporter:
              fzadrozny Fabio Zadrozny
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration