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

ChosenListBox.wrap() leads to NPE #301

Open
JonR90 opened this issue Apr 4, 2016 · 0 comments
Open

ChosenListBox.wrap() leads to NPE #301

JonR90 opened this issue Apr 4, 2016 · 0 comments

Comments

@JonR90
Copy link

JonR90 commented Apr 4, 2016

Hi,

when I tried to wrap a SelectElement with a ChosenListBox there occured a NullPointerException in ChosenImplFactory (line 26).
The reason for this behaviour is that the ChosenOptions are not set when the ChosenListBox is created via ChosenListBox.wrap().

I would recommend to set the ChosenOptions initially with

"private ChosenOptions options = new ChosenOptions();"

in ChosenListBox (line 64).

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

1 participant