java.sql.SQLException: Illegal operation on empty result set.

Google Groups | Jenkins | 6 months ago
  1. 0

    Build failed in Jenkins: Platform-IntegrationTests #2251

    Google Groups | 6 months ago | Jenkins
    java.sql.SQLException: Illegal operation on empty result set.
  2. 0

    Build failed in Jenkins: Platform-IntegrationTests #2302

    Google Groups | 4 months ago | Jenkins
    java.sql.SQLException: Illegal operation on empty result set.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 33#99415938

    GitHub | 2 years ago | judithek
    org.hibernate.exception.GenericJDBCException: could not initialize a collection: [de.tudarmstadt.ukp.lmf.model.core.Sense.equivalents#WktEN_sense_36122]
  5. 0

    GitHub comment 33#99415962

    GitHub | 2 years ago | judithek
    org.hibernate.exception.GenericJDBCException: could not initialize a collection: [de.tudarmstadt.ukp.lmf.model.core.LexicalEntry.senses#WktEN_lexicalEntry_177990]

  1. jstrayer 4 times, last 2 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    Illegal operation on empty result set.

    at com.mysql.jdbc.SQLError.createSQLException()
  2. MySQL jdbc
    ResultSetImpl.getString
    1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1094)
    2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:997)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:983)
    4. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:928)
    5. com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:850)
    6. com.mysql.jdbc.ResultSetImpl.getStringInternal(ResultSetImpl.java:5768)
    7. com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5688)
    8. com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5728)
    8 frames
  3. c3p0:JDBC DataSources/Resource Pools
    NewProxyResultSet.getString
    1. com.mchange.v2.c3p0.impl.NewProxyResultSet.getString(NewProxyResultSet.java:3342)
    1 frame
  4. org.motechproject.mds
    MDSConstructorImpl.updateFields
    1. org.motechproject.mds.builder.impl.MDSConstructorImpl.updateFieldName(MDSConstructorImpl.java:492)
    2. org.motechproject.mds.builder.impl.MDSConstructorImpl.updateFields(MDSConstructorImpl.java:306)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    3 frames
  7. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    1 frame
  8. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    2 frames
  9. com.sun.proxy
    $Proxy39.updateFields
    1. com.sun.proxy.$Proxy39.updateFields(Unknown Source)
    1 frame
  10. org.motechproject.mds
    EntityServiceImpl.commitChanges
    1. org.motechproject.mds.service.impl.EntityServiceImpl.commitChanges(EntityServiceImpl.java:441)
    2. org.motechproject.mds.service.impl.EntityServiceImpl.commitChanges(EntityServiceImpl.java:627)
    2 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  12. Spring AOP
    ReflectiveMethodInvocation.proceed
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
    2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
    3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
    3 frames
  13. Spring Tx
    TransactionInterceptor.invoke
    1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
    1 frame
  14. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
    2 frames
  15. com.sun.proxy
    $Proxy45.commitChanges
    1. com.sun.proxy.$Proxy45.commitChanges(Unknown Source)
    1 frame
  16. org.motechproject.mds
    EntityServiceContextIT.shouldUpdateUserPreferencesAfterCommit
    1. org.motechproject.mds.it.service.EntityServiceContextIT.shouldUpdateUserPreferencesAfterCommit(EntityServiceContextIT.java:594)
    1 frame
  17. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  18. JUnit
    RunBefores.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    5 frames
  19. Spring TestContext
    RunBeforeTestMethodCallbacks.evaluate
    1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
    1 frame
  20. JUnit
    RunAfters.evaluate
    1. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    1 frame
  21. Spring TestContext
    SpringJUnit4ClassRunner.runChild
    1. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
    2. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
    3. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
    3 frames
  22. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
    2. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    3. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    4. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    5. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    6. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    6 frames
  23. Spring TestContext
    RunAfterTestClassCallbacks.evaluate
    1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
    2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
    2 frames
  24. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:292)
    1 frame
  25. Spring TestContext
    SpringJUnit4ClassRunner.run
    1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
    1 frame
  26. JUnit
    ParentRunner.run
    1. org.junit.runners.Suite.runChild(Suite.java:128)
    2. org.junit.runners.Suite.runChild(Suite.java:24)
    3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    8. org.junit.runners.ParentRunner.run(ParentRunner.java:292)
    8 frames
  27. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
    3 frames
  28. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames