82 views

Description

Single Score report shows an error when the result returned is 0 records

Steps to Reproduce

  1. Create new report on Incident table.
  2. Report Type is Single Score
  3. Add Filter as
  4. Keywords==> are==> ab cd
    *** please make sure that there is a space in between ab cd or give any keyword so that it will retrieve 0 records.

    5.Run the report
    Empty/Null/0 value is erroring out for Single Score report ( ERROR: Error processing request: null)

    Error message is

    2017-11-19 16:08:11 (018) Default-thread-11 1C657B1513664300E81E33E2E144B044 txid=3c58bf9513a6 #168431 /xmlhttp.do Parameters -------------------------
    sysparm_timer=1511136490914
    sysparm_scope=global
    sysparm_processor=SingleScoreRunProcessor
    sysparm_request_params={"sysparm_table":"incident","sysparm_aggregate":"COUNT","sysparm_sumfield":"business_duration","sysparm_query":"123TEXTQUERY321=ab cd","sysparm_interactive_report":"","sysparm_report_drilldown":"","sysparm_report_id":"","sysparm_score_color":"65b30218a9fe3dba0120df8611520d97","sysparm_chart_title_color":"65b30218a9fe3dba0120df8611520d97","sysparm_chart_background_color":"65b303c7a9fe3dba00629aff95ee3597","sysparm_list_ui_view":"","sysparm_decimal_precision":"2","sysparm_report_source_id":"","sysparm_show_zero":"true"}
    2017-11-19 16:08:11 (067) Default-thread-11 1C657B1513664300E81E33E2E144B044 txid=3c58bf9513a6 SEVERE *** ERROR *** java.lang.NullPointerException
    java.lang.NullPointerException
    at com.glideapp.report.charting_v2.datagen.single.score.json.TooltipBuilder.buildTooltip(TooltipBuilder.java:20)
    at com.glideapp.report.charting_v2.datagen.single.score.json.SingleScoreJSONBuilder.buildResponseJSON(SingleScoreJSONBuilder.java:39)
    at com.glideapp.report.charting_v2.datagen.json.JSONBuilder.build(JSONBuilder.java:17)
    at com.glideapp.report.charting_v2.datagen.single.score.SingleScoreGenerator.generateJSONResponse(SingleScoreGenerator.java:42)
    at com.glideapp.report.charting_v2.datagen.single.score.SingleScoreGenerator.generate(SingleScoreGenerator.java:29)
    at com.glide.processors.report.run.SingleScoreRunProcessor.processRequest(SingleScoreRunProcessor.java:23)
    at com.glide.processors.report.run.ReportRunProcessor.process(ReportRunProcessor.java:44)
    at com.glide.processors.XMLHttpProcessor.processJavaAJAX(XMLHttpProcessor.java:151)
    at com.glide.processors.XMLHttpProcessor.process(XMLHttpProcessor.java:104)
    at com.glide.processors.AProcessor.runProcessor(AProcessor.java:483)
    at com.glide.processors.AProcessor.processTransaction(AProcessor.java:205)
    at com.glide.processors.ProcessorRegistry.process0(ProcessorRegistry.java:178)
    at com.glide.processors.ProcessorRegistry.process(ProcessorRegistry.java:167)
    at com.glide.ui.GlideServletTransaction.process(GlideServletTransaction.java:31)
    at com.glide.sys.Transaction.run(Transaction.java:2038)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

    2017-11-19 16:08:11 (071) Default-thread-11 1C657B1513664300E81E33E2E144B044 txid=3c58bf9513a6 *** End #168431 /xmlhttp.do, user: dipu.joy@snc, total time: 0:00:00.063, processing time: 0:00:00.063, SQL time: 0:00:00.015 (count: 17), business rule: 0:00:00.000 (count: 1)


Workaround

This issue is under review. To receive notifications when more information is available, subscribe to this Known Error article by clicking the Subscribe button at the top right of the article. If you are able to upgrade, review the Fixed In field to determine whether any versions have a permanent fix.


Related Problem: PRB1240032

Seen In

There is no data to report.

Fixed In

Kingston Patch 6
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-04-30 08:42:08
Published:2018-04-30