Buggy code:
@ XStreamAlias ( "thermostatOperatingStateCommandClass" ) public class ZWaveThermostatOperatingStateCommandClass extends ZWaveCommandClass implements ZWaveCommandClassDynamicState , ZWaveGetCommands { @ XStreamOmitField private static final Logger logger = LoggerFactory . getLogger ( ZWaveThermostatOperatingStateCommandClass . class ) ; private static final byte THERMOSTAT_OPERATING_STATE_GET = 2 ; private static final byte THERMOSTAT_OPERATING_STATE_REPORT = 3 ; @ XStreamOmitField private boolean dynamicDone = false ; private boolean isGetSupported = true ; public ZWaveThermostatOperatingStateCommandClass ( 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 processThermostatOperatingStateReport ( SerialMessage serialMessage , int offset , int endpoint ) { } @ Override public Collection < SerialMessage > getDynamicValues ( boolean refresh ) { } @ Override public SerialMessage getValueMessage ( ) { if ( ( isGetSupported ) == false ) { ZWaveThermostatOperatingStateCommandClass . 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 ; } ZWaveThermostatOperatingStateCommandClass . 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_OPERATING_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 ( ) ) ) , ZWaveThermostatOperatingStateCommandClass . THERMOSTAT_OPERATING_STATE_GET } ; result . setMessagePayload ( payload ) ; return result ; } @ Override public void setGetSupported ( Boolean supported ) { } @ XStreamAlias ( "operatingStateType" ) public enum OperatingStateType { IDLE ( 0 , "Idle" ) , HEATING ( 1 , "Heating" ) , COOLING ( 2 , "Cooling" ) , FAN_ONLY ( 3 , "Fan<seq2seq4repair_space>Only" ) , PENDING_HEAT ( 4 , "Pending<seq2seq4repair_space>Heat" ) , PENDING_COOL ( 5 , "Pending<seq2seq4repair_space>Cool" ) , VENT ( 6 , "Vent<seq2seq4repair_space>//<seq2seq4repair_space>Economizer" ) , 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 , ZWaveThermostatOperatingStateCommandClass . OperatingStateType > codeToOperatingStateTypeMapping ; private int key ; private String label ; private OperatingStateType ( int key , String label ) { } private static void initMapping ( ) { } public static ZWaveThermostatOperatingStateCommandClass . OperatingStateType getOperatingStateType ( int i ) { } public int getKey ( ) { } public String getLabel ( ) { } } }

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