java.lang.IllegalArgumentException: object is not an instance of declaring class

Stack Overflow | Jeet | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    mule java component throwing IllegalArgumentException

    Stack Overflow | 8 months ago | Jeet
    java.lang.IllegalArgumentException: object is not an instance of declaring class
  2. 0

    Polymorphic Deserialization - object is not an instance of declaring class - Jackson JSON User Group

    ning.com | 10 months ago
    com.fasterxml.jackson.databind.JsonMappingException: Problem deserializing property 'data' (expected type: [simple type, class java.lang.Object]; actual type: ItemTest$Device), problem: object is not an instance of declaring class (through reference chain: java.util.ArrayList[0])
  3. 0

    java.lang.IllegalArgumentException: object is not an instance of declaring class

    GitHub | 3 years ago | rustyx
    java.lang.IllegalArgumentException: object is not an instance of declaring class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: object is not an instance of declaring class

    Stack Overflow | 4 years ago | svager
    java.lang.IllegalArgumentException: object is not an instance of declaring class
  6. 0

    CXF JAXRS Spring Unit test cases fails

    Stack Overflow | 2 years ago | user2629746
    org.apache.cxf.interceptor.Fault: object is not an instance of declaring class while invoking public java.lang.String org.*.api.TestRestServiceImpl.getHtml() with p arams [].

  1. johnxfly 2 times, last 2 months ago
  2. Pilleo 1 times, last 2 months ago
  3. musketyr 4 times, last 2 months ago
  4. Aria Pahlavan 16 times, last 5 months ago
  5. kjhdofjosvs 2 times, last 6 months ago
9 more registered users
72 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

    object is not an instance of declaring class

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_75]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[?:1.7.0_75]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_75]
    4. java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_75]
    4 frames
  3. Mule Core
    AbstractInterceptingMessageProcessorBase.processNext
    1. org.mule.model.resolvers.AbstractEntryPointResolver.invokeMethod(AbstractEntryPointResolver.java:148)[mule-core-3.6.2.jar:3.6.2]
    2. org.mule.model.resolvers.MethodHeaderPropertyEntryPointResolver.invoke(MethodHeaderPropertyEntryPointResolver.java:109)[mule-core-3.6.2.jar:3.6.2]
    3. org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:36)[mule-core-3.6.2.jar:3.6.2]
    4. org.mule.component.DefaultComponentLifecycleAdapter.invoke(DefaultComponentLifecycleAdapter.java:339)[mule-core-3.6.2.jar:3.6.2]
    5. org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:82)[mule-core-3.6.2.jar:3.6.2]
    6. org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:73)[mule-core-3.6.2.jar:3.6.2]
    7. org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:125)[mule-core-3.6.2.jar:3.6.2]
    8. org.mule.component.AbstractComponent.access$000(AbstractComponent.java:59)[mule-core-3.6.2.jar:3.6.2]
    9. org.mule.component.AbstractComponent$1$1.process(AbstractComponent.java:241)[mule-core-3.6.2.jar:3.6.2]
    10. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)[mule-core-3.6.2.jar:3.6.2]
    11. org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:58)[mule-core-3.6.2.jar:3.6.2]
    12. org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)[mule-core-3.6.2.jar:3.6.2]
    13. org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:94)[mule-core-3.6.2.jar:3.6.2]
    14. org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:69)[mule-core-3.6.2.jar:3.6.2]
    15. org.mule.processor.chain.InterceptingChainLifecycleWrapper.doProcess(InterceptingChainLifecycleWrapper.java:50)[mule-core-3.6.2.jar:3.6.2]
    16. org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:69)[mule-core-3.6.2.jar:3.6.2]
    17. org.mule.processor.chain.InterceptingChainLifecycleWrapper.access$001(InterceptingChainLifecycleWrapper.java:22)[mule-core-3.6.2.jar:3.6.2]
    18. org.mule.processor.chain.InterceptingChainLifecycleWrapper$1.process(InterceptingChainLifecycleWrapper.java:66)[mule-core-3.6.2.jar:3.6.2]
    19. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)[mule-core-3.6.2.jar:3.6.2]
    20. org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:58)[mule-core-3.6.2.jar:3.6.2]
    21. org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)[mule-core-3.6.2.jar:3.6.2]
    22. org.mule.processor.chain.InterceptingChainLifecycleWrapper.process(InterceptingChainLifecycleWrapper.java:61)[mule-core-3.6.2.jar:3.6.2]
    23. org.mule.component.AbstractComponent.process(AbstractComponent.java:159)[mule-core-3.6.2.jar:3.6.2]
    24. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)[mule-core-3.6.2.jar:3.6.2]
    25. org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:58)[mule-core-3.6.2.jar:3.6.2]
    26. org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)[mule-core-3.6.2.jar:3.6.2]
    27. org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:94)[mule-core-3.6.2.jar:3.6.2]
    28. org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:69)[mule-core-3.6.2.jar:3.6.2]
    29. org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)[mule-core-3.6.2.jar:3.6.2]
    30. org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)[mule-core-3.6.2.jar:3.6.2]
    31. org.mule.processor.AbstractInterceptingMessageProcessorBase.processNext(AbstractInterceptingMessageProcessorBase.java:102)[mule-core-3.6.2.jar:3.6.2]
    31 frames
  4. CXF Module
    MuleInvoker$1.process
    1. org.mule.module.cxf.CxfInboundMessageProcessor.processNext(CxfInboundMessageProcessor.java:389)[mule-module-cxf-3.6.2.jar:3.6.2]
    2. org.mule.module.cxf.MuleInvoker$1.process(MuleInvoker.java:88)[mule-module-cxf-3.6.2.jar:3.6.2]
    3. org.mule.module.cxf.MuleInvoker$1.process(MuleInvoker.java:84)[mule-module-cxf-3.6.2.jar:3.6.2]
    3 frames
  5. Mule Core
    ErrorHandlingExecutionTemplate.execute
    1. org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:16)[mule-core-3.6.2.jar:3.6.2]
    2. org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:30)[mule-core-3.6.2.jar:3.6.2]
    3. org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:14)[mule-core-3.6.2.jar:3.6.2]
    4. org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:54)[mule-core-3.6.2.jar:3.6.2]
    5. org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:50)[mule-core-3.6.2.jar:3.6.2]
    6. org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:28)[mule-core-3.6.2.jar:3.6.2]
    7. org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:13)[mule-core-3.6.2.jar:3.6.2]
    8. org.mule.execution.ErrorHandlingExecutionTemplate.execute(ErrorHandlingExecutionTemplate.java:59)[mule-core-3.6.2.jar:3.6.2]
    8 frames
  6. CXF Module
    MuleInvoker.invoke
    1. org.mule.module.cxf.MuleInvoker.invoke(MuleInvoker.java:83)[mule-module-cxf-3.6.2.jar:3.6.2]
    1 frame