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] | 3 years ago
  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 | 3 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 | 3 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
  3. 0

    If an error occurs with the CLI Tool, just the HTTP response code is returned to the user. It would be helpful to include more information if the response from the API includes an error message. Creating a review with the CLI Tool and a title greater than 255 characters results in the following error which provides no indication of why this is a bad request: {noformat}crucible.py CR --title "Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters." Received an unexpected response HTTP Error 400: Bad Request. Please check that http://<SERVER>:8060 is a Crucible server{noformat} But, if trying to create a review with a title greater than 255 characters, the REST API returns the following error response: *HTTP/1.1 400 Bad Request* {noformat}<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><code>IllegalArgument</code><message>The value 'HD-17399 HC2 only - Crash was becuase of stale reference of unit object in the port object after maincard get deleted. This is only applicable to HC2 becuase of not having BCM on line cards.Solution was not to use the unit_obj reference in port object, rather use the mainboard's unit_obj. read comment section' for the property 'name' is too long. It should have a maximum length of 255</message><stacktrace>java.lang.IllegalArgumentException: The value 'HD-17399 HC2 only - Crash was becuase of stale reference of unit object in the port object after maincard get deleted. This is only applicable to HC2 becuase of not having BCM on line cards.Solution was not to use the unit_obj reference in port object, rather use the mainboard's unit_obj. read comment section' for the property 'name' is too long. It should have a maximum length of 255 at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25) ...{noformat}

    Atlassian JIRA | 2 years ago | Jeff Thomas
    java.lang.IllegalArgumentException: The value 'HD-17399 HC2 only - Crash was becuase of stale reference of unit object in the port object after maincard get deleted. This is only applicable to HC2 becuase of not having BCM on line cards.Solution was not to use the unit_obj reference in port object, rather use the mainboard's unit_obj. read comment section' for the property 'name' is too long. It should have a maximum length of 255
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If an error occurs with the CLI Tool, just the HTTP response code is returned to the user. It would be helpful to include more information if the response from the API includes an error message. Creating a review with the CLI Tool and a title greater than 255 characters results in the following error which provides no indication of why this is a bad request: {noformat}crucible.py CR --title "Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters. Sample text to get over 255 characters." Received an unexpected response HTTP Error 400: Bad Request. Please check that http://<SERVER>:8060 is a Crucible server{noformat} But, if trying to create a review with a title greater than 255 characters, the REST API returns the following error response: *HTTP/1.1 400 Bad Request* {noformat}<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error><code>IllegalArgument</code><message>The value 'HD-17399 HC2 only - Crash was becuase of stale reference of unit object in the port object after maincard get deleted. This is only applicable to HC2 becuase of not having BCM on line cards.Solution was not to use the unit_obj reference in port object, rather use the mainboard's unit_obj. read comment section' for the property 'name' is too long. It should have a maximum length of 255</message><stacktrace>java.lang.IllegalArgumentException: The value 'HD-17399 HC2 only - Crash was becuase of stale reference of unit object in the port object after maincard get deleted. This is only applicable to HC2 becuase of not having BCM on line cards.Solution was not to use the unit_obj reference in port object, rather use the mainboard's unit_obj. read comment section' for the property 'name' is too long. It should have a maximum length of 255 at com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25) ...{noformat}

    Atlassian JIRA | 2 years ago | Jeff Thomas
    java.lang.IllegalArgumentException: The value 'HD-17399 HC2 only - Crash was becuase of stale reference of unit object in the port object after maincard get deleted. This is only applicable to HC2 becuase of not having BCM on line cards.Solution was not to use the unit_obj reference in port object, rather use the mainboard's unit_obj. read comment section' for the property 'name' is too long. It should have a maximum length of 255
  6. 0

    Question on write failures logs show Uncaught exception on thread Thread[MutationStage-1,5,main]

    Google Groups | 1 month ago | George Webster
    java.lang.IllegalArgumentException: Mutation of 16.011MiB is too large for the maximum size of 16.000MiB

    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

      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