java.lang.IllegalArgumentException: source identifiers table has unexpected entity type 'Participant' (expected 'Participant')

JIRA | Yannick Marcon | 4 years ago
  1. 0

    Request is: {code} PUT https://localhost:8843/ws/functional-unit/OpalInstance/entities/identifiers/map/functional-unit/CATI?create=true {code} Content is: {code} [{"value":"1242_0","key":"Q679630"},{"value":"4361_0","key":"N656964"},{"value":"17314_0","key":"E449758"},{"value":"17505_0","key":"A257285"},{"value":"20318_0","key":"B739176"},{"value":"22232_0","key":"J504114"},{"value":"23947_0","key":"H075700"},{"value":"26199_0","key":"T398863"},{"value":"27213_0","key":"I364126"},{"value":"27474_0","key":"S700434"},{"value":"27705_0","key":"J327885"},{"value":"27986_0","key":"J517128"},{"value":"29275_0","key":"M970306"},{"value":"30285_0","key":"I674690"},{"value":"31028_0","key":"B134671"},{"value":"32876_0","key":"E697841"},{"value":"33009_0","key":"C530373"},{"value":"33132_0","key":"K364063"},{"value":"33276_0","key":"N391951"},{"value":"33283_0","key":"U987739"},{"value":"33381_0","key":"T424870"},{"value":"33702_0","key":"B062211"},{"value":"33744_0","key":"L884167"},{"value":"33785_0","key":"E146524"},{"value":"33841_0","key":"U020728"},{"value":"33846_0","key":"U794203"},{"value":"33877_0","key":"A055798"},{"value":"33895_0","key":"Q771188"},{"value":"33929_0","key":"C858843"},{"value":"34000_0","key":"E384329"},{"value":"34030_0","key":"L391844"},{"value":"34034_0","key":"T305730"},{"value":"34043_0","key":"T057932"},{"value":"34105_0","key":"R435004"},{"value":"34116_0","key":"I235555"},{"value":"34121_0","key":"I790061"},{"value":"34168_0","key":"O437218"},{"value":"34216_0","key":"P403550"},{"value":"34218_0","key":"U640930"},{"value":"34259_0","key":"H551081"},{"value":"34262_0","key":"S791083"},{"value":"34290_0","key":"Q465486"},{"value":"34307_0","key":"J260150"},{"value":"34317_0","key":"S999973"},{"value":"34321_0","key":"T217238"},{"value":"34325_0","key":"I902757"}] {code} Error is: {code} 2013-04-04 08:36:16,385 - ERROR - web.FunctionalUnitResource - Mapping failed java.lang.IllegalArgumentException: source identifiers table has unexpected entity type 'Participant' (expected 'Participant') at org.springframework.util.Assert.isTrue(Assert.java:65) at org.obiba.opal.core.service.impl.DefaultImportService.importIdentifiers(DefaultImportService.java:290) at org.obiba.opal.core.service.impl.DefaultImportService.importIdentifiers(DefaultImportService.java:280) at org.obiba.opal.web.FunctionalUnitResource.importIdentifiers(FunctionalUnitResource.java:486) at org.obiba.opal.web.FunctionalUnitResource.prepareMapIdentifiers(FunctionalUnitResource.java:380) at org.obiba.opal.web.FunctionalUnitResource.mapIdentifiers(FunctionalUnitResource.java:363) 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:616) {code}

    JIRA | 4 years ago | Yannick Marcon
    java.lang.IllegalArgumentException: source identifiers table has unexpected entity type 'Participant' (expected 'Participant')
  2. 0

    Request is: {code} PUT https://localhost:8843/ws/functional-unit/OpalInstance/entities/identifiers/map/functional-unit/CATI?create=true {code} Content is: {code} [{"value":"1242_0","key":"Q679630"},{"value":"4361_0","key":"N656964"},{"value":"17314_0","key":"E449758"},{"value":"17505_0","key":"A257285"},{"value":"20318_0","key":"B739176"},{"value":"22232_0","key":"J504114"},{"value":"23947_0","key":"H075700"},{"value":"26199_0","key":"T398863"},{"value":"27213_0","key":"I364126"},{"value":"27474_0","key":"S700434"},{"value":"27705_0","key":"J327885"},{"value":"27986_0","key":"J517128"},{"value":"29275_0","key":"M970306"},{"value":"30285_0","key":"I674690"},{"value":"31028_0","key":"B134671"},{"value":"32876_0","key":"E697841"},{"value":"33009_0","key":"C530373"},{"value":"33132_0","key":"K364063"},{"value":"33276_0","key":"N391951"},{"value":"33283_0","key":"U987739"},{"value":"33381_0","key":"T424870"},{"value":"33702_0","key":"B062211"},{"value":"33744_0","key":"L884167"},{"value":"33785_0","key":"E146524"},{"value":"33841_0","key":"U020728"},{"value":"33846_0","key":"U794203"},{"value":"33877_0","key":"A055798"},{"value":"33895_0","key":"Q771188"},{"value":"33929_0","key":"C858843"},{"value":"34000_0","key":"E384329"},{"value":"34030_0","key":"L391844"},{"value":"34034_0","key":"T305730"},{"value":"34043_0","key":"T057932"},{"value":"34105_0","key":"R435004"},{"value":"34116_0","key":"I235555"},{"value":"34121_0","key":"I790061"},{"value":"34168_0","key":"O437218"},{"value":"34216_0","key":"P403550"},{"value":"34218_0","key":"U640930"},{"value":"34259_0","key":"H551081"},{"value":"34262_0","key":"S791083"},{"value":"34290_0","key":"Q465486"},{"value":"34307_0","key":"J260150"},{"value":"34317_0","key":"S999973"},{"value":"34321_0","key":"T217238"},{"value":"34325_0","key":"I902757"}] {code} Error is: {code} 2013-04-04 08:36:16,385 - ERROR - web.FunctionalUnitResource - Mapping failed java.lang.IllegalArgumentException: source identifiers table has unexpected entity type 'Participant' (expected 'Participant') at org.springframework.util.Assert.isTrue(Assert.java:65) at org.obiba.opal.core.service.impl.DefaultImportService.importIdentifiers(DefaultImportService.java:290) at org.obiba.opal.core.service.impl.DefaultImportService.importIdentifiers(DefaultImportService.java:280) at org.obiba.opal.web.FunctionalUnitResource.importIdentifiers(FunctionalUnitResource.java:486) at org.obiba.opal.web.FunctionalUnitResource.prepareMapIdentifiers(FunctionalUnitResource.java:380) at org.obiba.opal.web.FunctionalUnitResource.mapIdentifiers(FunctionalUnitResource.java:363) 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:616) {code}

    JIRA | 4 years ago | Yannick Marcon
    java.lang.IllegalArgumentException: source identifiers table has unexpected entity type 'Participant' (expected 'Participant')
  3. 0

    Application startup failed with org.hibernate:hibernate-search-orm.XYZ on class path

    GitHub | 2 years ago | dirkrathje
    java.lang.IllegalArgumentException: @ConditionalOnMissingBean annotations must specify at least one bean (type, name or annotation)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue of pagination in Spring Data JPA

    Stack Overflow | 5 years ago | Tom
    java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter!
  6. 0

    SubProtocolWebSocketHandler - No handlers

    Stack Overflow | 2 years ago
    org.springframework.web.context.ContextLoaderListener: org.springframework.context.ApplicationContextException: Failed to start bean 'subProtocolWebSocketHandler'; nested exception is java.lang.IllegalArgumentException: No handlers

  1. batwalrus76 1 times, last 1 week ago
  2. kjhdofjosvs 1 times, last 3 weeks ago
  3. j.kienzle 1 times, last 1 month ago
  4. Luka 2 times, last 2 months ago
  5. andyglick 1 times, last 3 months ago
4 more registered users
29 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.lang.IllegalArgumentException

    source identifiers table has unexpected entity type 'Participant' (expected 'Participant')

    at org.springframework.util.Assert.isTrue()
  2. Spring Core
    Assert.isTrue
    1. org.springframework.util.Assert.isTrue(Assert.java:65)
    1 frame
  3. org.obiba.opal
    FunctionalUnitResource.mapIdentifiers
    1. org.obiba.opal.core.service.impl.DefaultImportService.importIdentifiers(DefaultImportService.java:290)
    2. org.obiba.opal.core.service.impl.DefaultImportService.importIdentifiers(DefaultImportService.java:280)
    3. org.obiba.opal.web.FunctionalUnitResource.importIdentifiers(FunctionalUnitResource.java:486)
    4. org.obiba.opal.web.FunctionalUnitResource.prepareMapIdentifiers(FunctionalUnitResource.java:380)
    5. org.obiba.opal.web.FunctionalUnitResource.mapIdentifiers(FunctionalUnitResource.java:363)
    5 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:616)
    4 frames