java.lang.ClassCastException: Cannot cast com.fasterxml.jackson.databind.node.TextNode to java.lang.String

GitHub | lennartkoopmann | 4 months ago
  1. 0

    String conversion problem with select_jsonpath() function

    GitHub | 4 months ago | lennartkoopmann
    java.lang.ClassCastException: Cannot cast com.fasterxml.jackson.databind.node.TextNode to java.lang.String
  2. 0

    ClassCastException in Spray Client

    Stack Overflow | 1 year ago | Arpit
    java.lang.ClassCastException: Cannot cast akka.io.Tcp$ErrorClosed to spray.http.HttpResponse
  3. 0

    Gatekeeper fails to update config with cast exception

    GitHub | 2 years ago | CoreyBehrends
    java.lang.ClassCastException: Cannot cast java.util.LinkedHashMap to java.lang.Void
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException exception when running Robolectric test with Power Mock on multiple files

    Stack Overflow | 1 year ago | benjosantony
    org.mockito.exceptions.base.MockitoException: ClassCastException occurred while creating the mockito proxy : class to mock : 'com.squareup.otto.Bus', loaded by classloader : 'org.robolectric.internal.bytecode.InstrumentingClassLoader@1593948d' created class : 'com.squareup.otto.Bus$$EnhancerByMockitoWithCGLIB$$82a3b196', loaded by classloader : 'org.robolectric.internal.bytecode.InstrumentingClassLoader@1593948d' proxy instance class : 'com.squareup.otto.Bus$$EnhancerByMockitoWithCGLIB$$82a3b196', loaded by classloader : 'org.mockito.internal.creation.util.SearchingClassLoader@618ff5c2' instance creation by : ObjenesisInstantiator You might experience classloading issues, disabling the Objenesis cache *might* help (see MockitoConfiguration)
  6. 0

    GitHub comment 1852#150709085

    GitHub | 1 year ago | milimetric
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup

  1. filpgame 11 times, last 1 week ago
  2. kid 11 times, last 3 weeks ago
  3. iridic 3 times, last 1 month ago
  4. kid 53 times, last 2 months ago
  5. Steven 1 times, last 6 months ago
1 more registered users
18 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.ClassCastException

    Cannot cast com.fasterxml.jackson.databind.node.TextNode to java.lang.String

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:3369)[?:1.8.0_101]
    1 frame
  3. graylog2-plugin
    Message.toElasticSearchObject
    1. org.graylog2.plugin.Message.getFieldAs(Message.java:371)[graylog.jar:?]
    2. org.graylog2.plugin.Message.getMessage(Message.java:287)[graylog.jar:?]
    3. org.graylog2.plugin.Message.toElasticSearchObject(Message.java:216)[graylog.jar:?]
    3 frames
  4. graylog2-server
    BlockingBatchedESOutput.forceFlushIfTimedout
    1. org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:116)[graylog.jar:?]
    2. org.graylog2.indexer.messages.Messages.bulkIndex(Messages.java:106)[graylog.jar:?]
    3. org.graylog2.outputs.ElasticSearchOutput.write(ElasticSearchOutput.java:98)[graylog.jar:?]
    4. org.graylog2.outputs.BlockingBatchedESOutput.flush(BlockingBatchedESOutput.java:128)[graylog.jar:?]
    5. org.graylog2.outputs.BlockingBatchedESOutput.forceFlushIfTimedout(BlockingBatchedESOutput.java:158)[graylog.jar:?]
    5 frames
  5. graylog2-shared
    BatchedElasticSearchOutputFlushThread.doRun
    1. org.graylog2.periodical.BatchedElasticSearchOutputFlushThread.doRun(BatchedElasticSearchOutputFlushThread.java:88)[graylog.jar:?]
    1 frame
  6. graylog2-plugin
    Periodical.run
    1. org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77)[graylog.jar:?]
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_101]
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[?:1.8.0_101]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[?:1.8.0_101]
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[?:1.8.0_101]
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_101]
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_101]
    7. java.lang.Thread.run(Thread.java:745)[?:1.8.0_101]
    7 frames