Skip to content

URLLocation: NPE from Files.createTempFile(null, null) #95

Description

@elharo

Bug #13

URLLocation.java line 61

Files.createTempFile(null, null) throws NullPointerException. If tempFilePrefix or tempFileSuffix is null (allowed by the public constructor), the call at line 61 will crash.

Fix: use default values ("url" and ".tmp") when parameters are null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions