Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
18 replies
Subscribers
7 subscribers
Views
7707 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Expression evaluation error at function a!util_sasaUiSource: An error occurred w
deepanc712
over 9 years ago
Expression evaluation error at function a!util_sasaUiSource: An error occurred while executing a save: java.lang.NullPointerException.
The dataset is loading perfectly good on sail environment but the same is returning null pointer exception..
The objective is to add/remove country to a paging grid.
Can some one help
Thanks in advance.
pagingGrid3.sail
OriginalPostID-149871
OriginalPostID-149871
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@deepanc Hi, I have gone through the code but I couldn't make out any errors as I am not aware of the definitions of the rules written in the code. Probably I would like to suggest two things as follows which may help you to get rid of the error:
1. Include null checks wherever possible. For instance, trying to access the field inside an empty cdt results in an error.
2. When you are making a call to the SAIL interface from user input task, make sure that the data types of the values passed from user input task (ac! or pv!) are equivalent to the data types of rule inputs (ri!). Mismatch might result in an exception.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@deepanc Hi, I have gone through the code but I couldn't make out any errors as I am not aware of the definitions of the rules written in the code. Probably I would like to suggest two things as follows which may help you to get rid of the error:
1. Include null checks wherever possible. For instance, trying to access the field inside an empty cdt results in an error.
2. When you are making a call to the SAIL interface from user input task, make sure that the data types of the values passed from user input task (ac! or pv!) are equivalent to the data types of rule inputs (ri!). Mismatch might result in an exception.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data