Red Hat Bugzilla – Bug 1213780
Set ERROR level for ExceptionUtilities.handleException() logging
Last modified: 2016-04-22 00:50:43 EDT
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.
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.