[Anthill-pro] Bugzilla Integration

Heather Wells heather at semanticresearch.com
Tue Jul 1 17:05:30 CDT 2008


So far I'm not having luck with the Bugzilla integration.  I've  
followed the steps in the manual.

When it tries to add a comment to Bugzilla I get this error:

2008-07-01 15:01:42,563 WARN job/271/16 8 0 - Going to buffer response  
body of large or unknown size. Using getResponseBodyAsStream instead  
is recommended.
  2008-07-01 15:01:44,468 WARN job/271/16 8 0 - Going to buffer  
response body of large or unknown size. Using getResponseBodyAsStream  
instead is recommended.
  2008-07-01 15:01:44,495 ERROR job/271/16 8 0 - Exception :
  java.security.PrivilegedActionException:  
org.apache.bsf.BSFException: The application script threw an  
exception: java.lang.IllegalStateException: Failed to add comment BSF  
info: scripts/bugzilla/add-comment.bsh at line: 0 column: columnNo
   at  
java.security.AccessController.doPrivileged(AccessController.java:250)
   at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
   at  
com 
.urbancode 
.command 
.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java: 
58)
   at  
com 
.urbancode 
.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:675)
   at  
com 
.urbancode 
.anthill3 
.step 
.integration 
.bugs 
.bugzilla.BugzillaAddCommentsStep.perform(BugzillaAddCommentsStep.java: 
129)
   at  
com 
.urbancode 
.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:274)
   at  
com 
.urbancode 
.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:347)
   at  
com 
.urbancode 
.anthill3 
.services 
.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:259)
   at com.urbancode.anthill3.services.jobs.Job.run(Job.java:156)
   at com.urbancode.commons.util.ThreadPool 
$WorkerThread.run(ThreadPool.java:208)
  Caused by: org.apache.bsf.BSFException: The application script threw  
an exception: java.lang.IllegalStateException: Failed to add comment  
BSF info: scripts/bugzilla/add-comment.bsh at line: 0 column: columnNo
   at  
com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:209)
   at  
com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
   at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
   at  
java.security.AccessController.doPrivileged(AccessController.java:246)
   ... 9 more
  2008-07-01 15:01:44,496 ERROR job/271/16 8 0 -  
java.lang.IllegalStateException: Failed to add comment

When it tries to publish a Bugzilla Bug Report I get this error:

2008-07-01 14:51:56,334 ERROR job/264/16 8 0 - Exception :
  java.security.PrivilegedActionException:  
org.apache.bsf.BSFException: The application script threw an  
exception: org.xml.sax.SAXParseException: The element type "link" must  
be terminated by the matching end-tag "</link>". BSF info: scripts/ 
bugzilla/bug-details.bsh at line: 0 column: columnNo
   at  
java.security.AccessController.doPrivileged(AccessController.java:250)
   at org.apache.bsf.BSFManager.exec(BSFManager.java:491)
   at  
com 
.urbancode 
.command 
.shell.scripted.ScriptedShellCommand.execute(ScriptedShellCommand.java: 
58)
   at  
com 
.urbancode 
.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:675)
   at  
com 
.urbancode 
.anthill3 
.step 
.integration 
.bugs 
.bugzilla 
.BugzillaBugReportPublisherStep 
.perform(BugzillaBugReportPublisherStep.java:208)
   at  
com 
.urbancode 
.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:274)
   at  
com 
.urbancode 
.anthill3.services.jobs.StepExecutor.execute(StepExecutor.java:347)
   at  
com 
.urbancode 
.anthill3 
.services 
.jobs.SimpleAgentJobDelegate.perform(SimpleAgentJobDelegate.java:259)
   at com.urbancode.anthill3.services.jobs.Job.run(Job.java:156)
   at com.urbancode.commons.util.ThreadPool 
$WorkerThread.run(ThreadPool.java:208)
  Caused by: org.apache.bsf.BSFException: The application script threw  
an exception: org.xml.sax.SAXParseException: The element type "link"  
must be terminated by the matching end-tag "</link>". BSF info:  
scripts/bugzilla/bug-details.bsh at line: 0 column: columnNo
   at  
com.urbancode.bsh.BeanShellBSFEngine.eval(BeanShellBSFEngine.java:209)
   at  
com.urbancode.bsh.BeanShellBSFEngine.exec(BeanShellBSFEngine.java:226)
   at org.apache.bsf.BSFManager$6.run(BSFManager.java:493)
   at  
java.security.AccessController.doPrivileged(AccessController.java:246)
   ... 9 more
  2008-07-01 14:51:56,335 ERROR job/264/16 8 0 -  
org.xml.sax.SAXParseException: The element type "link" must be  
terminated by the matching end-tag "</link>".



More information about the Anthill-pro mailing list