Buggy code:
protected String compositeData ; protected ConcurrentHashMap < String , Double > components = new ConcurrentHashMap < String , Double > ( ) ; public BasicTradeObject ( HyperConomy hc ) { } public BasicTradeObject ( HyperConomy hc , HyperEconomy he , String name , String economy , String displayName , String aliases , String categories , String type , double value , String isstatic , double staticprice , double stock , double median , String initiation , double startprice , double ceiling , double floor , double maxstock , String compositeData , String objectData ) { } @ Override public void setHyperConomy ( HyperConomy hc ) { } @ Override public void delete ( ) { } @ Override public ArrayList < TradeObject > getDependentObjects ( ) { } @ Override public String toString ( ) { } @ Override public int compareTo ( TradeObject ho ) { } @ Override public String getName ( ) { } @ Override public String getDisplayName ( ) { } @ Override public ArrayList < String > getAliases ( ) { } @ Override public String getAliasesString ( ) { } @ Override public ArrayList < String > getCategories ( ) { } @ Override public ArrayList < String > getOtherCategories ( ) { } @ Override public String getCategoriesString ( ) { } @ Override public boolean hasName ( String testName ) { } @ Override public String getEconomy ( ) { } @ Override public TradeObjectType getType ( ) { } @ Override public double getValue ( ) { } @ Override public boolean isStatic ( ) { } @ Override public double getStaticPrice ( ) { } @ Override public double getStock ( ) { } @ Override public double getTotalStock ( ) { } @ Override public double getMedian ( ) { } @ Override public boolean useInitialPricing ( ) { } @ Override public double getStartPrice ( ) { } @ Override public double getCeiling ( ) { } @ Override public double getFloor ( ) { } @ Override public double getMaxStock ( ) { } @ Override public ConcurrentHashMap < String , Double > getComponents ( ) { } @ Override public String getCompositeData ( ) { } @ Override public String getData ( ) { } @ Override public void setName ( String name ) { } @ Override public void setDisplayName ( String displayName ) { } @ Override public void setAliases ( ArrayList < String > newAliases ) { } @ Override public void addAlias ( String addAlias ) { } @ Override public void removeAlias ( String removeAlias ) { } @ Override public void setCategories ( ArrayList < String > newCategories ) { } @ Override public void addCategory ( String category ) { } @ Override public void removeCategory ( String category ) { } @ Override public boolean inCategory ( String category ) { } @ Override public void setEconomy ( String economy ) { } @ Override public void setType ( TradeObjectType type ) { } @ Override public void setValue ( double value ) { } @ Override public void setStatic ( boolean isStatic ) { } @ Override public void setStaticPrice ( double staticprice ) { } @ Override public void setStock ( double stock ) { } @ Override public void setMedian ( double median ) { } @ Override public void setUseInitialPricing ( boolean initiation ) { } @ Override public void setStartPrice ( double startprice ) { } @ Override public void setCeiling ( double ceiling ) { } @ Override public void setFloor ( double floor ) { } @ Override public void setMaxStock ( double maxstock ) { } @ Override public void setCompositeData ( String compositeData ) { this . compositeData = compositeData ; <START_BUG> String statement = ( ( ( ( ( "UPDATE<seq2seq4repair_space>hyperconomy_objects<seq2seq4repair_space>SET<seq2seq4repair_space>COMPONENTS='" + ( components ) ) + "'<seq2seq4repair_space>WHERE<seq2seq4repair_space>NAME<seq2seq4repair_space>=<seq2seq4repair_space>'" ) + ( this . name ) ) + "'<seq2seq4repair_space>AND<seq2seq4repair_space>ECONOMY<seq2seq4repair_space>=<seq2seq4repair_space>'" ) + ( this . economy ) ) + "'<seq2seq4repair_space>" ; <END_BUG> hc . getSQLWrite ( ) . addToQueue ( statement ) ; this . components . clear ( ) ; HashMap < String , String > tempComponents = CommonFunctions . explodeMap ( compositeData ) ; for ( Map . Entry < String , String > entry : tempComponents . entrySet ( ) ) { String oname = entry . getKey ( ) ; String amountString = entry . getValue ( ) ; double amount = 0.0 ; if ( amountString . contains ( "//" ) ) { int top = Integer . parseInt ( amountString . substring ( 0 , amountString . indexOf ( "//" ) ) ) ; int bottom = Integer . parseInt ( amountString . substring ( ( ( amountString . indexOf ( "//" ) ) + 1 ) , amountString . length ( ) ) ) ; amount = ( ( double ) ( top ) ) // ( ( double ) ( bottom ) ) ; } else { int number = Integer . parseInt ( amountString ) ; amount = ( ( double ) ( number ) ) ; } TradeObject ho = hc . getDataManager ( ) . getEconomy ( economy ) . getTradeObject ( oname ) ; this . components . put ( ho . getName ( ) , amount ) ; } fireModificationEvent ( ) ; } @ Override public void setData ( String data ) { } @ Override public int getMaxInitial ( ) { } @ Override public void checkInitiationStatus ( ) { } @ Override public String getStatusString ( ) { } @ Override public double getPurchaseTax ( double cost ) { } @ Override public double getSalesTaxEstimate ( double value ) { } @ Override public double applyCeilingFloor ( double price , double quantity ) { } @ Override public double getSellPriceWithTax ( double amount , HyperPlayer hp ) { } @ Override public double getBuyPriceWithTax ( double amount ) { }

Fix:
String statement = ( ( ( ( ( "UPDATE<seq2seq4repair_space>hyperconomy_objects<seq2seq4repair_space>SET<seq2seq4repair_space>COMPONENTS='" + compositeData ) + "'<seq2seq4repair_space>WHERE<seq2seq4repair_space>NAME<seq2seq4repair_space>=<seq2seq4repair_space>'" ) + ( this . name ) ) + "'<seq2seq4repair_space>AND<seq2seq4repair_space>ECONOMY<seq2seq4repair_space>=<seq2seq4repair_space>'" ) + ( this . economy ) ) + "'<seq2seq4repair_space>" ;