java.lang.UnsupportedOperationException: null

GitHub | mgamboa | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 84#254071991

    GitHub | 7 months ago | mgamboa
    java.lang.UnsupportedOperationException: null
  2. 0

    GitHub comment 84#255477530

    GitHub | 7 months ago | mgamboa
    java.lang.UnsupportedOperationException: null
  3. 0

    Spring using collection in @PostFilter

    Stack Overflow | 6 months ago | Sergii
    java.lang.UnsupportedOperationException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Orika - map Page<T> to Page<TDto>

    Stack Overflow | 11 months ago | kbysiec
    ma.glasnost.orika.MappingException: While attempting the following mapping: sourceClass = class org.springframework.data.domain.PageImpl sourceType = org.springframework.data.domain.Page<Entry> destinationType = org.springframework.data.domain.Page<EntryDto> resolvedStrategy = InstantiateAndUseCustomMapperStrategy<PageImpl<Entry>, PageImpl<EntryDto>> {customMapper: GeneratedMapper<PageImpl<Entry>, PageImpl<EntryDto>> {usedConverters: [], usedMappers: [], usedMapperFacades: [DefaultBoundMapperFacade<Sort, Sort>], usedTypes: [Object] }, unenhancer: ma.glasnost.orika.unenhance.BaseUnenhancer@4b5aa48b, objectFactory: ma.glasnost.orika.generated.PageImpl_PageImpl_ObjectFactory59678627946495970211838179$3@2dd2ff87} Error occurred: java.lang.UnsupportedOperationException -----begin dump of current state----------------------------- Registered object factories: 3 (approximate size: 9,541.1 kB) [AccountDto] : {Account=DefaultConstructorObjectFactory<AccountDto>} [PageImpl<EntryDto>] : {PageImpl<Entry>=ma.glasnost.orika.generated.PageImpl_PageImpl_ObjectFactory59678627946495970211838179$3@2dd2ff87} [EntryDto] : {Entry=DefaultConstructorObjectFactory<EntryDto>} ------------------------------------------------------------- Registered mappers: 3 (approximate size: 9,794.2 kB) [0] : GeneratedMapper<PageImpl<Entry>, PageImpl<EntryDto>> {usedConverters: [], usedMappers: [], usedMapperFacades: [DefaultBoundMapperFacade<Sort, Sort>], usedTypes: [Object] } [1] : GeneratedMapper<Entry, EntryDto> {usedConverters: [builtin:CloneableConverter(Copy by cloning:Date, Calendar, XMLGregorianCalendar)], usedMappers: [], usedMapperFacades: [DefaultBoundMapperFacade<Account, AccountDto>], usedTypes: [Date] } [2] : GeneratedMapper<Account, AccountDto> {usedConverters: [builtin:CloneableConverter(Copy by cloning:Date, Calendar, XMLGregorianCalendar)], usedMappers: [], usedMapperFacades: [], usedTypes: [Date, Entry, EntryDto] } ------------------------------------------------------------- Registered concrete types: 6 (approximate size: 346.9 kB) [interface java.util.Collection] : ArrayList<Object> [interface java.util.Map] : LinkedHashMap<Object, Object> [interface java.util.Map$Entry] : MapEntry<Object, Object> [Page<Entry>] : PageImpl<EntryDto> [interface java.util.List] : ArrayList<Object> [interface java.util.Set] : LinkedHashSet<Object> ------------------------------------------------------------- Resolved strategies: 4 (approximate size: 9,794.6 kB) {source: PageImpl, dest: Page<EntryDto>, in-place:false}: InstantiateAndUseCustomMapperStrategy<PageImpl<Entry>, PageImpl<EntryDto>> {customMapper: GeneratedMapper<PageImpl<Entry>, PageImpl<EntryDto>> {usedConverters: [], usedMappers: [], usedMapperFacades: [DefaultBoundMapperFacade<Sort, Sort>], usedTypes: [Object] }, unenhancer: ma.glasnost.orika.unenhance.BaseUnenhancer@4b5aa48b, objectFactory: ma.glasnost.orika.generated.PageImpl_PageImpl_ObjectFactory59678627946495970211838179$3@2dd2ff87} {source: Account, dest: AccountDto, in-place:false}: InstantiateAndUseCustomMapperStrategy<Account, AccountDto> {customMapper: GeneratedMapper<Account, AccountDto> {usedConverters: [builtin:CloneableConverter(Copy by cloning:Date, Calendar, XMLGregorianCalendar)], usedMappers: [], usedMapperFacades: [], usedTypes: [Date, Entry, EntryDto] }, unenhancer: ma.glasnost.orika.unenhance.BaseUnenhancer@4b5aa48b, objectFactory: DefaultConstructorObjectFactory<AccountDto>} {source: Entry, dest: Object, in-place:false}: InstantiateAndUseCustomMapperStrategy<Entry, EntryDto> {customMapper: GeneratedMapper<Entry, EntryDto> {usedConverters: [builtin:CloneableConverter(Copy by cloning:Date, Calendar, XMLGregorianCalendar)], usedMappers: [], usedMapperFacades: [DefaultBoundMapperFacade<Account, AccountDto>], usedTypes: [Date] }, unenhancer: ma.glasnost.orika.unenhance.BaseUnenhancer@4b5aa48b, objectFactory: DefaultConstructorObjectFactory<EntryDto>} {source: Entry, dest: EntryDto, in-place:false}: InstantiateAndUseCustomMapperStrategy<Entry, EntryDto> {customMapper: GeneratedMapper<Entry, EntryDto> {usedConverters: [builtin:CloneableConverter(Copy by cloning:Date, Calendar, XMLGregorianCalendar)], usedMappers: [], usedMapperFacades: [DefaultBoundMapperFacade<Account, AccountDto>], usedTypes: [Date] }, unenhancer: ma.glasnost.orika.unenhance.BaseUnenhancer@4b5aa48b, objectFactory: DefaultConstructorObjectFactory<EntryDto>} ------------------------------------------------------------- Unenhance strategy: ma.glasnost.orika.unenhance.BaseUnenhancer@4b5aa48b -----end dump of current state-------------------------------

    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.UnsupportedOperationException

      null

      at java.util.Collections$UnmodifiableCollection.clear()
    2. Java RT
      Collections$UnmodifiableCollection.clear
      1. java.util.Collections$UnmodifiableCollection.clear(Collections.java:1074)[na:1.8.0_102]
      1 frame
    3. org.exoplatform.chat
      MigrateServiceListener.contextInitialized
      1. org.exoplatform.chat.services.mongodb.MongoBootstrap.getDB(MongoBootstrap.java:126)[server-1.3.0.jar:1.3.0]
      2. org.exoplatform.chat.services.mongodb.MongoBootstrap.getDB(MongoBootstrap.java:112)[server-1.3.0.jar:1.3.0]
      3. org.exoplatform.chat.services.MigrateService.<init>(MigrateService.java:22)[server-1.3.0.jar:1.3.0]
      4. org.exoplatform.chat.listener.MigrateServiceListener.contextInitialized(MigrateServiceListener.java:19)[server-1.3.0.jar:1.3.0]
      4 frames
    4. Glassfish Core
      HostConfig$DeployWar.run
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5099)[catalina.jar:7.0.70]
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5615)[catalina.jar:7.0.70]
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)[catalina.jar:7.0.70]
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)[catalina.jar:7.0.70]
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)[catalina.jar:7.0.70]
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)[catalina.jar:7.0.70]
      7. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)[catalina.jar:7.0.70]
      8. org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)[catalina.jar:7.0.70]
      8 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_102]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_102]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_102]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_102]
      5. java.lang.Thread.run(Thread.java:745)[na:1.8.0_102]
      5 frames