Error

org.apache.turbine.util.TurbineException: Error rendering Velocity template: screens/usados/DetalleAuto.vm: Error rendering Velocity template: screens/usados/DetalleAuto.vm: Invocation of method 'getSegmento' in class com.usados.tools.Tool threw exception class org.apache.torque.TorqueException : ORA-00936: falta una expresión
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getSegmento' in class com.usados.tools.Tool threw exception class org.apache.torque.TorqueException : ORA-00936: falta una expresión at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:128) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271) at org.apache.velocity.Template.merge(Template.java:296) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492) at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461) rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity template: screens/usados/DetalleAuto.vm: Invocation of method 'getSegmento' in class com.usados.tools.Tool threw exception class org.apache.torque.TorqueException : ORA-00936: falta una expresión at org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:533) at org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:389) rethrown as org.apache.turbine.util.TurbineException: Error rendering Velocity template: screens/usados/DetalleAuto.vm: Error rendering Velocity template: screens/usados/DetalleAuto.vm: Invocation of method 'getSegmento' in class com.usados.tools.Tool threw exception class org.apache.torque.TorqueException : ORA-00936: falta una expresión at org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:533) at org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:283) at org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:107) at org.apache.turbine.modules.screens.VelocityScreen.buildTemplate(VelocityScreen.java:151) at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:130) at org.apache.turbine.modules.Screen.build(Screen.java:99) at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild(VelocityECSLayout.java:102) at org.apache.turbine.modules.Layout.build(Layout.java:91) at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:169) at org.apache.turbine.modules.Page.build(Page.java:90) at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at org.apache.turbine.Turbine.doGet(Turbine.java:563) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:436) at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)