[Demonstration 1]

[Buggy Method]
public AppiumServiceBuilder appiumServerForAndroid(String deviceID, String methodName) throws Exception {
    System.out.println("**************************************************************************\n");
    System.out.println("Starting Appium Server to handle Android Device::" + deviceID + "\n");
    System.out.println("**************************************************************************\n");
    int port = ap.getPort();
    int chromePort = ap.getPort();
    int bootstrapPort = ap.getPort();
    int selendroidPort = ap.getPort();
    AppiumServiceBuilder builder = new AppiumServiceBuilder().withAppiumJS(new File(prop.getProperty("APPIUM_JS_PATH"))).withArgument(GeneralServerFlag.LOG_LEVEL, "info").withLogFile(new File(System.getProperty("user.dir") + "/target/appiumlogs/" + deviceID.replaceAll("\\W", "_") + "__" + methodName + ".txt")).withArgument(AndroidServerFlag.CHROME_DRIVER_PORT, Integer.toString(chromePort)).withArgument(AndroidServerFlag.BOOTSTRAP_PORT_NUMBER, Integer.toString(bootstrapPort)).withIPAddress("127.0.0.1").withArgument(GeneralServerFlag.SESSION_OVERRIDE).withArgument(AndroidServerFlag.SUPPRESS_ADB_KILL_SERVER).withArgument(AndroidServerFlag.SELENDROID_PORT, Integer.toString(selendroidPort)).usingPort(port);
    /* and so on */
    ;
    appiumDriverLocalService = builder.build();
    appiumDriverLocalService.start();
    return builder;
}

[Buggy Hunk]
new AppiumServiceBuilder().withAppiumJS(new File(prop.getProperty("APPIUM_JS_PATH")))

[Patch]
new AppiumServiceBuilder()/*.withAppiumJS(new File(prop.getProperty("APPIUM_JS_PATH")))*/

[Demonstration 2]

[Buggy Method]
@Override
protected void entityInit() {
    super.entityInit();
    dataWatcher.addObject(20, new Integer(0));
    //just for testing random spawns
    dataWatcher.addObject(29, new Byte((byte) rand.nextInt(4)));
}

[Buggy Hunk]
dataWatcher.addObject(29, new Byte((byte) rand.nextInt(4))); //just for testing random spawns

[Patch]
dataWatcher.addObject(29, new Byte((byte) rand.nextInt(IDOL.values().length))); //just for testing random spawns