Buggy code:
private transient boolean edited = false ; private final List < HousePart > parts = Collections . synchronizedList ( new ArrayList < HousePart > ( ) ) ; private Scene . TextureMode textureMode = Scene . TextureMode . Full ; private ReadOnlyVector3 cameraLocation ; private ReadOnlyVector3 cameraDirection ; private ReadOnlyColorRGBA foundationColor ; private ReadOnlyColorRGBA wallColor ; private ReadOnlyColorRGBA doorColor ; private ReadOnlyColorRGBA floorColor ; private ReadOnlyColorRGBA roofColor ; private double overhangLength = 2.0 ; private double annotationScale = 0.2 ; private int version = Scene . currentVersion ; private boolean isAnnotationsVisible = true ; private long idCounter ; private Calendar calendar ; private String city ; private int latitude ; private boolean isHeliodonVisible ; private String note ; private int solarContrast ; private boolean hideAxes ; private boolean showBuildingLabels ; private double solarStep = 2.0 ; private int timeStep = 15 ; private int budget = 100000 ; private double minimumArea = 100 ; private double maximumArea = 150 ; private double minimumHeight = 8 ; private double maximumHeight = 10 ; private boolean budgetEnabled ; private boolean areaEnabled ; private boolean heightEnabled ; private boolean cleanup = false ; private String wallUFactor ; private String doorUFactor ; private String windowUFactor ; private String roofUFactor ; private double solarPanelEfficiency ; private double windowSolarHeatGainCoefficient ; private double backgroundAlbedo = 0.3 ; private double heatVectorLength = 2000 ; private static final ArrayList < PropertyChangeListener > propertyChangeListeners = new ArrayList < PropertyChangeListener > ( ) ; public static Scene getInstance ( ) { } public static void newFile ( ) { } private static void newFile ( final double xLength , final double yLength ) { } public void addPropertyChangeListener ( final PropertyChangeListener pcl ) { } public void removePropertyChangeListener ( final PropertyChangeListener pcl ) { } private void notifyPropertyChangeListeners ( final PropertyChangeEvent evt ) { } public static void open ( final URL file ) throws Exception { } public static void openNow ( final URL file ) throws Exception { } public static void initSceneNow ( ) { } public static void initEnergy ( ) { final EnergyPanel energyPanel = EnergyPanel . getInstance ( ) ; if ( ( Scene . instance . calendar ) != null ) { energyPanel . getDateSpinner ( ) . setValue ( Scene . instance . calendar . getTime ( ) ) ; energyPanel . getTimeSpinner ( ) . setValue ( Scene . instance . calendar . getTime ( ) ) ; Heliodon . getInstance ( ) . setDate ( Scene . instance . calendar . getTime ( ) ) ; energyPanel . setLatitude ( Scene . instance . latitude ) ; <START_BUG> if ( "Boston" . equals ( Scene . instance . city ) ) <END_BUG> Scene . instance . city = "Boston,<seq2seq4repair_space>MA" ; energyPanel . setCity ( Scene . instance . city ) ; MainPanel . getInstance ( ) . getHeliodonButton ( ) . setSelected ( Scene . instance . isHeliodonVisible ) ; } Specifications . getInstance ( ) . setMaximumBudget ( ( ( Scene . instance . budget ) == 0 ? 100000 : Scene . instance . budget ) ) ; Specifications . getInstance ( ) . setMinimumArea ( ( ( Scene . instance . minimumArea ) == 0 ? 100 : Scene . instance . minimumArea ) ) ; Specifications . getInstance ( ) . setMaximumArea ( ( ( Scene . instance . maximumArea ) == 0 ? 150 : Scene . instance . maximumArea ) ) ; Specifications . getInstance ( ) . setMinimumHeight ( ( ( Scene . instance . minimumHeight ) == 0 ? 8 : Scene . instance . minimumHeight ) ) ; Specifications . getInstance ( ) . setMaximumHeight ( ( ( Scene . instance . maximumHeight ) == 0 ? 10 : Scene . instance . maximumHeight ) ) ; Specifications . getInstance ( ) . setBudgetEnabled ( Scene . instance . budgetEnabled ) ; Specifications . getInstance ( ) . setAreaEnabled ( Scene . instance . areaEnabled ) ; Specifications . getInstance ( ) . setHeightEnabled ( Scene . instance . heightEnabled ) ; energyPanel . getColorMapSlider ( ) . setValue ( ( ( Scene . instance . solarContrast ) == 0 ? 50 : Scene . instance . solarContrast ) ) ; if ( ( Scene . instance . windowUFactor ) != null ) { final double defaultWindowUFactor = Scene . parsePropertyString ( Scene . instance . windowUFactor ) ; for ( final HousePart p : Scene . instance . parts ) { if ( ( ( p . getUFactor ( ) ) <= 0 ) && ( p instanceof Window ) ) p . setUFactor ( defaultWindowUFactor ) ; } energyPanel . getWindowsComboBox ( ) . setSelectedItem ( Scene . instance . windowUFactor ) ; } if ( ( Scene . instance . wallUFactor ) != null ) { final double defaultWallUFactor = Scene . parsePropertyString ( Scene . instance . wallUFactor ) ; for ( final HousePart p : Scene . instance . parts ) { if ( ( ( p . getUFactor ( ) ) <= 0 ) && ( p instanceof Wall ) ) p . setUFactor ( defaultWallUFactor ) ; } energyPanel . getWallsComboBox ( ) . setSelectedItem ( Scene . instance . wallUFactor ) ; } if ( ( Scene . instance . doorUFactor ) != null ) { final double defaultDoorUFactor = Scene . parsePropertyString ( Scene . instance . doorUFactor ) ; for ( final HousePart p : Scene . instance . parts ) { if ( ( ( p . getUFactor ( ) ) <= 0 ) && ( p instanceof Door ) ) p . setUFactor ( defaultDoorUFactor ) ; } energyPanel . getDoorsComboBox ( ) . setSelectedItem ( Scene . instance . doorUFactor ) ; } if ( ( Scene . instance . roofUFactor ) != null ) { final double defaultRoofUFactor = Scene . parsePropertyString ( Scene . instance . roofUFactor ) ;

Fix:
if ( ( "Boston" . equals ( Scene . instance . city ) ) || ( "" . equals ( Scene . instance . city ) ) )