java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions

Atlassian JIRA | Nick Pellow [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When two commits in a single repository are made concurrently and both receive an identical timestamp from the SCM, FishEye will be able to index past the changeset. FishEye Fails with the following: {code} 2011-07-04 09:29:45,118 ERROR [InitialPinger1 TorontoRD] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo TorontoRD due to class java.lang.IllegalArgumentException - Cannot create a position that is between two identical positions java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions at com.cenqua.fisheye.rep.Position.createBetween(Position.java:157) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.createPositionForDate(CommonChangeSetDAO.java:493) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.determinePosition(CommonChangeSetDAO.java:384) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeAttributes(CommonChangeSetDAO.java:370) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:39) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:19) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeWithoutLimits(CommonChangeSetDAO.java:271) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.store(CommonChangeSetDAO.java:258) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.processChangeSet(DiffChangeSetProcessor.java:370) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:304) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:431) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:301) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:268) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:201) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:90) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2011-07-04 09:29:45,123 ERROR [InitialPinger1 TorontoRD] fisheye.app BaseRepositoryScanner-handleSlurpException - Repository scanner paused. {code} One work-around for this currently is to modify the timestamp in the SCM of one of the changesets.

    Atlassian JIRA | 6 years ago | Nick Pellow [Atlassian]
    java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions
  2. 0

    When two commits in a single repository are made concurrently and both receive an identical timestamp from the SCM, FishEye will be able to index past the changeset. FishEye Fails with the following: {code} 2011-07-04 09:29:45,118 ERROR [InitialPinger1 TorontoRD] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo TorontoRD due to class java.lang.IllegalArgumentException - Cannot create a position that is between two identical positions java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions at com.cenqua.fisheye.rep.Position.createBetween(Position.java:157) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.createPositionForDate(CommonChangeSetDAO.java:493) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.determinePosition(CommonChangeSetDAO.java:384) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeAttributes(CommonChangeSetDAO.java:370) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:39) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:19) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeWithoutLimits(CommonChangeSetDAO.java:271) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.store(CommonChangeSetDAO.java:258) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.processChangeSet(DiffChangeSetProcessor.java:370) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:304) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:431) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:301) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:268) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:201) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:90) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2011-07-04 09:29:45,123 ERROR [InitialPinger1 TorontoRD] fisheye.app BaseRepositoryScanner-handleSlurpException - Repository scanner paused. {code} One work-around for this currently is to modify the timestamp in the SCM of one of the changesets.

    Atlassian JIRA | 6 years ago | Nick Pellow [Atlassian]
    java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions
  3. 0

    This is another case where the "Cannot create Position that is between 2 identical positions" occurs. In 2.6.2 a similar issue (FE-3559) was fixed, but the same error has been reported on the 2.6.3 version. The stacktrace: 2011-08-15 10:58:51,718 ERROR [InitialPinger2 xyz] fisheye.app com.cenqua.fisheye.rep.BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo xyz due to class java.lang.IllegalArgumentException - Cannot create a position that is between two identical positions java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions at com.cenqua.fisheye.rep.Position.createBetween(Position.java:157) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.createPositionForDate(CommonChangeSetDAO.java:493) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.determinePosition(CommonChangeSetDAO.java:384) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeAttributes(CommonChangeSetDAO.java:370) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:39) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:19) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeWithoutLimits(CommonChangeSetDAO.java:271) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.store(CommonChangeSetDAO.java:258) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.processChangeSet(DiffChangeSetProcessor.java:370) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:304) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:431) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:299) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:266) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:199) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:90) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 6 years ago | Michael Heemskerk
    java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This is another case where the "Cannot create Position that is between 2 identical positions" occurs. In 2.6.2 a similar issue (FE-3559) was fixed, but the same error has been reported on the 2.6.3 version. The stacktrace: 2011-08-15 10:58:51,718 ERROR [InitialPinger2 xyz] fisheye.app com.cenqua.fisheye.rep.BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo xyz due to class java.lang.IllegalArgumentException - Cannot create a position that is between two identical positions java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions at com.cenqua.fisheye.rep.Position.createBetween(Position.java:157) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.createPositionForDate(CommonChangeSetDAO.java:493) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.determinePosition(CommonChangeSetDAO.java:384) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeAttributes(CommonChangeSetDAO.java:370) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:39) at com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:19) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeWithoutLimits(CommonChangeSetDAO.java:271) at com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.store(CommonChangeSetDAO.java:258) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.processChangeSet(DiffChangeSetProcessor.java:370) at com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:304) at com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:431) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153) at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:299) at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:266) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:199) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:90) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Atlassian JIRA | 6 years ago | Michael Heemskerk
    java.lang.IllegalArgumentException: Cannot create a position that is between two identical positions
  6. 0

    Universal Image Loader : IllegalArgumentException when using FileNameGenerator with extension

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: keys must match regex [a-z0-9_-] {1,64}: "1828294.jpg" at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.valida teKey(DiskLruCache.java:697) at com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.get(Di skLruCache.java:414) at com.nostra13.universalimageloader.cache.disc.impl.ext.LruDiscCache.get(Lr uDiscCache.java:133) at com.nostra13.universalimageloader.core.ImageLoaderEngine$1.run(ImageLoade rEngine.java:72) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java :1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav a:587)

    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

      Cannot create a position that is between two identical positions

      at com.cenqua.fisheye.rep.Position.createBetween()
    2. com.cenqua.fisheye
      PingRequest.run
      1. com.cenqua.fisheye.rep.Position.createBetween(Position.java:157)
      2. com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.createPositionForDate(CommonChangeSetDAO.java:493)
      3. com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.determinePosition(CommonChangeSetDAO.java:384)
      4. com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeAttributes(CommonChangeSetDAO.java:370)
      5. com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:39)
      6. com.cenqua.fisheye.svn.db.SvnChangeSetDAO.storeAttributes(SvnChangeSetDAO.java:19)
      7. com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.storeWithoutLimits(CommonChangeSetDAO.java:271)
      8. com.cenqua.fisheye.rep.impl.CommonChangeSetDAO.store(CommonChangeSetDAO.java:258)
      9. com.cenqua.fisheye.svn.DiffChangeSetProcessor.processChangeSet(DiffChangeSetProcessor.java:370)
      10. com.cenqua.fisheye.svn.DiffChangeSetProcessor.createChangeSet(DiffChangeSetProcessor.java:304)
      11. com.cenqua.fisheye.svn.SvnRepositoryScanner.slurpRevisionBlock(SvnRepositoryScanner.java:431)
      12. com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:153)
      13. com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:301)
      14. com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:268)
      15. com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:201)
      16. com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:90)
      17. com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:390)
      18. com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:25)
      19. com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:66)
      20. com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:132)
      21. com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:122)
      22. com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
      22 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames