java.lang.IllegalArgumentException: 'messageConverters' must not be empty

Stack Overflow | ironmantis7x | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    How do I get an item from POJO classes in Android?

    Stack Overflow | 7 months ago | ironmantis7x
    java.lang.IllegalArgumentException: 'messageConverters' must not be empty
  2. 0
    samebug tip
    Check if you didn't add JPA as a dependency, because it requires you to add a minimal code, otherwhise it'll throw the exception. If you're actually using JPA, check this link for more info https://goo.gl/MDAAc0
  3. 0

    Failed to process import candidates for configuration class

    Stack Overflow | 8 months ago | bachr
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [el.dorado.App]; nested exception is java.lang.IllegalArgumentException: No auto configuration classes found in META-INF/spring.factories. If you are using a custom packaging, make sure that file is correct.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring application start error: sources must not be empty

    Stack Overflow | 1 year ago | Adipati Karna
    java.lang.IllegalArgumentException: Sources must not be empty
  6. 0

    Exception in RPC call from GWT

    Stack Overflow | 4 years ago | user35690
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.company.cm.ui.client.model.group.GroupData com.company.cm.ui.client.GroupService.getGroup(java.lang.Integer) throws com.company.cm.ui.client.exception.ServiceException' threw an unexpected exception: java.lang.IllegalArgumentException: [Assertion failed] - this collection must not be empty: it must contain at least 1 element
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

    'messageConverters' must not be empty

    at org.springframework.util.Assert.notEmpty()
  2. Spring Core
    Assert.notEmpty
    1. org.springframework.util.Assert.notEmpty(Assert.java:269)
    1 frame
  3. Spring
    RestTemplate.getForObject
    1. org.springframework.web.client.HttpMessageConverterExtractor.<init>(HttpMessageConverterExtractor.java:53)
    2. org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:235)
    2 frames
  4. software.blackstone.com
    MainActivity$HttpRequestTask.doInBackground
    1. software.blackstone.com.salafimasjidradioseries.MainActivity$HttpRequestTask.doInBackground(MainActivity.java:46)
    2. software.blackstone.com.salafimasjidradioseries.MainActivity$HttpRequestTask.doInBackground(MainActivity.java:39)
    2 frames
  5. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:295)
    1 frame
  6. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  7. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
    1 frame
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames