You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
java.lang.NullPointerException at org.salesforce.apexdoc.ClassModel$1.compare(ClassModel.java:55) at org.salesforce.apexdoc.ClassModel$1.compare(ClassModel.java:1) at java.util.TimSort.countRunAndMakeAscending(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.ArrayList.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at org.salesforce.apexdoc.ClassModel.getMethodsSorted(ClassModel.java:48) at org.salesforce.apexdoc.FileManager.htmlForClassModel(FileManager.java:217) at org.salesforce.apexdoc.FileManager.makeFile(FileManager.java:143) at org.salesforce.apexdoc.FileManager.createDoc(FileManager.java:429) at org.salesforce.apexdoc.ApexDoc.RunApexDoc(ApexDoc.java:128) at org.salesforce.apexdoc.ApexDoc.main(ApexDoc.java:36) null
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Having line like this in code:
system.debug('existingGlobal ---> '+existingGlobal);
Results in following null pointer exception:
java.lang.NullPointerException at org.salesforce.apexdoc.ClassModel$1.compare(ClassModel.java:55) at org.salesforce.apexdoc.ClassModel$1.compare(ClassModel.java:1) at java.util.TimSort.countRunAndMakeAscending(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at java.util.ArrayList.sort(Unknown Source) at java.util.Collections.sort(Unknown Source) at org.salesforce.apexdoc.ClassModel.getMethodsSorted(ClassModel.java:48) at org.salesforce.apexdoc.FileManager.htmlForClassModel(FileManager.java:217) at org.salesforce.apexdoc.FileManager.makeFile(FileManager.java:143) at org.salesforce.apexdoc.FileManager.createDoc(FileManager.java:429) at org.salesforce.apexdoc.ApexDoc.RunApexDoc(ApexDoc.java:128) at org.salesforce.apexdoc.ApexDoc.main(ApexDoc.java:36) null
The text was updated successfully, but these errors were encountered: