Lucee 5.3.9.141 Error (database)
Message Incorrect syntax near '*'.
SQL select distinct a.id, b.full_name, b.company, b.city, b.state_province, c.bio_source
from activity a, name b, ud_volunteer_bio c where
( a.activity_type = 'volunteer' and a.thru_date is null and a.product_code
like '%2060102P01%'
and a.other_code = 'Chair' and a.id = b.id
) and
(
ltrim(rtrim(c.bio_source)) != '' and c.publish_on_web = 1 and c.id =* a.id
)
DatabaseName Microsoft SQL Server
DatabaseVersion 13.00.1601
DriverName jTDS Type 4 JDBC Driver for MS SQL Server and Sybase
DriverVersion 1.3.1
Datasource iMIS_MCLE_Prod
Stacktrace The Error Occurred in
C:\inetpub\wwwroot\mcle.live\MCLE_Web\ScriptContent\Custom\UpcomingProg\upcmngprg_dtl.cfm: line 60
58: ltrim(rtrim(c.bio_source)) != '' and c.publish_on_web = 1 and c.id =* a.id
59: )
60: </cfquery>
61:
62:

Java Stacktrace lucee.runtime.exp.DatabaseException: Incorrect syntax near '*'.
  at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)
  at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)
  at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)
  at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671)
  at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:613)
  at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:572)
  at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:809)
  at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1282)
  at lucee.runtime.type.util.QueryUtil.execute(QueryUtil.java:320)
  at lucee.runtime.type.QueryImpl.execute(QueryImpl.java:287)
  at lucee.runtime.type.QueryImpl.<init>(QueryImpl.java:235)
  at lucee.runtime.tag.Query.executeDatasoure(Query.java:1134)
  at lucee.runtime.tag.Query._doEndTag(Query.java:699)
  at lucee.runtime.tag.Query.doEndTag(Query.java:565)
  at mcle_web.scriptcontent.custom.upcomingprog.upcmngprg_dtl_cfm$cf$1sw.call(/MCLE_Web/scriptcontent/custom/UpcomingProg/upcmngprg_dtl.cfm:60)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1012)
  at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935)
  at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:65)
  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:45)
  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2475)
  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2465)
  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2436)
  at lucee.runtime.engine.Request.exe(Request.java:45)
  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1198)
  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1144)
  at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
  at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:433)
  at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
  at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)
  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
  at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
  at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  at java.base/java.lang.Thread.run(Thread.java:834)
 
Timestamp 3/29/24 4:21:49 AM EDT