New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null pointer exception, possible erroneous output from newpage #124

Closed
walthaas opened this Issue May 19, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@walthaas

walthaas commented May 19, 2018

The following input:

@startuml
package "One" {
  entity foo {
  }
}
newpage
package "Two" {
  entity bar {
  }
}
bar ||--|| foo
@enduml

throws a null pointer exception after producing correct output. If the bar||--||foo line is moved inside package "Two" then the connected entity foo is shown in package "Two" which arguably it should not be. The null pointer exception was introduced in plantuml.1.2018.5.jar, it does not occur in plantuml.1.2018.3.jar.

@arnaudroques

This comment has been minimized.

Contributor

arnaudroques commented May 19, 2018

Thanks for the report.
Can you try with last beta http://beta.plantuml.net/plantuml.jar ?
The NPE should be fixed there.
Thanks again !

@walthaas

This comment has been minimized.

walthaas commented May 19, 2018

The NPE is gone from the beta. Thanks for the fast response!

@walthaas walthaas closed this May 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment