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

Atlassian JIRA | Jeff Thomas | 2 years ago
  1. 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
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    deployed WAR file to tomcat: **java.lang.IllegalArgumentException: No implementation of method: :on-close of protocol: #'org.httpkit.server/Channel found for class: nil

    GitHub | 10 months ago | shaulid
    java.lang.IllegalArgumentException: No implementation of method: :on-close of protocol: #'org.httpkit.server/Channel found for class: nil ** I am using http-kit with sente. I am deploying a WAR file to openshift tomcat cartridge, which I created using lein-ring: using the command: lein uberwar. I copy it to /webapps dir as ROOT.war and the WAR file is loaded OK and my webapp is loaded OK. The exception occurs at this line: (GET "/chsk" req (ring-ajax-get-or-ws-handshake req)) - as in the Sente examples. The exception does NOT happen when I don't use a WAR file and just run it locally using: lein run The line at sente.clj where the exception occurs:

    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 '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()
    2. com.cenqua.crucible
      PropertyLengthCheckerListener.checkEntity
      1. com.cenqua.crucible.hibernate.PropertyLengthCheckerListener.checkEntity(PropertyLengthCheckerListener.java:25)
      1 frame