Skip to content

Conversation

@nikkoridi
Copy link

Problem:
When a query type wasn’t selected and the link “Add attribute” was clicked, a Null Pointer Exception happened.
It happened because the link creation has an “onLinkActivated” method which requires “queryType” as a parameter.

Solution:
I added not null check before the link creation. Now the link appears only after the query type is selected in the drop-down list.

Problem:
When a query type wasn’t selected and the link “Add attribute” was
clicked, a Null Pointer Exception happened.
It happened because the link creation has an “onLinkActivated” method
which requires “queryType” as a parameter.

Solution:
I added not null check before the link creation. Now the link appears
only after the query type is selected in the drop-down list.
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