java.lang.IllegalArgumentException: The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80

Atlassian JIRA | Kah Loun Foong [Atlassian] | 4 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

    If a repository is added into FishEye/Crucible with more than 80 characters, it's commits can't be added into a review: {noformat} 2013-07-22 17:56:13,992 WARN [qtp650484437-1332 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - /cru/CR-1/edit-changelog/ java.lang.IllegalArgumentException: The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80 at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25) at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.onFlushDirty(PropertyLengthCheckerListener.java:12) at com.cenqua.crucible.hibernate.HibernateListenerInterceptor.onFlushDirty(HibernateListenerInterceptor.java:34) at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372) at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155) {noformat} FishEye/Crucible should have checked and limit the repository name when it is added into the server.

    Atlassian JIRA | 4 years ago | Kah Loun Foong [Atlassian]
    java.lang.IllegalArgumentException: The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80
  2. 0

    If a repository is added into FishEye/Crucible with more than 80 characters, it's commits can't be added into a review: {noformat} 2013-07-22 17:56:13,992 WARN [qtp650484437-1332 ] org.eclipse.jetty.servlet.ServletHandler ServletHandler-doHandle - /cru/CR-1/edit-changelog/ java.lang.IllegalArgumentException: The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80 at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25) at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.onFlushDirty(PropertyLengthCheckerListener.java:12) at com.cenqua.crucible.hibernate.HibernateListenerInterceptor.onFlushDirty(HibernateListenerInterceptor.java:34) at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372) at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155) {noformat} FishEye/Crucible should have checked and limit the repository name when it is added into the server.

    Atlassian JIRA | 4 years ago | Kah Loun Foong [Atlassian]
    java.lang.IllegalArgumentException: The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The value 'testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest' for the property 'defaultSource' is too long. It should have a maximum length of 80

      at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity()
    2. com.cenqua.crucible
      HibernateListenerInterceptor.onFlushDirty
      1. com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25)
      2. com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.onFlushDirty(PropertyLengthCheckerListener.java:12)
      3. com.cenqua.crucible.hibernate.HibernateListenerInterceptor.onFlushDirty(HibernateListenerInterceptor.java:34)
      3 frames
    3. Hibernate
      DefaultFlushEntityEventListener.onFlushEntity
      1. org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372)
      2. org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349)
      3. org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287)
      4. org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155)
      4 frames