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
  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"
  3. 0

    Error from the logs: {noformat} 2009-01-15 13:22:14,735 DEBUG [pool-2-thread-1] fisheye.app P4CliUtils-dumpCommandLine - [サーバ名:1666//2008] Executing p4 -p サーバ名:1666 -C utf8 -u fisheye branch -o ISIS(Lecce1Lecce2Mainz) 2009-01-15 13:22:14,751 DEBUG [pool-2-thread-1] fisheye.app P4Exec-processCommand - [サーバ名:1666//2008] Command failed with status = Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments. * retrying with fresh login 2009-01-15 13:22:14,751 DEBUG [pool-2-thread-1] fisheye.app P4CliUtils-dumpCommandLine - [サーバ名:1666//2008] Executing p4 -p サーバ名:1666 -C utf8 -u fisheye login 2009-01-15 13:22:14,798 ERROR [pool-2-thread-1] fisheye.app RepositoryScanner-slurp - Problem processing revisions from repo サーバ名:1666//2008 due to class com.cenqua.fisheye.perforce.client.P4ClientException - Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments. com.cenqua.fisheye.perforce.client.P4ClientException: Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments. at com.cenqua.fisheye.perforce.client.P4Client.getBranchSpec(P4Client.java:599) at com.cenqua.fisheye.perforce.P4Scanner.loadBranchInfo(P4Scanner.java:164) at com.cenqua.fisheye.perforce.P4Scanner.updateBranchMappings(P4Scanner.java:153) {noformat}

    Atlassian JIRA | 8 years ago | Ming Giet Chong [Atlassian]
    com.cenqua.fisheye.perforce.client.P4ClientException: Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error from the logs: {noformat} 2009-01-15 13:22:14,735 DEBUG [pool-2-thread-1] fisheye.app P4CliUtils-dumpCommandLine - [サーバ名:1666//2008] Executing p4 -p サーバ名:1666 -C utf8 -u fisheye branch -o ISIS(Lecce1Lecce2Mainz) 2009-01-15 13:22:14,751 DEBUG [pool-2-thread-1] fisheye.app P4Exec-processCommand - [サーバ名:1666//2008] Command failed with status = Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments. * retrying with fresh login 2009-01-15 13:22:14,751 DEBUG [pool-2-thread-1] fisheye.app P4CliUtils-dumpCommandLine - [サーバ名:1666//2008] Executing p4 -p サーバ名:1666 -C utf8 -u fisheye login 2009-01-15 13:22:14,798 ERROR [pool-2-thread-1] fisheye.app RepositoryScanner-slurp - Problem processing revisions from repo サーバ名:1666//2008 due to class com.cenqua.fisheye.perforce.client.P4ClientException - Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments. com.cenqua.fisheye.perforce.client.P4ClientException: Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments. at com.cenqua.fisheye.perforce.client.P4Client.getBranchSpec(P4Client.java:599) at com.cenqua.fisheye.perforce.P4Scanner.loadBranchInfo(P4Scanner.java:164) at com.cenqua.fisheye.perforce.P4Scanner.updateBranchMappings(P4Scanner.java:153) {noformat}

    Atlassian JIRA | 8 years ago | Ming Giet Chong [Atlassian]
    com.cenqua.fisheye.perforce.client.P4ClientException: Command failed to execute - non-zero exit code: 1 - Usage: branch -o branchname Missing/wrong number of arguments.
  6. 0

    {noformat}... sun.io.MalformedInputException at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:262) at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:316) at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:366) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:252) at java.io.InputStreamReader.read(InputStreamReader.java:212) at java.io.BufferedReader.fill(BufferedReader.java:157) at java.io.BufferedReader.readLine(BufferedReader.java:320) at java.io.BufferedReader.readLine(BufferedReader.java:383) at com.cenqua.fisheye.perforce.client.P4OutputLineProcessor.processOutput(P4OutputLineProcessor.java:29) at com.cenqua.fisheye.perforce.client.P4Exec$4.processOutput(P4Exec.java:180) at com.cenqua.fisheye.perforce.client.P4Process$2.doTask(P4Process.java:130) at com.cenqua.fisheye.util.LatchedRunnable.run(LatchedRunnable.java:19) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811) .............. sun.io.MalformedInputException:null : com.cenqua.fisheye.perforce.client.P4ClientException: sun.io.MalformedInputException:null : at com.cenqua.fisheye.perforce.client.P4Client.getChangeLists(P4Client.java:138) at com.cenqua.fisheye.perforce.P4Scanner.slurpRevisionBlock(P4Scanner.java:173) at com.cenqua.fisheye.rep.RepositoryScanner.processRevisions(RepositoryScanner.java:410) at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(RepositoryScanner.java:284) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:203) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:131) at com.cenqua.fisheye.perforce.P4RepositoryEngine.doSlurp(P4RepositoryEngine.java:75) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:342) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:90) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:123) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:113) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:57) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811) {noformat} {noformat} ... change 28307 ... time 1267455428 ... user g_sspana ... client g_sspana_G ... status submitted ... desc Issue with build player on build machine: error: "The system cannot find the batch label specified - player" but label exists {noformat} a non-ascii, non UTF-8 char in their description workaround : set charset in a p4 repo in FishEye

    Atlassian JIRA | 6 years ago | Tracey Lum [Atlassian]
    com.cenqua.fisheye.perforce.client.P4ClientException: sun.io.MalformedInputException:null :

    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. 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