Hi Hemika, The reason for that null pointer error is relational database which used in APIM ,is not populated from cassandra database in BAM. That will take at least 2 minutes since the hive script that is used to summarised the data in cassandra database to APIM relational database, is running in 2 minutes intervals. check that after 2 minutes. Another thing is actually I followed [1] to integrate BAM with APIM. please let’s follow[1]. it will work. hope things are clear.
[1]. https://docs.wso2.com/display/AM170/Publishing+API+Runtime+Statistics Thanks On Fri, Oct 24, 2014 at 1:09 PM, Hemika Kodikara <hem...@wso2.com> wrote: > Hi all, > > I am following the Quick Start Guide[1] of the WSO2 API Manager. In this I > am working on the "configuring statistics" section. I have done all the > configuration required. But the statistics are not getting shown in the API > Publisher. Every time I request for statistics I get the following error in > the API Manager console. > > "ERROR - usage:jag java.lang.NullPointerException: null" > > Also I am getting a warning from the BAM console as well. i.e > > "WARN {org.apache.hadoop.mapred.JobClient} - Use GenericOptionsParser for > parsing the arguments. Applications should implement Tool for the same." > > Note - I am running everything offline (Not connected to a network) > > Any help on this would be grateful. > > [1] - https://docs.wso2.com/display/AM170/Quick+Start+Guide > > Thanks. > > Hemika Kodikara > Software Engineer > WSO2 Inc. > lean . enterprise . middleware > http://wso2.com > > Mobile : +94777688882 > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Lakshman Udayakantha WSO2 Inc. www.wso2.com lean.enterprise.middleware Mobile: *0711241005*
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev