Jump to content
We've recently updated our Privacy Statement, available here ×

sd5008

Members
  • Posts

    6
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by sd5008

  1. java.lang.NullPointerException at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.getUserMeasureValues(BucketingService.java:467) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.retrieveTotals(BucketingService.java:1222) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCell(BucketingService.java:1167) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCells(BucketingService.java:1129) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCells(BucketingService.java:1136) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.fillCells(BucketingService.java:1136) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.createCrosstab(BucketingService.java:950) at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService.processData(BucketingService.java:383) at net.sf.jasperreports.engine.fill.JRFillCrosstab.evaluate(JRFillCrosstab.java:389) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:274) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:403) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummarySamePage(JRVerticalFiller.java:886) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillSummary(JRVerticalFiller.java:820) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportEnd(JRVerticalFiller.java:263) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:120) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:767) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:671) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:511) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:63) at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:209) at java.lang.Thread.run(Thread.java:810) i get this as the following error though my database doesnt return any null value let me know wat shd i do
  2. sd5008 Wrote: i have a Field in my report of type 'java.util.Timestamp'. I need to display the date in the respective timezone of the user. i am passing REPORT_TIME_ZONE as parameter from my controller as LoggedUser user = (User)request.getSession().getAttribute("loggeduser"); usertimezone = user.getTimezone(); Map model=new HashMap(); model.put("REPORT_TIME_ZONE",usertimezone); in my report that is the jrxml file i use <parameter name="DateFormatter" class="java.text.DateFormat" isForPrompting="false"> <defaultValueExpression>$P{REPORT_FORMAT_FACTORY}.createDateFormat("MMM dd, yyyy HH:mm", null, $P{REPORT_TIME_ZONE})</defaultValueExpression> </parameter> and in my testfield expression i use <textFieldExpression>$P{DateFormatter}.format($F{WORK_PLAN_CREATED_TS})</textFieldExpression> my end result is that i am not able to convert the date into respective timezone. please do the needfull
  3. when i try to print the REPORT_TIME_ZONE in the report using <textFieldExpression ><![CDATA[$P{REPORT_TIME_ZONE}.getDisplayName(true,TimeZone.SHORT)]]></textFieldExpression> i get to display the time zone as GMT though the timezone which i pass is IST from the spring controller why is this happenening can any one tell
  4. i have a Field in my report of type 'java.util.Timestamp'. I need to display the date in the respective timezone of the user. i am passing REPORT_TIME_ZONE as parameter from my controller as LoggedUser user = (User)request.getSession().getAttribute("loggeduser"); usertimezone = user.getTimezone(); Map model=new HashMap(); model.put("REPORT_TIME_ZONE",usertimezone); in my report that is the jrxml file i use <parameter name="DateFormatter" class="java.text.DateFormat" isForPrompting="false"> <defaultValueExpression>$P{REPORT_FORMAT_FACTORY}.createDateFormat("MMM dd, yyyy HH:mm", null, $P{REPORT_TIME_ZONE})</defaultValueExpression> </parameter> and in my testfield expression i use <textFieldExpression>$P{DateFormatter}.format($F{WORK_PLAN_CREATED_TS})</textFieldExpression> my end result is that i am not able to convert the date into respective timezone. please do the needfull
  5. hi svenn i am not able to know hoe to pass parameters from my jsp to report. for example i have a jsp form in which i have list of labels on click of labels some columns in my report has to hidden. so how would i pass the labels id to report jrxml to make the column hidden using printWhenexpression. for example when i click on the label in the jsp ,in my url it shows as for example http://ipaddress:9080/reports/Report.jspx?reportAction=reportPlan&reportTpe=Type1 here type1 would varry for different labels say label2 it would show Type2. so using these values can i control the hidding of the columns please let me know if so how and how shd i use if i need to hide the columns.. very urgent help
×
×
  • Create New...