java.lang.RuntimeException: Unable to verify if [field String<binary-string>] is null or not because of an error:java.lang.ClassCastException: java.lang.String cannot be cast to [B

Pentaho BI Platform Tracking | Matt Campbell | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Reproduction steps above. This error can occur whenever fields from a CSV step using lazy initialization are passed to a Memory Group By step. The error below will occur. This appears to happen because of a mismatch in the ValueMeta data and storage type. The value is converted to normal storage in MemoryGroupBy.addToAggregate, but its storage type remains binary. {noformat} 2015/12/22 12:56:31 - Memory Group by.0 - ERROR (version 6.1.0.0-98, build 1 from 2015-12-15 22.48.55 by buildguy) : Unexpected error 2015/12/22 12:56:31 - Memory Group by.0 - ERROR (version 6.1.0.0-98, build 1 from 2015-12-15 22.48.55 by buildguy) : java.lang.RuntimeException: Unable to verify if [field String<binary-string>] is null or not because of an error:java.lang.ClassCastException: java.lang.String cannot be cast to [B 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.value.ValueMetaBase.isNull(ValueMetaBase.java:3337) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.value.ValueMetaBase.compare(ValueMetaBase.java:3370) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.RowMeta.compare(RowMeta.java:991) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.steps.memgroupby.MemoryGroupByData$HashEntry.equals(MemoryGroupByData.java:54) 2015/12/22 12:56:31 - Memory Group by.0 - at java.util.HashMap.getNode(HashMap.java:571) 2015/12/22 12:56:31 - Memory Group by.0 - at java.util.HashMap.get(HashMap.java:556) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.steps.memgroupby.MemoryGroupBy.addToAggregate(MemoryGroupBy.java:242) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.steps.memgroupby.MemoryGroupBy.processRow(MemoryGroupBy.java:175) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/12/22 12:56:31 - Memory Group by.0 - at java.lang.Thread.run(Thread.java:745) 2015/12/22 12:56:31 - Memory Group by.0 - Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [B 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.value.ValueMetaBase.isNull(ValueMetaBase.java:3308) 2015/12/22 12:56:31 - Memory Group by.0 - ... 9 more {noformat}

    Pentaho BI Platform Tracking | 1 year ago | Matt Campbell
    java.lang.RuntimeException: Unable to verify if [field String<binary-string>] is null or not because of an error:java.lang.ClassCastException: java.lang.String cannot be cast to [B
  2. 0

    Reproduction steps above. This error can occur whenever fields from a CSV step using lazy initialization are passed to a Memory Group By step. The error below will occur. This appears to happen because of a mismatch in the ValueMeta data and storage type. The value is converted to normal storage in MemoryGroupBy.addToAggregate, but its storage type remains binary. {noformat} 2015/12/22 12:56:31 - Memory Group by.0 - ERROR (version 6.1.0.0-98, build 1 from 2015-12-15 22.48.55 by buildguy) : Unexpected error 2015/12/22 12:56:31 - Memory Group by.0 - ERROR (version 6.1.0.0-98, build 1 from 2015-12-15 22.48.55 by buildguy) : java.lang.RuntimeException: Unable to verify if [field String<binary-string>] is null or not because of an error:java.lang.ClassCastException: java.lang.String cannot be cast to [B 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.value.ValueMetaBase.isNull(ValueMetaBase.java:3337) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.value.ValueMetaBase.compare(ValueMetaBase.java:3370) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.RowMeta.compare(RowMeta.java:991) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.steps.memgroupby.MemoryGroupByData$HashEntry.equals(MemoryGroupByData.java:54) 2015/12/22 12:56:31 - Memory Group by.0 - at java.util.HashMap.getNode(HashMap.java:571) 2015/12/22 12:56:31 - Memory Group by.0 - at java.util.HashMap.get(HashMap.java:556) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.steps.memgroupby.MemoryGroupBy.addToAggregate(MemoryGroupBy.java:242) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.steps.memgroupby.MemoryGroupBy.processRow(MemoryGroupBy.java:175) 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/12/22 12:56:31 - Memory Group by.0 - at java.lang.Thread.run(Thread.java:745) 2015/12/22 12:56:31 - Memory Group by.0 - Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [B 2015/12/22 12:56:31 - Memory Group by.0 - at org.pentaho.di.core.row.value.ValueMetaBase.isNull(ValueMetaBase.java:3308) 2015/12/22 12:56:31 - Memory Group by.0 - ... 9 more {noformat}

    Pentaho BI Platform Tracking | 1 year ago | Matt Campbell
    java.lang.RuntimeException: Unable to verify if [field String<binary-string>] is null or not because of an error:java.lang.ClassCastException: java.lang.String cannot be cast to [B
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

    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 [B

      at org.pentaho.di.core.row.value.ValueMetaBase.isNull()
    2. org.pentaho.di
      MemoryGroupByData$HashEntry.equals
      1. org.pentaho.di.core.row.value.ValueMetaBase.isNull(ValueMetaBase.java:3308)
      2. org.pentaho.di.core.row.value.ValueMetaBase.compare(ValueMetaBase.java:3370)
      3. org.pentaho.di.core.row.RowMeta.compare(RowMeta.java:991)
      4. org.pentaho.di.trans.steps.memgroupby.MemoryGroupByData$HashEntry.equals(MemoryGroupByData.java:54)
      4 frames
    3. Java RT
      HashMap.get
      1. java.util.HashMap.getNode(HashMap.java:571)
      2. java.util.HashMap.get(HashMap.java:556)
      2 frames
    4. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.memgroupby.MemoryGroupBy.addToAggregate(MemoryGroupBy.java:242)
      2. org.pentaho.di.trans.steps.memgroupby.MemoryGroupBy.processRow(MemoryGroupBy.java:175)
      3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
      3 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame