Skip to content

NullPointerException: ImageResource with null image #113

@matthiaso

Description

@matthiaso

It is not clear if ImageResource itself should be null (if image is not found) or ImageResource should be constructed containing a null image, e.g. new ImageResource("lorem.jpg", null).

I would suggest to improve null-safety (maybe just allow both cases for both classes)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions