Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1213780 - Set ERROR level for ExceptionUtilities.handleException() logging
Set ERROR level for ExceptionUtilities.handleException() logging
Status: VERIFIED
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity medium
: DR1
: 6.2.0
Assigned To: manstis
Lukáš Petrovický
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-04-21 05:35 EDT by Toshiya Kobayashi
Modified: 2016-04-22 00:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
reproducer-git-repo.zip (58.91 KB, application/zip)
2015-04-21 05:39 EDT, Toshiya Kobayashi
no flags Details

  None (edit)
Description Toshiya Kobayashi 2015-04-21 05:35: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.
Comment 1 Toshiya Kobayashi 2015-04-21 05:39:50 EDT
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.
Comment 3 Martin Zilak 2015-09-25 06:49:44 EDT
I tested this on 6.2.0.ER and when reproducing the steps, the stack trace is successfully logged as an error.

Note You need to log in before you can comment on or make changes to this bug.