spring-projects / spring-shell

Spring based shell
http://projects.spring.io/spring-shell/
Apache License 2.0
724 stars 394 forks source link

DefaultWriter text draw outside screen causing NPE #993

Closed jvalkeal closed 7 months ago

jvalkeal commented 7 months ago

For example npe may come from here:

https://github.com/spring-projects/spring-shell/blob/9830fafe1a5cc971aa8fb50eea89234270d55a42/spring-shell-core/src/main/java/org/springframework/shell/component/view/screen/DefaultScreen.java#L302-L303

Need to sweep through other similar places where screen item may be null.