Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
||
I just had a user report a null pointer reference relating to my plugin (Clark Kent).
Now the way I build the report data is to fetch a list of Intervals that match a criteria then for each interval I go fetch the Project, the Bug, and the User using the key values from the Interval record. Accordingly the only way I could get a null pointer reference is if either the Project, Bug, or User fetch ever retrieved a null value. Now as far as I can tell this should never happen, I tried deleting projects and users (you can't you can only inactivate them) and the data always fetched correctly. If any of those items ever returns as a null does the user have corrupted data? Thanks. |
Powered by FogBugz