Reduce stacktrace for failed post on Jira-issue

Issue #729 new
Former user created an issue

A failed post produces a long stacktrace in scm-manager.out, what makes it hard to analyse the log. Reducing the trace would be practcal.

312:2015-05-27 18:04:35.337 [EventBus-253] ERROR sonia.scm.jira.JiraIssueHandler - could not add comment to jira issue 313:sonia.scm.jira.JiraException: could not check for jira comment at issue AMNOG-1. The permission was denied. 314: at sonia.scm.jira.JiraExceptions.propagate(JiraExceptions.java:135) ~[scm-jira-plugin-1.15.jar:na] 315: at sonia.scm.jira.SoapJiraHandler.isCommentAlreadyExists(SoapJiraHandler.java:210) ~[scm-jira-plugin-1.15.jar:na] 316: at sonia.scm.jira.JiraIssueHandler.updateIssue(JiraIssueHandler.java:168) [scm-jira-plugin-1.15.jar:na] 317: at sonia.scm.jira.JiraIssueHandler.updateIssue(JiraIssueHandler.java:329) [scm-jira-plugin-1.15.jar:na] 318: at sonia.scm.jira.JiraIssueHandler.handleIssue(JiraIssueHandler.java:132) [scm-jira-plugin-1.15.jar:na] 319: at sonia.scm.jira.JiraChangesetPreProcessor.process(JiraChangesetPreProcessor.java:116) [scm-jira-plugin-1.15.jar:na] 320: at sonia.scm.jira.JiraIssuePostReceiveHook.handleIssueEvent(JiraIssuePostReceiveHook.java:168) [scm-jira-plugin-1.15.jar:na] 321: at sonia.scm.jira.JiraIssuePostReceiveHook.onEvent(JiraIssuePostReceiveHook.java:122) [scm-jira-plugin-1.15.jar:na] 322: at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) ~[na:na] 323: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65] 324: at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65] 325: at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) [guava-15.0.jar:na] 326: at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) [guava-15.0.jar:na] 327: at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) [guava-15.0.jar:na] 328: at com.google.common.eventbus.AsyncEventBus.access$001(AsyncEventBus.java:34) [guava-15.0.jar:na] 329: at com.google.common.eventbus.AsyncEventBus$1.run(AsyncEventBus.java:100) [guava-15.0.jar:na] 330: at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) [shiro-core-1.2.3.jar:1.2.3] 331: at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) [shiro-core-1.2.3.jar:1.2.3] 332: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65] 333: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65] 334: at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] 335:Caused by: sonia.scm.jira.soap.RemotePermissionException: null 336: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.0_65] 337: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.0_65] 338: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.0_65] 339: at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.0_65] 340: at java.lang.Class.newInstance(Class.java:374) ~[na:1.7.0_65] 341: at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104) ~[axis-1.4.jar:na] 342: at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90) ~[axis-1.4.jar:na] 343: at sonia.scm.jira.soap.RemotePermissionException.getDeserializer(RemotePermissionException.java:75) ~[scm-jira-plugin-1.15.jar:na] 344: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_65] 345: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_65] 346: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_65] 347: at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_65] 348: at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154) ~[axis-1.4.jar:na] 349: at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84) ~[axis-1.4.jar:na] 350: at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464) ~[axis-1.4.jar:na] 351: at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547) ~[axis-1.4.jar:na] 352: at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157) ~[axis-1.4.jar:na] 353: at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) ~[axis-1.4.jar:na] 354: at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) ~[na:1.7.0_65] 355: at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182) ~[na:1.7.0_65] 356: at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356) ~[na:1.7.0_65] 357: at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786) ~[na:1.7.0_65] 358: at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) ~[na:1.7.0_65] 359: at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) ~[na:1.7.0_65] 360: at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) ~[na:1.7.0_65] 361: at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) ~[na:1.7.0_65] 362: at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) ~[na:1.7.0_65] 363: at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) ~[na:1.7.0_65] 364: at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) ~[na:1.7.0_65] 365: at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648) ~[na:1.7.0_65] 366: at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332) ~[na:1.7.0_65] 367: at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) ~[axis-1.4.jar:na] 368: at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) ~[axis-1.4.jar:na] 369: at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) ~[axis-1.4.jar:na] 370: at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) ~[axis-1.4.jar:na] 371: at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) ~[axis-1.4.jar:na] 372: at org.apache.axis.client.Call.invokeEngine(Call.java:2784) ~[axis-1.4.jar:na] 373: at org.apache.axis.client.Call.invoke(Call.java:2767) ~[axis-1.4.jar:na] 374: at org.apache.axis.client.Call.invoke(Call.java:2443) ~[axis-1.4.jar:na] 375: at org.apache.axis.client.Call.invoke(Call.java:2366) ~[axis-1.4.jar:na] 376: at org.apache.axis.client.Call.invoke(Call.java:1812) ~[axis-1.4.jar:na] 377: at sonia.scm.jira.soap.JirasoapserviceV2SoapBindingStub.getComments(JirasoapserviceV2SoapBindingStub.java:5672) ~[scm-jira-plugin-1.15.jar:na] 378: at sonia.scm.jira.SoapJiraHandler.isCommentAlreadyExists(SoapJiraHandler.java:196) ~[scm-jira-plugin-1.15.jar:na] 379: ... 19 common frames omitted

Comments (0)

  1. Log in to comment