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

"Building Workspace" very slow, many DiskIndex.readString() errors in log file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2012 Sprint 19
    • Component/s: Build
    • Labels:
      None
    • Environment:

      Mac Os X 10.6.8 - Aptana Studio 3, build: 3.3.0.201206252026

    • Story Points:
      13

      Description

      Each time a build workspace operation is launched Aptana chokes on certain files which appear to be javascript files.

      Killing Aptana, deleting the suspected files and restarting Aptana seems to solve the problem. I t re-appears as soon as the files are put back into the project.

      There is a large selection of the following errors in the log file:

      !ENTRY com.aptana.index.core 4 0 2012-06-27 12:04:54.404
      !MESSAGE (Build 3.3.0.201206252026) [ERROR]  null
      !STACK 0
      java.io.UTFDataFormatException
      	at com.aptana.internal.index.core.DiskIndex.readString(DiskIndex.java:1513)
      	at com.aptana.internal.index.core.DiskIndex.readCategoryTable(DiskIndex.java:1121)
      	at com.aptana.internal.index.core.DiskIndex.mergeCategory(DiskIndex.java:797)
      	at com.aptana.internal.index.core.DiskIndex.mergeCategories(DiskIndex.java:770)
      	at com.aptana.internal.index.core.DiskIndex.mergeWith(DiskIndex.java:931)
      	at com.aptana.index.core.Index.save(Index.java:698)
      	at com.aptana.index.core.Index.query(Index.java:535)
      	at com.aptana.editor.js.contentassist.index.JSIndexReader.getProperties(JSIndexReader.java:414)
      	at com.aptana.editor.js.contentassist.JSIndexQueryHelper.getProperties(JSIndexQueryHelper.java:301)
      	at com.aptana.editor.js.contentassist.JSIndexQueryHelper.getMembers(JSIndexQueryHelper.java:183)
      	at com.aptana.editor.js.contentassist.JSIndexQueryHelper.getGlobals(JSIndexQueryHelper.java:124)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:659)
      	at com.aptana.editor.js.parsing.ast.JSIdentifierNode.accept(JSIdentifierNode.java:33)
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:260)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.getTypes(JSNodeTypeInferrer.java:241)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:361)
      	at com.aptana.editor.js.parsing.ast.JSBinaryArithmeticOperatorNode.accept(JSBinaryArithmeticOperatorNode.java:94)
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:556)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:339)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processProperties(JSSymbolTypeInferrer.java:461)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:771)
      	at com.aptana.editor.js.parsing.ast.JSObjectNode.accept(JSObjectNode.java:39)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.addTypes(JSNodeTypeInferrer.java:160)
      	at com.aptana.editor.js.inferencing.JSNodeTypeInferrer.visit(JSNodeTypeInferrer.java:305)
      	at com.aptana.editor.js.parsing.ast.JSAssignmentNode.accept(JSAssignmentNode.java:84)
      	at com.aptana.editor.js.parsing.ast.JSTreeWalker.visit(JSTreeWalker.java:176)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.processValues(JSSymbolTypeInferrer.java:556)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:339)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getSymbolPropertyElement(JSSymbolTypeInferrer.java:376)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:282)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer$1.map(JSSymbolTypeInferrer.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:340)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:374)
      	at com.aptana.editor.js.inferencing.JSSymbolTypeInferrer.getScopeProperties(JSSymbolTypeInferrer.java:278)
      	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:114)
      	at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
      	at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:525)
      	at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:436)
      	at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:413)
      	at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:307)
      	at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:153)
      	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

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                thomas.mery Thomas Mery
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration