Skip to content

JavaFX "Location is required" runtime exception #1

@cfierbin

Description

@cfierbin

Hello Yakov,
I imported the TicTacToe module into IntelliJ IDEA 14.0.2. I get a runtime exception in Application start method, caused by java.lang.NullPointerException: Location is required. It looks like FXMLLoader.load(getClass().getResource("tictactoe.fxml") returns null, although the FXML file is located in the same directory as the application. I have the same problem with the Calculator from Chapter 7.
Best regards,
Cristina

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