java.lang.Exception: History command failed when trying to get the latest transaction of type add

Jenkins JIRA | Daisuke TASAKI | 3 years ago
  1. 0

    AccuRev plugin reports some errros as below while polling a repository or after populate. I think the errors caused by the differences of encoding like: * "accurev.exe hist" command outputs XML data as UTF-8 * AccuRev plugin reads the XML data as MS932 --- AccuRev plugin's output: {noformat} [workspace] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H XXXX.com:5050 -fx -p XXXX -s XXXX -t now.1 -k add FATAL: YYYY.com: History command ("C:\Program Files\AccuRev\bin\accurev.exe" hist -H XXXX.com:5050 -fx -p XXXXX -s XXXX -t now.1 -k add) failed with org.xmlpull.v1.XmlPullParserException: end tag name </AcResponse> must match start tag name <message> from line 5 (position: TEXT seen ...sage>\u9a55\uff78\u8b1a\u69eb\uff6f\uff7e\u96ce\uff61\u7e3a\uff6b\u87c7\uff7e\u8822\u61ca\u2606\u7e67\u4e5d\u30f2\u7e67\uff79\u7e5d\u533b\u39c\u7e5d\uff7c\u7e3a\uff6f\u7e3a\u3085\uff4a\u7e3a\uff7e\u7e3a\u5e19\uff53\u7e32\ufffd/message>\r\n</AcResponse>... @6:14) org.xmlpull.v1.XmlPullParserException: end tag name </AcResponse> must match start tag name <message> from line 5 (position: TEXT seen ...sage>\u9a55\uff78\u8b1a\u69eb\uff6f\uff7e\u96ce\uff61\u7e3a\uff6b\u87c7\uff7e\u8822\u61ca\u2606\u7e67\u4e5d\u30f2\u7e67\uff79\u7e5d\u533b\u39c\u7e5d\uff7c\u7e3a\uff6f\u7e3a\u3085\uff4a\u7e3a\uff7e\u7e3a\u5e19\uff53\u7e32\ufffd/message>\r\n</AcResponse>... @6:14) at org.xmlpull.mxp1.MXParser.parseEndTag(MXParser.java:1689) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1131) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at hudson.plugins.accurev.ParseHistory.parse(ParseHistory.java:16) at hudson.plugins.accurev.ParseHistory.parse(ParseHistory.java:12) at hudson.plugins.accurev.AccurevLauncher$1.parse(AccurevLauncher.java:200) at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:294) at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:190) at hudson.plugins.accurev.AccurevSCM.getLatestTransaction(AccurevSCM.java:1173) at hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:1101) at hudson.plugins.accurev.AccurevSCM.pollChanges(AccurevSCM.java:810) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1588) at hudson.model.AbstractProject._poll(AbstractProject.java:1558) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) getLatestTransaction failed when checking the stream XXXX for changes with transaction type add java.lang.Exception: History command failed when trying to get the latest transaction of type add at hudson.plugins.accurev.AccurevSCM.getLatestTransaction(AccurevSCM.java:1179) at hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:1101) at hudson.plugins.accurev.AccurevSCM.pollChanges(AccurevSCM.java:810) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1588) at hudson.model.AbstractProject._poll(AbstractProject.java:1558) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat} --- "accurev.exe hist" command's output: {code:xml} <?xml version="1.0" encoding="utf-8"?> <AcResponse Command="hist" TaskId="75373"> <message>選択対象に対応するヒストリーはありません。</message> </AcResponse> {code}

    Jenkins JIRA | 3 years ago | Daisuke TASAKI
    java.lang.Exception: History command failed when trying to get the latest transaction of type add
  2. 0

    AccuRev plugin reports some errros as below while polling a repository or after populate. I think the errors caused by the differences of encoding like: * "accurev.exe hist" command outputs XML data as UTF-8 * AccuRev plugin reads the XML data as MS932 --- AccuRev plugin's output: {noformat} [workspace] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H XXXX.com:5050 -fx -p XXXX -s XXXX -t now.1 -k add FATAL: YYYY.com: History command ("C:\Program Files\AccuRev\bin\accurev.exe" hist -H XXXX.com:5050 -fx -p XXXXX -s XXXX -t now.1 -k add) failed with org.xmlpull.v1.XmlPullParserException: end tag name </AcResponse> must match start tag name <message> from line 5 (position: TEXT seen ...sage>\u9a55\uff78\u8b1a\u69eb\uff6f\uff7e\u96ce\uff61\u7e3a\uff6b\u87c7\uff7e\u8822\u61ca\u2606\u7e67\u4e5d\u30f2\u7e67\uff79\u7e5d\u533b\u39c\u7e5d\uff7c\u7e3a\uff6f\u7e3a\u3085\uff4a\u7e3a\uff7e\u7e3a\u5e19\uff53\u7e32\ufffd/message>\r\n</AcResponse>... @6:14) org.xmlpull.v1.XmlPullParserException: end tag name </AcResponse> must match start tag name <message> from line 5 (position: TEXT seen ...sage>\u9a55\uff78\u8b1a\u69eb\uff6f\uff7e\u96ce\uff61\u7e3a\uff6b\u87c7\uff7e\u8822\u61ca\u2606\u7e67\u4e5d\u30f2\u7e67\uff79\u7e5d\u533b\u39c\u7e5d\uff7c\u7e3a\uff6f\u7e3a\u3085\uff4a\u7e3a\uff7e\u7e3a\u5e19\uff53\u7e32\ufffd/message>\r\n</AcResponse>... @6:14) at org.xmlpull.mxp1.MXParser.parseEndTag(MXParser.java:1689) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1131) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at hudson.plugins.accurev.ParseHistory.parse(ParseHistory.java:16) at hudson.plugins.accurev.ParseHistory.parse(ParseHistory.java:12) at hudson.plugins.accurev.AccurevLauncher$1.parse(AccurevLauncher.java:200) at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:294) at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:190) at hudson.plugins.accurev.AccurevSCM.getLatestTransaction(AccurevSCM.java:1173) at hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:1101) at hudson.plugins.accurev.AccurevSCM.pollChanges(AccurevSCM.java:810) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1588) at hudson.model.AbstractProject._poll(AbstractProject.java:1558) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) getLatestTransaction failed when checking the stream XXXX for changes with transaction type add java.lang.Exception: History command failed when trying to get the latest transaction of type add at hudson.plugins.accurev.AccurevSCM.getLatestTransaction(AccurevSCM.java:1179) at hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:1101) at hudson.plugins.accurev.AccurevSCM.pollChanges(AccurevSCM.java:810) at hudson.scm.SCM.poll(SCM.java:375) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1588) at hudson.model.AbstractProject._poll(AbstractProject.java:1558) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat} --- "accurev.exe hist" command's output: {code:xml} <?xml version="1.0" encoding="utf-8"?> <AcResponse Command="hist" TaskId="75373"> <message>選択対象に対応するヒストリーはありません。</message> </AcResponse> {code}

    Jenkins JIRA | 3 years ago | Daisuke TASAKI
    java.lang.Exception: History command failed when trying to get the latest transaction of type add
  3. 0

    Carbon Level 2 Issues (WSO2 JIRA)

    wso2.org | 6 months ago
    java.lang.Exception: Failed to get existing details of the tenant:wso2.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to find kevoree.JavaNode

    GitHub | 3 weeks ago | alliSoftwareAG
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kevoree.tools:org.kevoree.tools.mavenplugin:5.4.0-SNAPSHOT:run (default-cli) on project apamaTest2: Something went wrong
  6. 0

    TDIing out loud: March 2011

    tdiingoutloud.com | 4 months ago
    java.lang.Exception: CTGDKC002E Failed to execute the command. NotesException occurred: Invalid object type for method argument

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

      History command failed when trying to get the latest transaction of type add

      at hudson.plugins.accurev.AccurevSCM.getLatestTransaction()
    2. hudson.plugins.accurev
      AccurevSCM.pollChanges
      1. hudson.plugins.accurev.AccurevSCM.getLatestTransaction(AccurevSCM.java:1179)
      2. hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:1101)
      3. hudson.plugins.accurev.AccurevSCM.pollChanges(AccurevSCM.java:810)
      3 frames
    3. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.SCM.poll(SCM.java:375)
      2. hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1588)
      3. hudson.model.AbstractProject._poll(AbstractProject.java:1558)
      4. hudson.model.AbstractProject.poll(AbstractProject.java:1490)
      5. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      6. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      7. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      7 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames