My Oracle Support Banner

Aggregate Function In Calculated Field In BAM Bar Chart View, Results In Null Pointer Exception (Doc ID 1257404.1)

Last updated on MARCH 06, 2019

Applies to:

Oracle BAM (Business Activity Monitoring) - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Symptoms

In BAM version 11.1.1.3.0, if you have an aggregate function such as "Sum" or  "Count" or  "CountDistinct" etc in a calculated field and if you have used the calculated field in bar chart view, You might encounter the following error:
 

null
java.lang.NullPointerException
at oracle.bam.web.reportserver.views.charts.chartobjects.Series.<init>(Series.java:102)
at oracle.bam.web.reportserver.views.charts.chartobjects.Series.getSeriesObjects(Series.java:264)
at oracle.bam.web.reportserver.views.charts.Chart.renderChart(Chart.java:599)
at oracle.bam.web.reportserver.views.charts.Chart.initializeForGetAllViews(Chart.java:1396)
at oracle.bam.web.reportserver.views.ViewStreamer.sendViewToClient(ViewStreamer.java:216)
at oracle.bam.web.reportserver.views.ViewStreamerWork.run(ViewStreamerWork.java:75)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)



Note: This was not an issue with version 11.1.1.2.0 or below.



If you witness the above error or a Null Pointer exception in the browser view, then you have encountered the issue discussed in this note.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.