com.cenqua.fisheye.perforce.client.P4ClientException: java.lang.NumberFormatException:For input string: "<div id="random"><b>HTML"

Atlassian JIRA | Partha Kamal [Atlassian] | 8 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 customer p4 annotate command e.g. {noformat} p4 annotate -c -q //depot/path/to/file {noformat} Returns something like below: {noformat} ... 61508: set line of code 62709: line of code <div id="random"><b>HTML:</b> .... {noformat} Then we will get the following error: {noformat} 2008-11-17 14:33:30,401 ERROR [btpool0-17] fisheye.app P4Cache-getBlame - Exception getting annotation for file@62709 com.cenqua.fisheye.perforce.client.P4ClientException: java.lang.NumberFormatException:For input string: "<div id="random"><b>HTML" at com.cenqua.fisheye.perforce.client.P4Client.getBlame(P4Client.java:396) at com.cenqua.fisheye.perforce.P4Cache.getBlame(P4Cache.java:282) at com.cenqua.crucible.revision.source.RepositorySource.getBlame(RepositorySource.java:289) at com.cenqua.crucible.view.AnnotateDO.<init>(AnnotateDO.java:43) at com.cenqua.crucible.tags.AnnotatorTag.doStartTag(AnnotatorTag.java:34) at org.apache.jsp.tag.web.review.frxInner_tag.doTag(frxInner_tag.java:281) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_rev_frxInner_0(displayFrxInnerDiv_jsp.java:195) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_cru_asJavascriptString_1(displayFrxInnerDiv_jsp.java:162) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(displayFrxInnerDiv_jsp.java:78) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) {noformat} As fisheye is expecting everyline to start with <changelist>: where changelist is a number. From case [CRC-367]

    Atlassian JIRA | 8 years ago | Partha Kamal [Atlassian]
    com.cenqua.fisheye.perforce.client.P4ClientException: java.lang.NumberFormatException:For input string: "<div id="random"><b>HTML"
  2. 0

    If a customer p4 annotate command e.g. {noformat} p4 annotate -c -q //depot/path/to/file {noformat} Returns something like below: {noformat} ... 61508: set line of code 62709: line of code <div id="random"><b>HTML:</b> .... {noformat} Then we will get the following error: {noformat} 2008-11-17 14:33:30,401 ERROR [btpool0-17] fisheye.app P4Cache-getBlame - Exception getting annotation for file@62709 com.cenqua.fisheye.perforce.client.P4ClientException: java.lang.NumberFormatException:For input string: "<div id="random"><b>HTML" at com.cenqua.fisheye.perforce.client.P4Client.getBlame(P4Client.java:396) at com.cenqua.fisheye.perforce.P4Cache.getBlame(P4Cache.java:282) at com.cenqua.crucible.revision.source.RepositorySource.getBlame(RepositorySource.java:289) at com.cenqua.crucible.view.AnnotateDO.<init>(AnnotateDO.java:43) at com.cenqua.crucible.tags.AnnotatorTag.doStartTag(AnnotatorTag.java:34) at org.apache.jsp.tag.web.review.frxInner_tag.doTag(frxInner_tag.java:281) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_rev_frxInner_0(displayFrxInnerDiv_jsp.java:195) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_cru_asJavascriptString_1(displayFrxInnerDiv_jsp.java:162) at org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(displayFrxInnerDiv_jsp.java:78) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) {noformat} As fisheye is expecting everyline to start with <changelist>: where changelist is a number. From case [CRC-367]

    Atlassian JIRA | 8 years ago | Partha Kamal [Atlassian]
    com.cenqua.fisheye.perforce.client.P4ClientException: java.lang.NumberFormatException:For input string: "<div id="random"><b>HTML"

    Root Cause Analysis

    1. com.cenqua.fisheye.perforce.client.P4ClientException

      java.lang.NumberFormatException:For input string: "<div id="random"><b>HTML"

      at com.cenqua.fisheye.perforce.client.P4Client.getBlame()
    2. com.cenqua.fisheye
      P4Cache.getBlame
      1. com.cenqua.fisheye.perforce.client.P4Client.getBlame(P4Client.java:396)
      2. com.cenqua.fisheye.perforce.P4Cache.getBlame(P4Cache.java:282)
      2 frames
    3. com.cenqua.crucible
      AnnotatorTag.doStartTag
      1. com.cenqua.crucible.revision.source.RepositorySource.getBlame(RepositorySource.java:289)
      2. com.cenqua.crucible.view.AnnotateDO.<init>(AnnotateDO.java:43)
      3. com.cenqua.crucible.tags.AnnotatorTag.doStartTag(AnnotatorTag.java:34)
      3 frames
    4. org.apache.jsp
      displayFrxInnerDiv_jsp._jspService
      1. org.apache.jsp.tag.web.review.frxInner_tag.doTag(frxInner_tag.java:281)
      2. org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_rev_frxInner_0(displayFrxInnerDiv_jsp.java:195)
      3. org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspx_meth_cru_asJavascriptString_1(displayFrxInnerDiv_jsp.java:162)
      4. org.apache.jsp.WEB_002dINF.jsp.crucible.review.monolithic.displayFrxInnerDiv_jsp._jspService(displayFrxInnerDiv_jsp.java:78)
      4 frames
    5. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
      1 frame
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    7. Jetty Server
      ServletHolder.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      1 frame