Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ofbiz-user by Morten Jensen, 1 year ago
WHERE ((STATUS_ID = ? AND SERVICE_NAME = ?)) ORDER BY START_DATE_TIME DESC (Unknown system variable 'OPTION') (SQL Exception while executing the following:SELECT JOB_ID, JOB_NAME, RUN_TIME, POOL_ID, STATUS_ID, PARENT_JOB_ID, PREVIOUS_JOB_ID
transaction.org.ofbiz.entity.GenericDataSourceException: SQL Exception
while executing the following:SELECT JOB_ID, JOB_NAME, RUN_TIME, POOL_ID,
STATUS_ID, PARENT_JOB_ID, PREVIOUS_JOB_ID, SERVICE_NAME, LOADER_NAME,
MAX_RETRY, CURRENT_RETRY_COUNT, AUTH_USER_LOGIN_ID, RUN_AS_USER,
RUNTIME_DATA_ID, RECURRENCE_INFO_ID, TEMP_EXPR_ID,
CURRENT_RECURRENCE_COUNT, MAX_RECURRENCE_COUNT, RUN_BY_INSTANCE_ID,
START_DATE_TIME, FINISH_DATE_TIME, CANCEL_DATE_TIME, JOB_RESULT,
LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP
FROM JOB_SANDBOX WHERE ((STATUS_ID = ? AND SERVICE_NAME = ?)) ORDER BY
START_DATE_TIME DESC (Unknown system variable 'OPTION') (SQL Exception
while executing the following:SELECT JOB_ID, JOB_NAME, RUN_TIME, POOL_ID,
STATUS_ID, PARENT_JOB_ID, PREVIOUS_JOB_ID, SERVICE_NAME, LOADER_NAME,
MAX_RETRY, CURRENT_RETRY_COUNT, AUTH_USER_LOGIN_ID, RUN_AS_USER,
RUNTIME_DATA_ID, RECURRENCE_INFO_ID, TEMP_EXPR_ID,
CURRENT_RECURRENCE_COUNT, MAX_RECURRENCE_COUNT, RUN_BY_INSTANCE_ID,
START_DATE_TIME, FINISH_DATE_TIME, CANCEL_DATE_TIME, JOB_RESULT,
LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP
FROM JOB_SANDBOX WHERE ((STATUS_ID = ? AND SERVICE_NAME = ?)) ORDER BY
START_DATE_TIME DESC (Unknown system variable 'OPTION')))	at org.ofbiz.entity.GenericDelegator.findOne(GenericDelegator.java:1534)	at org.ofbiz.order.order.OrderReadHelper.(OrderReadHelper.java:132)	at org.ofbiz.order.order.OrderServices.createAlsoBoughtProductAssocsForOrder(OrderServices.java:5800)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)	at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)	at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400)	at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)	at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)	at org.ofbiz.order.order.OrderServices.createAlsoBoughtProductAssocs(OrderServices.java:5788)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)	at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)	at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400)	at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232)	at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)	at org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)	at org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)