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
PLANTUML_LIMIT_SIZE: 4096
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:
@startuml
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 >
/'
********************************************************************************
Inheritances
********************************************************************************
'/
layout_new_line
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
@enduml