Project: appceleratorstudio
Issue TISTUD-3989: "Illegal initial capacity" error when reading the index
Saw this on one of the logs: {code} java.lang.IllegalArgumentException: Illegal initial capacity: -1 java.util.HashMap.(HashMap.java:172) java.util.HashMap.(HashMap.java:199) com.aptana.internal.index.core.DiskIndex.readCategoryTable(DiskIndex.java:1101) com.aptana.internal.index.core.DiskIndex.mergeCategory(DiskIndex.java:795) com.aptana.internal.index.core.DiskIndex.mergeCategories(DiskIndex.java:768) com.aptana.internal.index.core.DiskIndex.mergeWith(DiskIndex.java:929) com.aptana.index.core.Index.save(Index.java:698) com.aptana.index.core.Index.save(Index.java:671) com.aptana.core.internal.build.IndexBuildParticipant.buildEnding(IndexBuildParticipant.java:66) com.aptana.core.internal.build.LazyBuildParticipant.buildEnding(LazyBuildParticipant.java:67) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.runParticipants(CommonReconcilingStrategy.java:341) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:277) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:235) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.fullReconcile(CommonReconcilingStrategy.java:477) com.aptana.editor.common.text.reconciler.CompositeReconcilingStrategy.fullReconcile(CompositeReconcilingStrategy.java:125) com.aptana.editor.common.text.reconciler.CommonReconciler.process(CommonReconciler.java:162) org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206) {code}
Story points: 5