java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number

GitHub | faxm0dem | 2 years ago
  1. 0

    riemann: setting ttl field from macro fails

    GitHub | 2 years ago | faxm0dem
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
  2. 0

    Can't use custom type mappings for value classes

    GitHub | 1 month ago | vlovgr
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
  3. 0

    Not able to store integer data using ParquetStorer

    Stack Overflow | 2 years ago | Suraj Nayak
    parquet.io.ParquetEncodingException: can not write value at 2 in tuple (,2003-11-22,840,00007,ABC,DEF,FFGG,10,0.0,0,0.0,11.11,0,7.122112,0.0,0,0.0) from type 'C1: int' to type 'optional int32 C1'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Resolved] (STORM-173) use "-c " command to define Number config value will generate ClassCastException

    incubator-storm-dev | 3 years ago | P. Taylor Goetz (JIRA)
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number
  6. 0

    classcast exception in JPA while saving images to the database

    Stack Overflow | 5 years ago | user414967
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number

    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

      java.lang.String cannot be cast to java.lang.Number

      at riemann.codec$encode_pb_event.invoke()
    2. riemann
      codec$encode_pb_event.invoke
      1. riemann.codec$encode_pb_event.invoke(codec.clj:81)
      1 frame
    3. Clojure
      LazySeq.iterator
      1. clojure.core$map$fn__4245.invoke(core.clj:2559)
      2. clojure.lang.LazySeq.sval(LazySeq.java:40)
      3. clojure.lang.LazySeq.seq(LazySeq.java:49)
      4. clojure.lang.LazySeq.iterator(LazySeq.java:184)
      4 frames
    4. Protocol Buffer Java API
      AbstractMessageLite$Builder.addAll
      1. com.google.protobuf.AbstractMessageLite$Builder.checkForNullValues(AbstractMessageLite.java:336)
      2. com.google.protobuf.AbstractMessageLite$Builder.addAll(AbstractMessageLite.java:323)
      2 frames
    5. com.aphyr.riemann
      Proto$Msg$Builder.addAllEvents
      1. com.aphyr.riemann.Proto$Msg$Builder.addAllEvents(Proto.java:5123)
      1 frame
    6. riemann
      transport$msg_encoder$fn__11277.invoke
      1. riemann.codec$encode_pb_msg.invoke(codec.clj:113)
      2. riemann.transport$msg_encoder$fn__11277.invoke(transport.clj:81)
      2 frames
    7. riemann.transport.proxy$org
      OneToOneEncoder$ff19274a.encode
      1. riemann.transport.proxy$org.jboss.netty.handler.codec.oneone.OneToOneEncoder$ff19274a.encode(Unknown Source)
      1 frame
    8. Netty
      OneToOneEncoder.doEncode
      1. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:66)
      1 frame
    9. riemann.transport.proxy$org
      OneToOneEncoder$ff19274a.doEncode
      1. riemann.transport.proxy$org.jboss.netty.handler.codec.oneone.OneToOneEncoder$ff19274a.doEncode(Unknown Source)
      1 frame
    10. Netty
      OneToOneEncoder.handleDownstream
      1. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
      1 frame
    11. riemann.transport.proxy$org
      OneToOneEncoder$ff19274a.handleDownstream
      1. riemann.transport.proxy$org.jboss.netty.handler.codec.oneone.OneToOneEncoder$ff19274a.handleDownstream(Unknown Source)
      1 frame
    12. riemann.transport.tcp
      SimpleChannelHandler$ff19274a.handleDownstream
      1. riemann.transport.tcp.proxy$org.jboss.netty.channel.SimpleChannelHandler$ff19274a.writeRequested(Unknown Source)
      2. riemann.transport.tcp.proxy$org.jboss.netty.channel.SimpleChannelHandler$ff19274a.handleDownstream(Unknown Source)
      2 frames
    13. Netty
      AbstractChannel.write
      1. org.jboss.netty.channel.Channels.write(Channels.java:704)
      2. org.jboss.netty.channel.Channels.write(Channels.java:671)
      3. org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      4. org.jboss.netty.channel.Channels.write(Channels.java:671)
      5. org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      5 frames
    14. riemann.transport
      tcp$gen_tcp_handler$fn__11316.invoke
      1. riemann.transport.tcp$tcp_handler.invoke(tcp.clj:84)
      2. riemann.transport.tcp$gen_tcp_handler$fn__11316.invoke(tcp.clj:65)
      2 frames
    15. riemann.transport.tcp
      SimpleChannelHandler$ff19274a.handleUpstream
      1. riemann.transport.tcp.proxy$org.jboss.netty.channel.SimpleChannelHandler$ff19274a.messageReceived(Unknown Source)
      2. riemann.transport.tcp.proxy$org.jboss.netty.channel.SimpleChannelHandler$ff19274a.handleUpstream(Unknown Source)
      2 frames
    16. Netty
      OneToOneDecoder.handleUpstream
      1. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
      2. org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:70)
      2 frames
    17. riemann.transport.proxy$org
      OneToOneDecoder$ff19274a.handleUpstream
      1. riemann.transport.proxy$org.jboss.netty.handler.codec.oneone.OneToOneDecoder$ff19274a.handleUpstream(Unknown Source)
      1 frame
    18. Netty
      OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run
      1. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
      2. org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:70)
      3. org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
      4. org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
      5. org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314)
      5 frames
    19. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames