Bug 1063184

Summary: Error enabling ajax action execution: NullPointerException - when editing NVD3 KPIs
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: BAMAssignee: David Gutierrez <dgutierr>
Status: CLOSED NOTABUG QA Contact: Jan Hrcek <jhrcek>
Severity: low Docs Contact:
Priority: low    
Version: 6.0.0CC: kverlaen, rrajasek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 13:09:35 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:
Description Flags
Video showing steps to reproduce the issue
none
server.log showing the exception none

Description Jan Hrcek 2014-02-10 08:54:27 UTC
Created attachment 861278 [details]
Video showing steps to reproduce the issue

Description of problem:
Warning "Error enabling ajax action execution: NullPointerException" is shown when editting KPI panel content.

This problem seems to occur in firefox (both 17 and 24) and I also saw it when using Internet Explorer 11. It seems to happen only in Product (not in community version)

Version-Release number of selected component (if applicable):
BPMS 6.0.0 CR2

How reproducible:
Always in BPMS 6.0.0 CR2 + using firefox as a browser.

I tried to reproduce it in community version of dashbuilder - there is seems to work correctly (No NPEs trown). But I can reproduce it in 100% of cases after few tries of switching KPI chart type / KPI renderer in BPMS product.

Steps to Reproduce:
1. In BPMS product > dashbuilder navigate to workspace Showcase > page with some KPI
2. Open KPI panel editor (options > Edit content for some KPI)
3. Try switching between Chart types (Bar, Pie, Line chart) and choosing different renderer (NVD3 / Open Flash Chart)

Actual results:
Exception in server log (see attachment for full stack trace)

Error enabling ajax action execution: : java.lang.NullPointerException
	at org.jboss.dashboard.ui.components.panelManagement.PanelManagementPanel.afterRenderComponent(PanelManagementPanel.java:103) [dashboard-ui-core-6.0.2-redhat-2.jar:]
	at org.jboss.dashboard.ui.taglib.factory.UseComponentTag.doEndTag(UseComponentTag.java:48) [dashboard-ui-core-6.0.2-redhat-2.jar:]
	at org.apache.jsp.components.modalDialogComponent.show_jsp._jspService(show_jsp.java:443)


Expected results:
No exception

Additional info:
I'm setting severity as low, because it seems, the functionality of application is not influenced by this NPE.

Comment 1 Jan Hrcek 2014-02-10 08:55:15 UTC
Created attachment 861279 [details]
server.log showing the exception

Comment 3 Jan Hrcek 2014-06-24 11:43:50 UTC
Yes, this issue is still present in BPMS 6.0.2 CR2

Comment 4 Jan Hrcek 2015-12-07 13:09:35 UTC
I tried with BPM Suite 6.2.0 GA and was no longer able to reproduce this issue. Closing as not a but.