Bug 1274720 - NPE in server log when kiebase and kiesession have the same name, no warning in gui
NPE in server log when kiebase and kiesession have the same name, no warning ...
Status: NEW
Product: JBoss BRMS Platform 6
Classification: JBoss
Component: Business Central (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: manstis
Lukáš Petrovický
Depends On:
  Show dependency treegraph
Reported: 2015-10-23 08:41 EDT by Zuzana Krejčová
Modified: 2016-07-31 21:18 EDT (History)
2 users (show)

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

Attachments (Terms of Use)
server log (12.69 KB, text/plain)
2015-10-23 08:41 EDT, Zuzana Krejčová
no flags Details

  None (edit)
Description Zuzana Krejčová 2015-10-23 08:41:21 EDT
Created attachment 1085844 [details]
server log

Description of problem:
(See steps and results.)

Version-Release number of selected component (if applicable):
6.2 ER4

Steps to Reproduce:
1. Open Project editor for any random project, switch to Knowledge bases and sessions.
2. Add a new kbase with name 'k1'.
3. Add a new ksession with the same name, 'k1', to this kbase.
4. Save the changes and look into the server log.

Actual results:
Everything seems fine in the GUI, but server log contains the following message:
ERROR [org.kie.workbench.common.services.backend.builder.BuildServiceImpl] (EJB default - 10) null: java.lang.NullPointerException

Expected results:
Either everything is fine and server log is clean as well or there is the error logged (correctly) and the user is warned in the GUI that same names are illegal.

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