function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

The value 'null' is not valid for operator

Hi All


 <apex:pageBlock rendered="{!lstud.size>0}">
           <apex:pageBlockTable value ="{!lstud}" var="act">
                <apex:column value="{!act.acc.Name}"/>
                <apex:column value="{!act.acc.Phone}"/>
                <apex:column value="{!act.acc.Industry}"/>
                <apex:column value="{!act.con.LastName}"/>
                <apex:column value="{!act.con.FirstName}"/>

I am getting this below error on the tab.

The value 'null' is not valid for operator '>'
Error is in expression '{!lstud.size>0}' in component <apex:pageBlock> in page list_accountinfo_vfp
Maharajan CMaharajan C
Hi Sriram, 

Please refer the below link: