Skip to content

Comments

Update LedBargraph.java#9

Open
deamn wants to merge 1 commit intoHanSolo:masterfrom
deamn:patch-2
Open

Update LedBargraph.java#9
deamn wants to merge 1 commit intoHanSolo:masterfrom
deamn:patch-2

Conversation

@deamn
Copy link

@deamn deamn commented Jun 30, 2015

NullPointerException at eu.hansolo.enzo.ledbargraph.LedBargraph.setNoOfLeds(LedBargraph.java:159).
The SimpleIntegerProperty noOfLeds isn't initialized (ledSize too). Try:
LedBargraphBuilder.create()
.ledType(Led.LedType.SQUARE)
.orientation(Orientation.VERTICAL)
.peakValueVisible(true)
.ledSize(32)
.noOfLeds(10)
.build();

NullPointerException at eu.hansolo.enzo.ledbargraph.LedBargraph.setNoOfLeds(LedBargraph.java:159).
The SimpleIntegerProperty noOfLeds isn't initialized (ledSize too).
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

Successfully merging this pull request may close these issues.

1 participant