Whereas the Canonical Gospels do not refer to Jesus laughing - or Paul, Peter, James, John, etc., the Gospel of Judas does. Here:
When he [approached] his disciples, gathered together and seated and offering a prayer of thanksgiving over the bread, [he] laughed. The disciples said to [him], “Master, why are you laughing at [our] prayer of thanksgiving? We have done what is right."and,
He answered and said to them, “I am not laughing at you.
are not doing this because of your own will but because it is through this that your god [will be] praised.”
They said to him, “Master, where did you go and what did you do when you left us?”
Jesus said to them, “I went to another great and holy generation.”
His disciples said to him,“Lord, what is the great generation that is superior to us and holier than us, that is not now in these realms?” When Jesus heard this, he laughed and said to them, “Why are you thinking in your hearts about the strong and holy generation?  Truly [I] say to you, no one born [of] this aeon will see that [generation], and no host of angels of the stars will rule over that generation, and no person of mortal birth can associate with it, because that generation does not come from […] which has become […]. The generation of people among [you] is from the generation of humanity […] power, which [… the] other powers […] by [which] you rule.”
Judas said, “Master, as you have listened to all of them, now also listen to me. For I have seen a great vision.”and here,
When Jesus heard this, he laughed and said to him, “You thirteenth spirit, why do you try so hard? But speak up, and I shall bear with you.”
Judas said to Jesus, “So what will those generations do?”
Jesus said, “Truly I say to you, for all of them the stars bring matters to completion. When Saklas completes the span of time assigned for him, their first star will appear with the generations, and they will finish what they said they would do. Then they will fornicate in my name and slay their children  and they will […] and [—about six and a half lines missing—] my name, and he will […] your star over the [thir]teenth aeon.”
After that Jesus [laughed].
[Judas said], “Master, [why are you laughing at us]?”
[Jesus] answered [and said], “I am not laughing [at you] but at the error of the stars, because these six stars wander about with these five combatants, and they all will be destroyed along with their creatures.”
One of the reasons why I enjoy studying the Gnostic Gospels is that it reminds me how great our Lord is and how great the real Scriptures are, and that without the gift fo the Holy Spirit and the Church, stuff like the Gnostic Gospels happens...