Buggy code:
private Integer proxyPort = null ; private Integer redirectPort = null ; private Boolean secure = null ; private Integer maxPostSize = null ; private Integer maxSavePostSize = null ; private Integer maxConnections = null ; private ModelNode ssl ; private ModelNode virtualServers ; private Connector connector ; private final InjectedValue < Executor > executor = new InjectedValue < Executor > ( ) ; private final InjectedValue < SocketBinding > binding = new InjectedValue < SocketBinding > ( ) ; private final InjectedValue < WebServer > server = new InjectedValue < WebServer > ( ) ; public WebConnectorService ( String protocol , String scheme ) { } public synchronized void start ( StartContext context ) throws StartException { final SocketBinding binding = this . binding . getValue ( ) ; final InetSocketAddress address = binding . getSocketAddress ( ) ; final Executor executor = this . executor . getOptionalValue ( ) ; try { final Connector connector = new Connector ( protocol ) ; connector . setPort ( address . getPort ( ) ) ; connector . setScheme ( scheme ) ; if ( ( enableLookups ) != null ) connector . setEnableLookups ( enableLookups ) ; if ( ( maxPostSize ) != null ) connector . setMaxPostSize ( maxPostSize ) ; if ( ( maxSavePostSize ) != null ) connector . setMaxSavePostSize ( maxSavePostSize ) ; if ( ( proxyName ) != null ) connector . setProxyName ( proxyName ) ; if ( ( proxyPort ) != null ) connector . setProxyPort ( proxyPort ) ; if ( ( redirectPort ) != null ) connector . setRedirectPort ( redirectPort ) ; if ( ( secure ) != null ) connector . setSecure ( secure ) ; if ( executor != null ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setExecutor" , Executor . class ) ; m . invoke ( connector . getProtocolHandler ( ) , executor ) ; } if ( ( address != null ) && ( ( address . getAddress ( ) ) != null ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setAddress" , InetAddress . class ) ; m . invoke ( connector . getProtocolHandler ( ) , address . getAddress ( ) ) ; } if ( ( maxConnections ) != null ) { try { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setPollerSize" , Integer . TYPE ) ; m . invoke ( connector . getProtocolHandler ( ) , maxConnections ) ; } catch ( NoSuchMethodException e ) { } try { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSendfileSize" , Integer . TYPE ) ; m . invoke ( connector . getProtocolHandler ( ) , maxConnections ) ; } catch ( NoSuchMethodException e ) { } } if ( ( virtualServers ) != null ) { HashSet < String > virtualServersList = new HashSet < String > ( ) ; for ( final ModelNode virtualServer : virtualServers . asList ( ) ) { virtualServersList . add ( virtualServer . asString ( ) ) ; } connector . setAllowedHosts ( virtualServersList ) ; } if ( ( ssl ) != null ) { boolean nativeSSL = false ; if ( ( connector . getProtocolHandler ( ) ) instanceof Http11AprProtocol ) { nativeSSL = true ; } else if ( ! ( ( connector . getProtocolHandler ( ) ) instanceof Http11Protocol ) ) { <START_BUG> throw new StartException ( "Non<seq2seq4repair_space>HTTP<seq2seq4repair_space>connectors<seq2seq4repair_space>dor<seq2seq4repair_space>not<seq2seq4repair_space>support<seq2seq4repair_space>SSL" ) ; <END_BUG> } try { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLEnabled" , Boolean . TYPE ) ; m . invoke ( connector . getProtocolHandler ( ) , true ) ; } catch ( NoSuchMethodException e ) { throw new StartException ( e ) ; } if ( nativeSSL ) { try { if ( ssl . hasDefined ( PASSWORD ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLPassword" , String . class ) ; m . invoke ( connector . getProtocolHandler ( ) , ssl . get ( PASSWORD ) . asString ( ) ) ; } if ( ssl . hasDefined ( CERTIFICATE_KEY_FILE ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLCertificateKeyFile" , String . class ) ; m . invoke ( connector . getProtocolHandler ( ) , ssl . get ( CERTIFICATE_KEY_FILE ) . asString ( ) ) ; } if ( ssl . hasDefined ( CIPHER_SUITE ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLCipherSuite" , String . class ) ; m . invoke ( connector . getProtocolHandler ( ) , ssl . get ( CIPHER_SUITE ) . asString ( ) ) ; } if ( ssl . hasDefined ( PROTOCOL ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLProtocol" , String . class ) ; m . invoke ( connector . getProtocolHandler ( ) , ssl . get ( PROTOCOL ) . asString ( ) ) ; } if ( ssl . hasDefined ( VERIFY_CLIENT ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLVerifyClient" , String . class ) ; m . invoke ( connector . getProtocolHandler ( ) , ssl . get ( VERIFY_CLIENT ) . asString ( ) ) ; } if ( ssl . hasDefined ( VERIFY_DEPTH ) ) { Method m = connector . getProtocolHandler ( ) . getClass ( ) . getMethod ( "setSSLVerifyDepth" , Integer . TYPE ) ; m . invoke ( connector . getProtocolHandler ( ) , ssl . get ( VERIFY_DEPTH ) . asInt ( ) ) ; }

Fix:
throw new StartException ( "Non<seq2seq4repair_space>HTTP<seq2seq4repair_space>connectors<seq2seq4repair_space>do<seq2seq4repair_space>not<seq2seq4repair_space>support<seq2seq4repair_space>SSL" ) ;