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

GitHub | faxm0dem | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    riemann: setting ttl field from macro fails

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

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  3. 0

    Shared hosting Bungeecord problems.

    GitHub | 3 years ago | Arksenu
    java.lang.ClassCastException: bka cannot be cast to fs All my servers are set to onlinemode: false Here is my config.yml groups: arksenu: - admin disabled_commands: - find player_limit: -1 stats: 347d1d62-6fb6-4869-bd43-7d0745de8e3c permissions: default: - bungeecord.command.server - bungeecord.command.list admin: - bungeecord.command.ip - bungeecord.command.alert - bungeecord.command.end - bungeecord.command.reload listeners: - max_players: 18 fallback_server: hub host: 0.0.0.0:35289 bind_local_address: true ping_passthrough: false tab_list: GLOBAL_PING default_server: hub forced_hosts: pvp.md-5.net: hub tab_size: 60 force_default_server: true motd: ’Network’ query_enabled: false query_port: 25565 timeout: 30000 connection_throttle: 4000 servers: hub: address: 108.170.8.146:35289 restricted: false motd: test UvGames: address: 66.85.165.170:26200 restricted: false motd: test UvPrison: address: 66.85.128.90:25928 restricted: false motd: test ip_forward: false online_mode: true And here is my console message -> UpstreamBridge has disconnected disconnected with: Exception Connecting:RuntimeException : Server is online mode! @ net.md_5.bungee.ServerConnector:188
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help:basic RMI question

    Google Groups | 2 decades ago | Paolo De Lutiis
    java.lang.ClassCastException: serverPackage.ServerClass_Stub at clientPackage.myApplet.init(myApplet.java:line#) at sun.applet.AppletPanel.run(AppletPanel.java:273) at java.lang.Thread.
  6. 0

    SWTBot/Troubleshooting - Eclipsepedia

    eclipse.org | 1 year ago
    java.lang.ClassCastException: org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:331) at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208) at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:115) at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)

    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