Bug 1274720 - NPE in server log when kiebase and kiesession have the same name, no warning in gui
Summary: NPE in server log when kiebase and kiesession have the same name, no warning ...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-23 12:41 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:34:51 UTC
Type: Bug
Embargoed:


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

Description Zuzana Krejčová 2015-10-23 12:41:21 UTC
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.