Bug 1213780
| Summary: | Set ERROR level for ExceptionUtilities.handleException() logging | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Toshiya Kobayashi <tkobayas> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.1.0 | ||||||
| Target Milestone: | DR1 | ||||||
| Target Release: | 6.2.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 20:05:32 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 1016757 [details]
reproducer-git-repo.zip
This repo contains an artificial corrupted rdrl. The error itself is not a matter. Just to verify if the stack trace is logged or not.
I tested this on 6.2.0.ER and when reproducing the steps, the stack trace is successfully logged as an error. |
Description of problem: When we hit an issue with business-central, sometimes we cannot get much information form GUI pop-up. Also BRMS doesn't log error messages. Actually, org.guvnor.common.services.backend.exceptions.ExceptionUtilities logs the stack trace but with DEBUG level. It's hard for us to investigate the problem. Please make it ERROR level. Steps to Reproduce: 1. Download and unzip the attached reproducer-git-repo.zip 2. Go to business-central 3. [Administration]->[Clone repository] (specify the reproducer) 4. Open Guided Rule 'gr1' Actual results: Pop-up "Unable to complete your request. The following exception occurred: null." is raised. No stack trace in server STDOUT. You may see an ERROR message below but it's not logged by opening the rule. === 18:29:49,589 ERROR [org.drools.compiler.kie.builder.impl.AbstractKieModule] (http-localhost.localdomain/127.0.0.1:8080-2) Unable to build KieBaseModel:defaultKieBase Unable to resolve ObjectType 'XNumber' : [Rule name='gr1'] Unable to Analyse Expression $n.woo: [Error: unable to resolve method using strict-mode: java.lang.Object.$n()] [Near : {... $n.woo ....}] ^ : [Rule name='gr1'] === Expected results: The stack trace is logged in server STDOUT as an ERROR message.