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

NPE - 17.1.51 - TimeAxis #115

Open
mores opened this issue Nov 5, 2023 · 1 comment
Open

NPE - 17.1.51 - TimeAxis #115

mores opened this issue Nov 5, 2023 · 1 comment

Comments

@mores
Copy link

mores commented Nov 5, 2023

I am trying to run:
https://github.com/HanSolo/charts/blob/master/src/test/java/eu/hansolo/fx/charts/TimeAxisTest.java
with version 17.1.51

java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1 (LauncherImpl.java:893)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2 (LauncherImpl.java:195)
    at java.lang.Thread.run (Thread.java:833)
Caused by: java.lang.NullPointerException: Cannot invoke "eu.hansolo.toolboxfx.geom.Bounds.set(double, double, double, double)" because "this.axisBounds" is null
    at eu.hansolo.fx.charts.Axis.initGraphics (Axis.java:335)
    at eu.hansolo.fx.charts.Axis.<init> (Axis.java:313)
    at eu.hansolo.fx.charts.Axis.<init> (Axis.java:257)
    at org.openjfx.App.createBottomTimeAxis (App.java:219)

But if I clone and build master branch - it works fine.

Can you update TimeAxisTest to run with the current version ?

@HanSolo
Copy link
Owner

HanSolo commented Nov 6, 2023

Will take a look at it, thx for reporting 👍🏻

mores pushed a commit to mores/charts that referenced this issue Nov 7, 2023
HanSolo added a commit that referenced this issue Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants