Buggy code:
formatter . printHelp ( ZkCLI . ZK_CLI_NAME , options ) ; System . out . println ( "Examples:" ) ; System . out . println ( ( ( ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . BOOTSTRAP ) ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . SOLRHOME ) ) + "<seq2seq4repair_space>//opt//solr" ) ) ; System . out . println ( ( ( ( ( ( ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . UPCONFIG ) ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . CONFDIR ) ) + "<seq2seq4repair_space>//opt//solr//collection1//conf" ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . CONFNAME ) ) + "<seq2seq4repair_space>myconf" ) ) ; System . out . println ( ( ( ( ( ( ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . DOWNCONFIG ) ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . CONFDIR ) ) + "<seq2seq4repair_space>//opt//solr//collection1//conf" ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . CONFNAME ) ) + "<seq2seq4repair_space>myconf" ) ) ; System . out . println ( ( ( ( ( ( ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . LINKCONFIG ) ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . COLLECTION ) ) + "<seq2seq4repair_space>collection1" ) + "<seq2seq4repair_space>-" ) + ( ZkCLI . CONFNAME ) ) + "<seq2seq4repair_space>myconf" ) ) ; System . out . println ( ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . MAKEPATH ) ) + "<seq2seq4repair_space>//apache//solr" ) ) ; System . out . println ( ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . CLEAR ) ) + "<seq2seq4repair_space>//solr" ) ) ; System . out . println ( ( "zkcli.sh<seq2seq4repair_space>-zkhost<seq2seq4repair_space>localhost:9983<seq2seq4repair_space>-cmd<seq2seq4repair_space>" + ( ZkCLI . LIST ) ) ) ; return ; } String zkServerAddress = line . getOptionValue ( ZkCLI . ZKHOST ) ; String solrHome = line . getOptionValue ( ZkCLI . SOLRHOME ) ; String solrPort = null ; if ( line . hasOption ( ZkCLI . RUNZK ) ) { if ( ! ( line . hasOption ( ZkCLI . SOLRHOME ) ) ) { System . out . println ( ( ( ( "-" + ( ZkCLI . SOLRHOME ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>required<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ZkCLI . RUNZK ) ) ) ; System . exit ( 1 ) ; } solrPort = line . getOptionValue ( ZkCLI . RUNZK ) ; } SolrZkServer zkServer = null ; if ( solrPort != null ) { zkServer = new SolrZkServer ( "true" , null , ( solrHome + "//zoo_data" ) , solrHome , solrPort ) ; zkServer . parseConfig ( ) ; zkServer . start ( ) ; } SolrZkClient zkClient = null ; try { zkClient = new SolrZkClient ( zkServerAddress , 30000 , 30000 , new OnReconnect ( ) { @ Override public void command ( ) { } } ) ; if ( line . getOptionValue ( ZkCLI . CMD ) . equals ( ZkCLI . BOOTSTRAP ) ) { if ( ! ( line . hasOption ( ZkCLI . SOLRHOME ) ) ) { System . out . println ( ( ( ( "-" + ( ZkCLI . SOLRHOME ) ) + "<seq2seq4repair_space>is<seq2seq4repair_space>required<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ZkCLI . BOOTSTRAP ) ) ) ; System . exit ( 1 ) ; } SolrResourceLoader loader = new SolrResourceLoader ( solrHome ) ; solrHome = loader . getInstanceDir ( ) ; File configFile = new File ( solrHome , ZkCLI . SOLR_XML ) ; boolean isXml = true ; if ( ! ( configFile . exists ( ) ) ) { configFile = new File ( solrHome , SolrProperties . SOLR_PROPERTIES_FILE ) ; isXml = false ; } InputStream is = new FileInputStream ( configFile ) ; ConfigSolr cfg ; try { if ( isXml ) { cfg = new org . apache . solr . core . ConfigSolrXmlBackCompat ( loader , null , is , null , false ) ; } else { <START_BUG> cfg = new SolrProperties ( null , is , null ) ; <END_BUG> } } finally { IOUtils . closeQuietly ( is ) ; } if ( ! ( ZkController . checkChrootPath ( zkServerAddress , true ) ) ) { System . out . println ( "A<seq2seq4repair_space>chroot<seq2seq4repair_space>was<seq2seq4repair_space>specified<seq2seq4repair_space>in<seq2seq4repair_space>zkHost<seq2seq4repair_space>but<seq2seq4repair_space>the<seq2seq4repair_space>znode<seq2seq4repair_space>doesn't<seq2seq4repair_space>exist.<seq2seq4repair_space>" ) ; System . exit ( 1 ) ; } ZkController . bootstrapConf ( zkClient , cfg , solrHome ) ; } else if ( line . getOptionValue ( ZkCLI . CMD ) . equals ( ZkCLI . UPCONFIG ) ) { if ( ( ! ( line . hasOption ( ZkCLI . CONFDIR ) ) ) || ( ! ( line . hasOption ( ZkCLI . CONFNAME ) ) ) ) { System . out . println ( ( ( ( ( ( "-" + ( ZkCLI . CONFDIR ) ) + "<seq2seq4repair_space>and<seq2seq4repair_space>-" ) + ( ZkCLI . CONFNAME ) ) + "<seq2seq4repair_space>are<seq2seq4repair_space>required<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ZkCLI . UPCONFIG ) ) ) ; System . exit ( 1 ) ; } String confDir = line . getOptionValue ( ZkCLI . CONFDIR ) ; String confName = line . getOptionValue ( ZkCLI . CONFNAME ) ; if ( ! ( ZkController . checkChrootPath ( zkServerAddress , true ) ) ) { System . out . println ( "A<seq2seq4repair_space>chroot<seq2seq4repair_space>was<seq2seq4repair_space>specified<seq2seq4repair_space>in<seq2seq4repair_space>zkHost<seq2seq4repair_space>but<seq2seq4repair_space>the<seq2seq4repair_space>znode<seq2seq4repair_space>doesn't<seq2seq4repair_space>exist.<seq2seq4repair_space>" ) ; System . exit ( 1 ) ; } ZkController . uploadConfigDir ( zkClient , new File ( confDir ) , confName ) ; } else if ( line . getOptionValue ( ZkCLI . CMD ) . equals ( ZkCLI . DOWNCONFIG ) ) { if ( ( ! ( line . hasOption ( ZkCLI . CONFDIR ) ) ) || ( ! ( line . hasOption ( ZkCLI . CONFNAME ) ) ) ) { System . out . println ( ( ( ( ( ( "-" + ( ZkCLI . CONFDIR ) ) + "<seq2seq4repair_space>and<seq2seq4repair_space>-" ) + ( ZkCLI . CONFNAME ) ) + "<seq2seq4repair_space>are<seq2seq4repair_space>required<seq2seq4repair_space>for<seq2seq4repair_space>" ) + ( ZkCLI . DOWNCONFIG ) ) ) ; System . exit ( 1 ) ;

Fix:
cfg = new SolrProperties ( null , loader , is , null ) ;