com.google.common.util.concurrent.UncheckedExecutionException: org.molgenis.data.MolgenisDataException: Attribute [id] query value is of type [String] instead of [Integer]

GitHub | Mark-de-Haan | 4 months ago
  1. 0

    Reindexing of single entity assumes ID type is String

    GitHub | 4 months ago | Mark-de-Haan
    com.google.common.util.concurrent.UncheckedExecutionException: org.molgenis.data.MolgenisDataException: Attribute [id] query value is of type [String] instead of [Integer]
  2. 0

    Filtering on xref with INT id fails

    GitHub | 4 months ago | fdlk
    org.molgenis.data.MolgenisDataException: Attribute [id] query value is of type [String] instead of [Integer]
  3. 0

    Can't set a reference to EntityMDMD or AttributeMDMD

    GitHub | 10 months ago | tommydeboer
    org.molgenis.data.MolgenisDataException: Could not resolve dependencies of entities [NewMetaData] are there circular dependencies?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot delete all OntologyTerm entities.

    GitHub | 10 months ago | fdlk
    org.molgenis.data.MolgenisDataException: Self-referencing not-null attribute [ontology] of entity [Ontology_OntologyTerm] cannot be deleted
  6. 0

    Importer refuses to import entity without label attribute with idAttribute in extended entity

    GitHub | 1 month ago | fdlk
    org.molgenis.data.MolgenisDataException: Validation error in entity [TestQuestionnaire]: Entity [TestQuestionnaire] is missing required label attribute; nested exception is org.molgenis.data.MolgenisDataException: Entity [TestQuestionnaire] is missing required label attribute

    Root Cause Analysis

    1. org.molgenis.data.MolgenisDataException

      Attribute [id] query value is of type [String] instead of [Integer]

      at org.molgenis.data.postgresql.PostgreSqlUtils.getPostgreSqlQueryValue()
    2. org.molgenis.data
      BatchingQueryResult.getBatch
      1. org.molgenis.data.postgresql.PostgreSqlUtils.getPostgreSqlQueryValue(PostgreSqlUtils.java:192)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      2. org.molgenis.data.postgresql.PostgreSqlQueryGenerator.getSqlWhere(PostgreSqlQueryGenerator.java:574)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      3. org.molgenis.data.postgresql.PostgreSqlQueryGenerator.getSqlSelect(PostgreSqlQueryGenerator.java:300)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      4. org.molgenis.data.postgresql.PostgreSqlRepository$2.getBatch(PostgreSqlRepository.java:406)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      5. org.molgenis.data.support.BatchingQueryResult.getBatch(BatchingQueryResult.java:36)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      6. org.molgenis.data.support.BatchingQueryResult.getBatch(BatchingQueryResult.java:14)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      6 frames
    3. org.molgenis.util
      BatchingIterable$1.hasNext
      1. org.molgenis.util.BatchingIterable$1.nextBatch(BatchingIterable.java:138)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      2. org.molgenis.util.BatchingIterable$1.hasNext(BatchingIterable.java:58)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      2 frames
    4. Java RT
      Spliterators$1Adapter.hasNext
      1. java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1811)[na:1.8.0_71]
      2. java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)[na:1.8.0_71]
      2 frames
    5. org.molgenis.data
      L2Cache$1.load
      1. org.molgenis.data.postgresql.PostgreSqlRepository.findOne(PostgreSqlRepository.java:165)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      2. org.molgenis.data.postgresql.PostgreSqlRepository.findOneById(PostgreSqlRepository.java:179)[molgenis-data-postgresql-2.0.0-SNAPSHOT.jar:na]
      3. org.molgenis.data.cache.l2.L2Cache$1.load(L2Cache.java:185)[molgenis-data-cache-2.0.0-SNAPSHOT.jar:na]
      4. org.molgenis.data.cache.l2.L2Cache$1.load(L2Cache.java:176)[molgenis-data-cache-2.0.0-SNAPSHOT.jar:na]
      4 frames
    6. Guava
      LocalCache$LocalLoadingCache.getUnchecked
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)[guava-16.0.1.jar:na]
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317)[guava-16.0.1.jar:na]
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)[guava-16.0.1.jar:na]
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)[guava-16.0.1.jar:na]
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3934)[guava-16.0.1.jar:na]
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938)[guava-16.0.1.jar:na]
      7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821)[guava-16.0.1.jar:na]
      8. com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827)[guava-16.0.1.jar:na]
      8 frames
    7. org.molgenis.data
      DataServiceImpl$$FastClassBySpringCGLIB$$2e5f77dc.invoke
      1. org.molgenis.data.cache.l2.L2Cache.get(L2Cache.java:91)[molgenis-data-cache-2.0.0-SNAPSHOT.jar:na]
      2. org.molgenis.data.cache.l2.L2CacheRepositoryDecorator.findOneById(L2CacheRepositoryDecorator.java:74)[molgenis-data-cache-2.0.0-SNAPSHOT.jar:na]
      3. org.molgenis.data.cache.l1.L1CacheRepositoryDecorator.findOneById(L1CacheRepositoryDecorator.java:82)[molgenis-data-cache-2.0.0-SNAPSHOT.jar:na]
      4. org.molgenis.data.elasticsearch.IndexedRepositoryDecorator.findOneById(IndexedRepositoryDecorator.java:111)[molgenis-data-elasticsearch-2.0.0-SNAPSHOT.jar:na]
      5. org.molgenis.data.AbstractRepositoryDecorator.findOneById(AbstractRepositoryDecorator.java:91)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      6. org.molgenis.data.EntityReferenceResolverDecorator.findOneById(EntityReferenceResolverDecorator.java:114)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      7. org.molgenis.data.listeners.EntityListenerRepositoryDecorator.findOneById(EntityListenerRepositoryDecorator.java:104)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      8. org.molgenis.data.validation.RepositoryValidationDecorator.findOneById(RepositoryValidationDecorator.java:156)[molgenis-data-validation-2.0.0-SNAPSHOT.jar:na]
      9. org.molgenis.data.AutoValueRepositoryDecorator.findOneById(AutoValueRepositoryDecorator.java:135)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      10. org.molgenis.data.RepositorySecurityDecorator.findOneById(RepositorySecurityDecorator.java:97)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      11. org.molgenis.data.support.DataServiceImpl.findOneById(DataServiceImpl.java:79)[molgenis-data-2.0.0-SNAPSHOT.jar:na]
      12. org.molgenis.data.support.DataServiceImpl$$FastClassBySpringCGLIB$$2e5f77dc.invoke(<generated>)[spring-core-4.1.8.RELEASE.jar:na]
      12 frames
    8. Spring Core
      MethodProxy.invoke
      1. org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)[spring-core-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      1 frame
    9. Spring AOP
      CglibAopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:649)[spring-aop-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      1 frame
    10. org.molgenis.data
      Job.call
      1. org.molgenis.data.support.DataServiceImpl$$EnhancerBySpringCGLIB$$24930b8f.findOneById(<generated>)[spring-core-4.1.8.RELEASE.jar:na]
      2. org.molgenis.data.elasticsearch.reindex.job.ReindexJob.rebuildIndexOneEntity(ReindexJob.java:198)[molgenis-data-elasticsearch-2.0.0-SNAPSHOT.jar:na]
      3. org.molgenis.data.elasticsearch.reindex.job.ReindexJob.performAction(ReindexJob.java:132)[molgenis-data-elasticsearch-2.0.0-SNAPSHOT.jar:na]
      4. org.molgenis.data.elasticsearch.reindex.job.ReindexJob.performReindexActions(ReindexJob.java:88)[molgenis-data-elasticsearch-2.0.0-SNAPSHOT.jar:na]
      5. org.molgenis.data.elasticsearch.reindex.job.ReindexJob.call(ReindexJob.java:62)[molgenis-data-elasticsearch-2.0.0-SNAPSHOT.jar:na]
      6. org.molgenis.data.elasticsearch.reindex.job.ReindexJob.call(ReindexJob.java:36)[molgenis-data-elasticsearch-2.0.0-SNAPSHOT.jar:na]
      7. org.molgenis.data.jobs.Job.runWithAuthentication(Job.java:89)[molgenis-jobs-2.0.0-SNAPSHOT.jar:na]
      8. org.molgenis.data.jobs.Job.tryRunWithAuthentication(Job.java:74)[molgenis-jobs-2.0.0-SNAPSHOT.jar:na]
      9. org.molgenis.data.jobs.Job.call(Job.java:44)[molgenis-jobs-2.0.0-SNAPSHOT.jar:na]
      9 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626)[na:1.8.0_71]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_71]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_71]
      4. java.lang.Thread.run(Thread.java:745)[na:1.8.0_71]
      4 frames