Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable To Download Assets Results As .csv File #1151

Closed
LeoNerdoG opened this issue Dec 8, 2017 · 1 comment
Closed

Unable To Download Assets Results As .csv File #1151

LeoNerdoG opened this issue Dec 8, 2017 · 1 comment
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console

Comments

@LeoNerdoG
Copy link
Contributor

User is unable to download asset results data as .csv file from Kapua (Null Pointer Exception is reported - look at the screeenshot No. 3).

Testflow:

  1. Login as kapua-sys
  2. Connect a live Kura device with installed sample assets to Kapua (e.g. Raspberry Pi - screenshot No. 1)
    2.1. In Kura Wires, add Timer, Asset and Publisher blocks and connect them (screenshot No. 2)
    2.2. Selecet Asset block and add a channel
  3. Go to Kapua -> Data -> By Asset. Select all the Channel Metrics available and click Query
  4. Try to download data as .csv file by clicking on Export Data (Export to CSV).
    At this point Kapua returns an Null Pointer Exception Error.

Screenshot No. 1 (Addig a driver and asset with channels):
screen shot 2017-12-08 at 09 46 16

Screenshot No. 2 (Kura Wires Graph):
screen shot 2017-12-08 at 09 48 18

Screenshot No. 3 (Null Pointer Exception when trying to download results):
screen shot 2017-12-08 at 09 33 35

Browsers used:

  • Google Chrome (Version 62.0.3202.94 (Official Build) (64-bit))
  • Safari (Version 11.0.1 (13604.3.5))
  • Mozilla Firefox (57.0.1 (64-bit))
  • Opera (Version 49.0.2725.39)
@LeoNerdoG LeoNerdoG changed the title Unable To Download Assets Result As .csv File Unable To Download Assets Results As .csv File Dec 8, 2017
lorthirk pushed a commit that referenced this issue Jan 16, 2018
Issues #1151 and #1152

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
@lorthirk lorthirk self-assigned this Jan 16, 2018
@lorthirk lorthirk added Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console labels Jan 16, 2018
@LeoNerdoG
Copy link
Contributor Author

Hi @lorthirk ,
I have verified that this issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console
Projects
None yet
Development

No branches or pull requests

2 participants