Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Debugging name containing qualifier throws null pointer exception #60

Open
lukskrodz opened this issue Jul 20, 2016 · 0 comments
Open

Comments

@lukskrodz
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant