Buggy code:
@ XStreamAlias ( "thermostatFanStateCommandClass" ) public class ZWaveThermostatFanStateCommandClass extends ZWaveCommandClass implements ZWaveCommandClassDynamicState , ZWaveGetCommands { @ XStreamOmitField private static final Logger logger = LoggerFactory . getLogger ( ZWaveThermostatFanStateCommandClass . class ) ; private static final byte THERMOSTAT_FAN_STATE_GET = 2 ; private static final byte THERMOSTAT_FAN_STATE_REPORT = 3 ; private final Set < ZWaveThermostatFanStateCommandClass . FanStateType > fanStateTypes = new HashSet < ZWaveThermostatFanStateCommandClass . FanStateType > ( ) ; @ XStreamOmitField private boolean dynamicDone = false ; private boolean isGetSupported = true ; public ZWaveThermostatFanStateCommandClass ( ZWaveNode node , ZWaveController controller , ZWaveEndpoint endpoint ) { } @ Override public CommandClass getCommandClass ( ) { } @ Override public int getMaxVersion ( ) { } @ Override public void handleApplicationCommandRequest ( SerialMessage serialMessage , int offset , int endpoint ) { } protected void processThermostatFanStateReport ( SerialMessage serialMessage , int offset , int endpoint ) { } @ Override public Collection < SerialMessage > getDynamicValues ( boolean refresh ) { } @ Override public SerialMessage getValueMessage ( ) { if ( ( isGetSupported ) == false ) { ZWaveThermostatFanStateCommandClass . logger . debug ( "NODE<seq2seq4repair_space>{}:<seq2seq4repair_space>Node<seq2seq4repair_space>doesn't<seq2seq4repair_space>support<seq2seq4repair_space>get<seq2seq4repair_space>requests" , this . getNode ( ) . getNodeId ( ) ) ; return null ; } ZWaveThermostatFanStateCommandClass . logger . debug ( "NODE<seq2seq4repair_space>{}:<seq2seq4repair_space>Creating<seq2seq4repair_space>new<seq2seq4repair_space>message<seq2seq4repair_space>for<seq2seq4repair_space>application<seq2seq4repair_space>command<seq2seq4repair_space>THERMOSTAT_FAN_STATE_GET" , this . getNode ( ) . getNodeId ( ) ) ; <START_BUG> SerialMessage result = new SerialMessage ( this . getNode ( ) . getNodeId ( ) , SerialMessageClass . SendData , SerialMessageType . Request , SerialMessageClass . SendData , SerialMessagePriority . Get ) ; <END_BUG> byte [ ] payload = new byte [ ] { ( ( byte ) ( this . getNode ( ) . getNodeId ( ) ) ) , 2 , ( ( byte ) ( getCommandClass ( ) . getKey ( ) ) ) , ZWaveThermostatFanStateCommandClass . THERMOSTAT_FAN_STATE_GET } ; result . setMessagePayload ( payload ) ; return result ; } @ Override public void setGetSupported ( Boolean supported ) { } @ XStreamAlias ( "fanStateType" ) public enum FanStateType { IDLE ( 0 , "Idle" ) , RUNNING ( 1 , "Running" ) , RUNNING_HIGH ( 2 , "Running<seq2seq4repair_space>High" ) , State_3 ( 3 , "State<seq2seq4repair_space>3" ) , State_4 ( 4 , "State<seq2seq4repair_space>4" ) , State_5 ( 5 , "State<seq2seq4repair_space>5" ) , State_6 ( 6 , "State<seq2seq4repair_space>6" ) , State_7 ( 7 , "State<seq2seq4repair_space>7" ) , State_8 ( 8 , "State<seq2seq4repair_space>8" ) , State_9 ( 9 , "State<seq2seq4repair_space>9" ) , State_10 ( 10 , "State<seq2seq4repair_space>10" ) , State_11 ( 11 , "State<seq2seq4repair_space>11" ) , State_12 ( 12 , "State<seq2seq4repair_space>12" ) , State_13 ( 12 , "State<seq2seq4repair_space>13" ) , State_14 ( 14 , "State<seq2seq4repair_space>14" ) , State_15 ( 15 , "State<seq2seq4repair_space>15" ) ; private static Map < Integer , ZWaveThermostatFanStateCommandClass . FanStateType > codeToFanStateTypeMapping ; private int key ; private String label ; private FanStateType ( int key , String label ) { } private static void initMapping ( ) { } public static ZWaveThermostatFanStateCommandClass . FanStateType getFanStateType ( int i ) { } public int getKey ( ) { } public String getLabel ( ) { } } }

Fix:
SerialMessage result = new SerialMessage ( this . getNode ( ) . getNodeId ( ) , SerialMessageClass . SendData , SerialMessageType . Request , SerialMessageClass . ApplicationCommandHandler , SerialMessagePriority . Get ) ;