Menu

#32 NPE with @DrawSequenceDiagram

v1.5
closed-fixed
NPE (2)
3
2015-07-04
2015-05-27
No

If you follow the description in Generation of Sequence Diagrams it works as expected. But if you forgot the filename and use

@DrawSequenceDiagram

(without a filename as parameter) you will get a NullPointerException

java.lang.NullPointerException
    at patterntesting.runtime.log.AbstractSequenceDiagramAspect.addToDiagram(AbstractSequenceDiagramAspect.aj:82)
    at patterntesting.runtime.log.SequenceDiagramAspect.ajc$before$patterntesting_runtime_log_SequenceDiagramAspect$1$7948a9b(SequenceDiagramAspect.aj:81)
    at patterntesting.sample.jfs2010.BankRepositoryTest.testTransfer(BankRepositoryTest.java:117)

Discussion

  • Oliver Boehm

    Oliver Boehm - 2015-05-29

    will be fixed with next release

     
  • Oliver Boehm

    Oliver Boehm - 2015-05-29
    • status: open --> pending
     
  • Oliver Boehm

    Oliver Boehm - 2015-07-04
    • status: pending --> closed
     
  • Oliver Boehm

    Oliver Boehm - 2015-07-04

    fixed with 1.5.3

     
  • Oliver Boehm

    Oliver Boehm - 2015-07-04
    • status: closed --> closed-fixed
     
MongoDB Logo MongoDB