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 Weldon Sams, 2 years ago
OJB operation; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'LAST_KMS_DOC_REV_ID' in 'field list'
via Kuali JIRA by Weldon Sams, 1 year ago
OJB operation; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'LAST_KMS_DOC_REV_ID' in 'field list'
via Kuali JIRA by Kristina Taylor, 2 years ago
OJB operation; bad SQL grammar []; nested exception is java.sql.SQLException: ORA-00920: invalid relational operator
via Kuali JIRA by Kristina Taylor, 1 year ago
OJB operation; bad SQL grammar []; nested exception is java.sql.SQLException: ORA-00920: invalid relational operator
via Kuali JIRA by Mindi Balmer, 1 year ago
OJB operation; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'dept' in 'where clause'
via Kuali JIRA by Mindi Balmer, 2 years ago
OJB operation; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'dept' in 'where clause'
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'LAST_KMS_DOC_REV_ID' in 'field list'	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.executeUpdate(PreparedStatement.java:2022)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1940)	at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1925)	at org.enhydra.jdbc.core.CorePreparedStatement.executeUpdate(CorePreparedStatement.java:102)	at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.store(Unknown Source)	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source)	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Unknown Source)	at org.springmodules.orm.ojb.PersistenceBrokerTemplate$9.doInPersistenceBroker(PersistenceBrokerTemplate.java:246)	at org.springmodules.orm.ojb.PersistenceBrokerTemplate.execute(PersistenceBrokerTemplate.java:141)	at org.springmodules.orm.ojb.PersistenceBrokerTemplate.store(PersistenceBrokerTemplate.java:244)	at org.kuali.rice.kns.dao.impl.BusinessObjectDaoOjb.save(BusinessObjectDaoOjb.java:217)	at org.kuali.rice.kns.dao.proxy.BusinessObjectDaoProxy.save(BusinessObjectDaoProxy.java:213)	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.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy42.save(Unknown Source)	at org.kuali.rice.kns.service.impl.BusinessObjectServiceImpl.save(BusinessObjectServiceImpl.java:74)	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.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy43.save(Unknown Source)	at org.kuali.kits.kms.bo.KmsDocumentTest.testSave(KmsDocumentTest.java:137)	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.junit.internal.runners.TestMethod.invoke(TestMethod.java:66)	at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105)	at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86)	at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:94)	at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)	at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)	at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:98)	at org.kuali.rice.test.runners.RiceUnitTestClassRunner.invokeTestMethod(RiceUnitTestClassRunner.java:44)	at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:61)	at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:54)	at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34)	at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44)	at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:52)	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)