Confluence error: java.lang.IllegalArgumentException

0 votes
asked Jan 29, 2020 in Bug by tilen1000

The error java.lang.IllegalArgumentException  occurs when trying to render the following diagram in a PlantUML renderer macro in confluence.

@startuml

namespace a{

class b{
}

class c{
}

class d{
}

}

namespace e{

namespace f{

class g{
}

class h{
}

class i{
}

}

}

a- e.f: invokes f functions

namespace j{

namespace k{

class m{

}

class n{

}

class o{

}

class p{

}

}

}

e.f.i - j.k: > this is a good connections

e.f.h - j.k: < this is a weak connection

@enduml

The diagram does not produce an error in online editors.

By changing the namespace j to something else macro shows the diagram, but is of course not correct.

commented Jan 30, 2020 by albert (3,520 points)
- Which version of the plantuml.jar is used by confluence

- which error message is given?
commented Jan 31, 2020 by tilen1000

Currently I do not have access to see the plugin version, but this probably happened after updating to Atlassian Confluence 7.1. 

PlantUML version is 1.2019.13.

The renderer produces the following error:

1 Answer

0 votes
answered Jan 31, 2020 by albert (3,520 points)
The problem might have been a small problem in the 1.2019.13 version that has been solved in the mean time (current version in the plantuml web service is 1.2020.01beta5).

I recently saw some problems (that showed stack traces) that have been been solved recently.
...