IBM Support

PI56011: CLASSCASTEXCEPTION WHEN EXPORT CUSTOM CHART DATA TO CSV FORMAT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When exporting a custom chart with 'Table' chart type into CSV
    format, the export operation was successful but the file
    contains
    {"err":"java.lang.Integer cannot be cast to java.lang.Long"}
    
    Steps to recreate:
    From Analytics Console, go to Custom Charts tab.
    Create  a chart with any Event Type (Server logs for example)
    Select Table for the Chart Type
    Add any column and save the chart.
    Try to download/export the chart into CSV format.   The export
    completed but the file contains only the message above.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Any users of the analytics console who wish to export a      *
    * custom chart to a comma separated values (CSV) document.     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Original code converted int to long, and long back to int.   *
    * No reason to do this, changed to just parse for an integer.  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Now properly parsing an Integer. Therefore functionality works
    as expected. The service WAR file or service EAR file will have
    to be redeployed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI56011

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-25

  • Closed date

    2016-02-25

  • Last modified date

    2016-02-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021