Java Error:

java.lang.NullPointerException

Stack Trace:

1: java.lang.NullPointerException
2: at tws.base.assignment.Unit.getShowName(Unknown Source)
3: at tws.base.assignment.Unit.getShowName(Unknown Source)
4: at tws.base.assignment.Unit.getName(Unknown Source)
5: at tws.base.assignment.CmdPublicUnit.execute(Unknown Source)
6: at tws.webapp.Command.execute(Unknown Source)
7: at tws.webapp.CmdExecute.doCmd(Unknown Source)
8: at tws.webapp.WebApp.doGet(Unknown Source)
9: at javax.servlet.http.HttpServlet.service(HttpServlet.java:489)
10: at javax.servlet.http.HttpServlet.service(HttpServlet.java:583)
11: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212)
12: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
13: at tws.webapp.api.oauth.OAuth2Filter.doFilter(Unknown Source)
14: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
15: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
16: at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
17: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
18: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
19: at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:381)
20: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181)
21: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156)
22: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
23: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
24: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
25: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
26: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
27: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
28: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
29: at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:535)
30: at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
31: at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:934)
32: at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1690)
33: at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
34: at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
35: at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
36: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
37: at java.base/java.lang.Thread.run(Thread.java:829)
38: null