Skip to content

NullPointerException when exporting a graph with an empty image file name #164

@selgueti

Description

@selgueti

NullPointerException when exporting a graph with an empty image file name

What steps will reproduce the problem?

  1. Open a graph with the FSGraph menu
  2. Export this graph with the menu FSGraph > Export as image > Export as PNG image...
  3. In the dialog box that just opened, remove the default image file name
  4. Click on ok

What is the expected output?

The ok button shoud not complete the operation. The form should be considered incomplete.

What do you see instead?

npe_export_empty_name

More info

  • This problem occurs with the following scenarios :
    • menu FSGraph > Export as image > Export as PNG
    • menu FSGraph > Export as image > Export as JPEG
    • context menu (open with a right click) FSGraph > Export as image > Export as PNG
    • context menu (open with a right click) FSGraph > Export as image > Export as JPEG
  • Unitex/GramLab IDE version: 3.3.7
  • UnitexToolLogger version: 3.3.7

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions