java.lang.IllegalArgumentException: Bug: pops and pushes are out of whack!

Spring JIRA | Dave Syer | 2 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

    I get this error in the error log right now with a boot 1.3.0 SNAPSHOT. {code} !ENTRY org.springsource.ide.eclipse.commons.frameworks.core 4 0 2015-07-09 12:56:01.586 !MESSAGE Bug: pops and pushes are out of whack! !STACK 0 java.lang.IllegalArgumentException: Bug: pops and pushes are out of whack! at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery$MyHandler.dispose(SpringBootTypeDiscovery.java:278) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.parseFrom(SpringBootTypeDiscovery.java:363) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.access$3(SpringBootTypeDiscovery.java:355) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery$1.exec(SpringBootTypeDiscovery.java:417) at org.springsource.ide.eclipse.commons.frameworks.core.downloadmanager.DownloadManager.doWithDownload(DownloadManager.java:185) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.createGraph(SpringBootTypeDiscovery.java:414) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.getTypes(SpringBootTypeDiscovery.java:324) at org.springsource.ide.eclipse.commons.completions.externaltype.indexing.SimpleExternalTypeIndexer.addFrom(SimpleExternalTypeIndexer.java:73) at org.springsource.ide.eclipse.commons.completions.externaltype.ExternalTypeIndexManager$1.run(ExternalTypeIndexManager.java:97) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} The error is logged repeatedly as the Jar type CA engine keeps retrying periodically to get the type-graph. It could be the type-graph contains some unexpected / unusual data. In any case the error is an indication that there's some kind of a bug in the parser for that xml.

    SpringSource Issue Tracker | 2 years ago | Kris De Volder (c)
    java.lang.IllegalArgumentException: Bug: pops and pushes are out of whack!
  2. 0
  3. 0

    I get this error in the error log right now with a boot 1.3.0 SNAPSHOT. {code} !ENTRY org.springsource.ide.eclipse.commons.frameworks.core 4 0 2015-07-09 12:56:01.586 !MESSAGE Bug: pops and pushes are out of whack! !STACK 0 java.lang.IllegalArgumentException: Bug: pops and pushes are out of whack! at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery$MyHandler.dispose(SpringBootTypeDiscovery.java:278) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.parseFrom(SpringBootTypeDiscovery.java:363) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.access$3(SpringBootTypeDiscovery.java:355) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery$1.exec(SpringBootTypeDiscovery.java:417) at org.springsource.ide.eclipse.commons.frameworks.core.downloadmanager.DownloadManager.doWithDownload(DownloadManager.java:185) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.createGraph(SpringBootTypeDiscovery.java:414) at org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.getTypes(SpringBootTypeDiscovery.java:324) at org.springsource.ide.eclipse.commons.completions.externaltype.indexing.SimpleExternalTypeIndexer.addFrom(SimpleExternalTypeIndexer.java:73) at org.springsource.ide.eclipse.commons.completions.externaltype.ExternalTypeIndexManager$1.run(ExternalTypeIndexManager.java:97) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} The error is logged repeatedly as the Jar type CA engine keeps retrying periodically to get the type-graph. It could be the type-graph contains some unexpected / unusual data. In any case the error is an indication that there's some kind of a bug in the parser for that xml.

    SpringSource Issue Tracker | 2 years ago | Kris De Volder (c)
    java.lang.IllegalArgumentException: Bug: pops and pushes are out of whack!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    Wrap JAR as OSGi Bundle Project fails on junit-dep-4.10.jar

    GitHub | 5 years ago | BryanHunt
    java.lang.IllegalArgumentException: Path for project must have only one segment.

    6 unregistered visitors
    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

      Bug: pops and pushes are out of whack!

      at org.eclipse.core.runtime.Assert.isLegal()
    2. Eclipse Core
      Assert.isLegal
      1. org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
      1 frame
    3. org.springframework.ide
      SpringBootTypeDiscovery$1.exec
      1. org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery$MyHandler.dispose(SpringBootTypeDiscovery.java:278)
      2. org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.parseFrom(SpringBootTypeDiscovery.java:363)
      3. org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.access$3(SpringBootTypeDiscovery.java:355)
      4. org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery$1.exec(SpringBootTypeDiscovery.java:417)
      4 frames
    4. org.springsource.ide
      DownloadManager.doWithDownload
      1. org.springsource.ide.eclipse.commons.frameworks.core.downloadmanager.DownloadManager.doWithDownload(DownloadManager.java:185)
      1 frame
    5. org.springframework.ide
      SpringBootTypeDiscovery.getTypes
      1. org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.createGraph(SpringBootTypeDiscovery.java:414)
      2. org.springframework.ide.eclipse.boot.completions.SpringBootTypeDiscovery.getTypes(SpringBootTypeDiscovery.java:324)
      2 frames
    6. org.springsource.ide
      ExternalTypeIndexManager$1.run
      1. org.springsource.ide.eclipse.commons.completions.externaltype.indexing.SimpleExternalTypeIndexer.addFrom(SimpleExternalTypeIndexer.java:73)
      2. org.springsource.ide.eclipse.commons.completions.externaltype.ExternalTypeIndexManager$1.run(ExternalTypeIndexManager.java:97)
      2 frames
    7. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame