OracleJSP: oracle.jsp.provider.JspCompileException:

Errors compiling:/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java

/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:73: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:6^1*/       if (metricsPaCode != null && "babies".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                          ^
/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:94: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:9^1*/       } else if (metricsPaCode != null && "ccursed".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                                  ^
/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:114: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:12^1*/       } else if (metricsPaCode != null && "furryfrights".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                                        ^
/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:135: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:15^1*/       } else if (metricsPaCode != null && "gardens".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                                   ^
/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:156: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:18^1*/       } else if (metricsPaCode != null && "holidayhomes".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                                        ^
/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:161: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:21^1*/       } else if (metricsPaCode != null && "stepfathers".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                                       ^
/opt/apps/oas10g/j2ee/instance02/application-deployments/default/central/persistence/_pages/_templates/_misc/_metrics_2d_swat.java:166: boolean cannot be dereferenced
      /*@lineinfo:user-code*//*@lineinfo:24^1*/       } else if (metricsPaCode != null && "tribunefb".equalsIgnoreCase(metricsPaCode).trim()) { 
                                                                                                                                     ^
7 errors