java.lang.IllegalArgumentException: Illegal initial capacity: -1

Appcelerator JIRA | Shalom Gibly | 4 years ago
  1. 0

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

    Appcelerator JIRA | 4 years ago | Shalom Gibly
    java.lang.IllegalArgumentException: Illegal initial capacity: -1
  2. 0

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

    Appcelerator JIRA | 4 years ago | Shalom Gibly
    java.lang.IllegalArgumentException: Illegal initial capacity: -1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Limiting the max size of a HashMap in Java

    Stack Overflow | 6 years ago | andandandand
    java.lang.IllegalArgumentException: Illegal load factor: 0.0
  5. 0

    Minecraft Server stürzt ständig ab. (Plugin)

    gutefrage.net | 1 year ago
    java.lang.IllegalArgumentException: Illegal load factor: 0.0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Illegal initial capacity: -1

      at java.util.HashMap.<init>()
    2. Java RT
      HashMap.<init>
      1. java.util.HashMap.<init>(HashMap.java:172)
      2. java.util.HashMap.<init>(HashMap.java:199)
      2 frames
    3. com.aptana.internal
      DiskIndex.mergeWith
      1. com.aptana.internal.index.core.DiskIndex.readCategoryTable(DiskIndex.java:1101)
      2. com.aptana.internal.index.core.DiskIndex.mergeCategory(DiskIndex.java:795)
      3. com.aptana.internal.index.core.DiskIndex.mergeCategories(DiskIndex.java:768)
      4. com.aptana.internal.index.core.DiskIndex.mergeWith(DiskIndex.java:929)
      4 frames
    4. com.aptana.index
      Index.save
      1. com.aptana.index.core.Index.save(Index.java:698)
      2. com.aptana.index.core.Index.save(Index.java:671)
      2 frames
    5. com.aptana.core
      LazyBuildParticipant.buildEnding
      1. com.aptana.core.internal.build.IndexBuildParticipant.buildEnding(IndexBuildParticipant.java:66)
      2. com.aptana.core.internal.build.LazyBuildParticipant.buildEnding(LazyBuildParticipant.java:67)
      2 frames
    6. com.aptana.editor
      CommonReconciler.process
      1. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.runParticipants(CommonReconcilingStrategy.java:341)
      2. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:277)
      3. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:235)
      4. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.fullReconcile(CommonReconcilingStrategy.java:477)
      5. com.aptana.editor.common.text.reconciler.CompositeReconcilingStrategy.fullReconcile(CompositeReconcilingStrategy.java:125)
      6. com.aptana.editor.common.text.reconciler.CommonReconciler.process(CommonReconciler.java:162)
      6 frames
    7. JFace Text
      AbstractReconciler$BackgroundThread.run
      1. org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
      1 frame