RxJava2Debug: NullPointerException in ExceptionUtils

Hello,

I just got a NullPointerException crash with this stacktrace :

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.StackTraceElement[].clone()' on a null object reference
       at com.akaita.java.rxjava2debug.ExceptionUtils.collapseCauses(SourceFile:60)
       at com.akaita.java.rxjava2debug.ExceptionUtils.setRootCause(SourceFile:37)
       at com.akaita.java.rxjava2debug.RxJava2Debug.getEnhancedStackTrace(SourceFile:74)

It seems that there is an issue in the collapseCauses method of the ExceptionUtils class.

Thanks in advance for your answer !

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Nice work, Iā€™m glad that you fixed this potential crash in RxJava2Extensions as well šŸ‘

Thank you for your time and this library.