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 Kuali JIRA by Lora Headdy-Fox, 1 year ago
PreparedStatementCallback; bad SQL grammar [SELECT DISTINCT A0.PRINCIPAL_ID FROM TK_ASSIGNMENT_T A0, HR_ROLES_T R0, TK_WORK_AREA_T W0, HR_PRINCIPAL_CALENDAR_T P0 WHERE ((A0.EFFDT = (SELECT MAX(EFFDT) FROM TK_ASSIGNMENT_T WHERE PRINCIPAL_ID = A0
via Kuali JIRA by Lora Headdy-Fox, 2 years ago
PreparedStatementCallback; bad SQL grammar [SELECT DISTINCT A0.PRINCIPAL_ID FROM TK_ASSIGNMENT_T A0, HR_ROLES_T R0, TK_WORK_AREA_T W0, HR_PRINCIPAL_CALENDAR_T P0 WHERE ((A0.EFFDT = (SELECT MAX(EFFDT) FROM TK_ASSIGNMENT_T WHERE PRINCIPAL_ID = A0
via Stack Overflow by Kurai Bankusu
, 1 year ago
PreparedStatementCallback; bad SQL grammar [{my_query_above}]; nested exception is java.sql.SQLException: Incorrect syntax near the keyword 'ON'.
via GitHub by iav
, 11 months ago
StatementCallback; bad SQL grammar [select db_link as object_name, 'PUBLIC DATABASE LINK' as object_type from DBA_DB_LINKS where owner='PUBLIC']; nested exception is java.sql.SQLException: ORA-00942: table or view does not exist
via Spring JIRA by Sven Bonacker, 2 years ago
PreparedStatementCallback; bad SQL grammar [SELECT JOB_EXECUTION_ID, START_TIME, END_TIME, STATUS, EXIT_CODE, EXIT_MESSAGE, CREATE_TIME, LAST_UPDATED, VERSION from BATCH_JOB_EXECUTION where JOB_EXECUTION_ID = ?]; nested exception is java.sql.SQLSyntaxErrorException: ORA-00942: Tabelle oder View nicht vorhanden
via Spring JIRA by Sven Bonacker, 1 year ago
PreparedStatementCallback; bad SQL grammar [SELECT JOB_EXECUTION_ID, START_TIME, END_TIME, STATUS, EXIT_CODE, EXIT_MESSAGE, CREATE_TIME, LAST_UPDATED, VERSION from BATCH_JOB_EXECUTION where JOB_EXECUTION_ID = ?]; nested exception is java.sql.SQLSyntaxErrorException: ORA-00942: Tabelle oder View nicht vorhanden
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'kpmetrunk.hr_principal_calendar_t' doesn't exist	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)	at com.mysql.jdbc.Util.getInstance(Util.java:381)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1031)	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1837)	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1961)	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2543)	at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737)	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1888)	at org.enhydra.jdbc.core.CorePreparedStatement.executeQuery(CorePreparedStatement.java:92)	at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:648)	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:591)	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:674)	at org.springframework.jdbc.core.JdbcTemplate.queryForRowSet(JdbcTemplate.java:780)	at org.kuali.hr.time.approval.service.TimeApproveServiceImpl.getPrincipalIdsWithActiveAssignmentsForCalendarGroupByDeptAndWorkArea(TimeApproveServiceImpl.java:692)	at org.kuali.hr.time.approval.service.TimeApproveServiceImpl.getPrincipalIdsByDeptWorkAreaRolename(TimeApproveServiceImpl.java:614)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy342.getPrincipalIdsByDeptWorkAreaRolename(Unknown Source)	at org.kuali.hr.time.approval.web.TimeApprovalAction.selectNewDept(TimeApprovalAction.java:114)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)	at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:172)	at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:123)	at org.kuali.hr.time.base.web.TkAction.execute(TkAction.java:44)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503)	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499)	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101)	at org.kuali.hr.time.web.TKRequestProcessor.process(TKRequestProcessor.java:41)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:92)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.kuali.hr.time.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:50)	at org.kuali.hr.time.web.TkLoginFilter.doFilter(TkLoginFilter.java:34)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:273)	at org.kuali.hr.time.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:50)	at org.kuali.hr.time.web.TkLoginFilter.doFilter(TkLoginFilter.java:34)	at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:266)	at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:164)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)	at java.lang.Thread.run(Thread.java:662)