Adding layout_new_line causes java.lang.NullPointerException

0 votes
asked Nov 30, 2017 in Bug by Anthony-Gaudino (5,720 points)

PlantUML version 1.2017.15 (Mon Jul 03 18:45:34 CEST 2017)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_151-8u151-b12-1-b12
Operating System: Linux
OS Version: 4.13.0-1-amd64
Default Encoding: UTF-8
Language: en
Country: US
Machine: debian
Processors: 4
Max Memory: 708,837,376
Total Memory: 48,234,496
Free Memory: 44,135,416
Used Memory: 4,099,080
Thread Active Count: 1

The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK

This code generates a java.lang.NullPointerException when layout_new_line is present:


skinparam groupInheritance 2
'!pragma teoz true
'skinparam linetype ortho
'left to right direction
skinparam nodesep 200
'skinparam ranksep 100

together {
             class User
    abstract class Group
             class Activity
             class Item
'abstract AbstractCollection
'interface List
'interface Collection

User     "*" o---r- "1" Group    : < has
Group    "1" o---r- "*" Activity : < has
Activity "1" ---r-o "*" Item     :   has >



together {
    class Apartment
    class Events
    class Travels

together {
    object Type1
    object Type2
    object Type3

together {
    object Type01
    object Type02
    object Type03

'top to bottom direction

Group <|-d- Apartment
Group <|-d- Events
Group <|-d- Travels

Activity <|-d- Type1
Activity <|-d- Type2
Activity <|-d- Type3

Item <|-d- Type01
Item <|-d- Type02
Item <|-d- Type03


Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.