How do I trap for NullPointerException error on getconfigattrvalue?
Summary
Content (please ensure you mask any confidential information):
I am getting a NullPointerException on getconfigattrvalue. How do I trap for this?
I have a whole list of attributes that may or may not have been selected in config. I need to cycle through them to determine if they were selected what the contents is. So I need to trap for the possibility of the attribute not being selected. "NOT isNull" is not working.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
recSet = BMQL("SELECT Attribute FROM ConfigRuleCalcAttrib WHERE RuleName=$ruleName AND PartNum=$prtNum");
Tagged:
0