Buggy code:
public abstract class AbstractApplication { protected ScriptManagerCommon scriptManager = null ; public static final String LOADING_GIF = "http:////www.geogebra.org//webstart//loading.gif" ; public static final String WIKI_OPERATORS = "Predefined<seq2seq4repair_space>Functions<seq2seq4repair_space>and<seq2seq4repair_space>Operators" ; public static final String WIKI_MANUAL = "Manual:Main<seq2seq4repair_space>Page" ; public static final String WIKI_TUTORIAL = "Tutorial:Main<seq2seq4repair_space>Page" ; public static final String WIKI_EXPORT_WORKSHEET = "Export_Worksheet_Dialog" ; public static final String WIKI_ADVANCED = "Advanced<seq2seq4repair_space>Features" ; public static final String WIKI_TEXT_TOOL = "Insert<seq2seq4repair_space>Text<seq2seq4repair_space>Tool" ; public static final int VIEW_NONE = 0 ; public static final int VIEW_EUCLIDIAN = 1 ; public static final int VIEW_ALGEBRA = 2 ; public static final int VIEW_SPREADSHEET = 4 ; public static final int VIEW_CAS = 8 ; public static final int VIEW_EUCLIDIAN2 = 16 ; public static final int VIEW_CONSTRUCTION_PROTOCOL = 32 ; public static final int VIEW_PROBABILITY_CALCULATOR = 64 ; public static final int VIEW_FUNCTION_INSPECTOR = 128 ; public static final int VIEW_INSPECTOR = 256 ; public static final int VIEW_EUCLIDIAN3D = 512 ; public static final int VIEW_EUCLIDIAN_FOR_PLANE = 1024 ; public static final int VIEW_PLOT_PANEL = 2048 ; public static final int VIEW_TEXT_PREVIEW = 4096 ; public static final int VIEW_PROPERTIES = 4097 ; public static final int VIEW_ASSIGNMENT = 8192 ; public static final int VIEW_TABLE_MODEL = 9000 ; private boolean showResetIcon = false ; public boolean runningInFrame = false ; public static HashMap < String , String > specialLanguageNames = new HashMap < String , String > ( ) ; private static String CASVersionString = "" ; public static void setCASVersionString ( String string ) { } public static String getCASVersionString ( ) { } protected MyXMLio myXMLio ; private int guiFontSize = - 1 ; private int appFontSize ; public static char unicodeDecimalPoint = '.' ; public static char unicodeComma = ',' ; public static char unicodeZero = '0' ; public enum CasType { NO_CAS , MATHPIPER , MAXIMA , MPREDUCE ; } public int maxLayerUsed = 0 ; public int pointStyle = EuclidianStyleConstants . POINT_STYLE_DOT ; public int booleanSize = 13 ; public int rightAngleStyle = EuclidianStyleConstants . RIGHT_ANGLE_STYLE_SQUARE ; public boolean useJavaFontsForLaTeX = false ; protected final ArrayList < GeoElement > selectedGeos = new ArrayList < GeoElement > ( ) ; protected Kernel kernel ; protected boolean isOnTheFlyPointCreationActive = true ; protected Settings settings ; public boolean useJavaFontsForLaTeX ( ) { } protected boolean antialiasing = true ; protected final boolean [ ] showAxes = new boolean [ ] { true , true } ; protected boolean showGrid = false ; protected boolean labelDragsEnabled = true ; public static final int SPREADSHEET_INI_COLS = 26 ; public static final int SPREADSHEET_INI_ROWS = 100 ; private HashMap < String , String > translateCommandTable ; private HashMap < String , String > translateCommandTableScripting ; private LowerCaseDictionary commandDict ; private LowerCaseDictionary commandDictCAS ; protected AbstractEuclidianView euclidianView ; protected AbstractEuclidianController euclidianController ; protected GeoElementSelectionListener currentSelectionListener ; protected boolean showMenuBar = true ; private LowerCaseDictionary [ ] subCommandDict ; private String oldScriptLanguage = null ; private String scriptingLanguage ; private void fillCommandDictScripting ( ) { if ( ( ( ( scriptingLanguage ) == null ) || ( scriptingLanguage . equals ( oldScriptLanguage ) ) ) || ( "null" . equals ( scriptingLanguage ) ) ) { return ; } oldScriptLanguage = scriptingLanguage ; initScriptingBundle ( ) ; if ( ( translateCommandTableScripting ) == null ) { translateCommandTableScripting = new HashMap < String , String > ( ) ; } translateCommandTableScripting . clear ( ) ; for ( Commands comm : Commands . values ( ) ) { String internal = comm . toString ( ) ; <START_BUG> if ( ! ( internal . equals ( "Command" ) ) ) { <END_BUG> String local = getScriptingCommand ( internal ) ; if ( local != null ) { local = local . trim ( ) ; translateCommandTableScripting . put ( local . toLowerCase ( ) , internal ) ; } } } } protected abstract boolean isCommandChanged ( ) { } protected abstract void setCommandChanged ( boolean b ) { } protected abstract boolean isCommandNull ( ) { } public void fillCasCommandDict ( ) { } public final LowerCaseDictionary getCommandDictionaryCAS ( ) { } public final LowerCaseDictionary [ ] getSubCommandDictionary ( ) { } public final void initTranslatedCommands ( ) { } public final LowerCaseDictionary getCommandDictionary ( ) { } public abstract void getCommandResourceBundle ( ) { } protected void fillCommandDict ( ) { } protected boolean tableVisible ( int table ) { } public final String translateCommand ( String localname ) { } public void updateCommandDictionary ( ) { } protected void addMacroCommands ( ) { } public void removeMacroCommands ( ) { } public abstract void initScriptingBundle ( ) { } public abstract String getScriptingCommand ( String internal ) { } public abstract String getCommand ( String cmdName ) { } public abstract String getPlain ( String cmdName ) { } public abstract String getPlain ( String cmdName , String param ) { } public abstract String getPlain ( String cmdName , String param , String param2 ) { } public abstract String getPlain ( String cmdName , String param , String param2 , String param3 ) { } public abstract String getPlain ( String cmdName , String param , String param2 , String param3 , String param4 ) { } public abstract String getPlain ( String cmdName , String param , String param2 , String param3 , String param4 , String param5 ) { } public abstract String getMenu ( String cmdName ) { } public abstract String getError ( String cmdName ) { } public abstract void setTooltipFlag ( ) { } public abstract boolean isApplet ( ) { } public abstract void storeUndoInfo ( ) { } public abstract boolean isUsingFullGui ( ) { } public abstract boolean showView ( int view ) { } public abstract String getLanguage ( ) { } public boolean languageIs ( String lang ) { } public boolean letRename ( ) { } public boolean letDelete ( ) { } public boolean letRedefine ( ) { }

Fix:
if ( tableVisible ( comm . getTable ( ) ) ) {