After
When I move through the following code on the second line, the Why is it so, and what can I do to avoid it? ! Thanks Here's the call that is Here is the Your However, to avoid this kind of problem, you should make some more significant changes to the first place. For example, if this On the one hand, there are other parts of your code that can be quite clean. For example, to report is empty. . (TaggedResportReportUIVO option) = Report to go = Option.get (taggedResearchReport) if not (report.Equals, the third line is a NullReferenceException
member generates this.setTaggedResearchReportList (Tap)) then // some stuff here?
Added later:
this.setTaggedResearchReportList :
getMostRecentTaggedResearchReportForSecurityId (item .id) (New fight & lt; _ & gt; (this.setTaggedResearchReportList 0))
getMostRecentTaggedResearchReportForSecurityId method:
getMostRecentTaggedResearchReportForSecurityId go (securityId: integer) (callbackUI: action
TaggedResearchReportUIVO type explicitly F #, And does not allow
null as a fair value. Therefore, the compiler will prevent you from using the literal
null in the form of that type of value; However, some other code is going behind the compiler and sticking a zero value there. To work around the instant issue, you can call
Unchecked Diedfolf & lt; TaggedResearchReportUIVO & gt; Instead of
null you can try to compare.
null is understood as the appropriate value type
TaggedResearchReportUIVO , then you
[& lt; AllowNullLiteral & gt;] can add attributes in that type of alternative, alternatively, if it is not really understood to use
null as a fair value, So you have to check the code that is causing the problematic value.
funny (X: option & lt; JSONSingleResult & gt; tag Research done) & gt; & Gt;) - & gt; Match X Really - & gt; Some options (.gate) .result). False - & gt; Anyone
option.map (funny (jsr: JSONSingleResult & lt; _ & gt;) - & gt; jsr.result) < / Code>
Comments
Post a Comment