Program: 45788
Project: 45788
Buggy source:
/** 
 * {@inheritDoc}
 */
public WlAvatarCharacter getAvatarCharacter(Cell avatarCell,String userName,AvatarConfigInfo info){
  WorldManager wm=ClientContextJME.getWorldManager();
  CharacterParams attributes=new MaleAvatarParams(userName);
  String avatarURL=DEFAULT_URL;
  if (info != null && info.getAvatarConfigURL() != null) {
    avatarURL=info.getAvatarConfigURL();
  }
  String baseURL=null;
  try {
    URL tmpURL=AssetUtils.getAssetURL(BASE_URL,avatarCell);
    baseURL=tmpURL.toExternalForm();
  }
 catch (  MalformedURLException ex) {
    logger.log(Level.WARNING,"String_Node_Str",ex);
    return null;
  }
  PScene simpleScene=new PScene(ClientContextJME.getWorldManager());
  simpleScene.addMeshInstance(new PPolygonMesh("String_Node_Str"),new PMatrix());
  attributes.setUseSimpleStaticModel(true,simpleScene);
  attributes.setBaseURL(baseURL);
  attributes.setAnimateBody(false);
  attributes.setAnimateFace(false);
  WlAvatarCharacter avatar=new WlAvatarCharacter.WlAvatarCharacterBuilder(attributes,wm).addEntity(false).build();
  Spatial spatial=null;
  try {
    URL url=new URL(baseURL + avatarURL);
    DeployedModel dm=LoaderManager.getLoaderManager().getLoaderFromDeployment(url);
    spatial=dm.getModelLoader().loadDeployedModel(dm);
    spatial.setLocalScale(0.053f);
    spatial.setLocalTranslation(0.0f,1.7f,0.0f);
  }
 catch (  MalformedURLException excp) {
    logger.log(Level.WARNING,"String_Node_Str",excp);
    return null;
  }
catch (  IOException excp) {
    logger.log(Level.WARNING,"String_Node_Str",excp);
    return null;
  }
  avatar.getJScene().getExternalKidsRoot().attachChild(spatial);
  avatar.getJScene().setExternalKidsChanged(true);
  return avatar;
}

Fixed version (ground truth):
/** 
 * {@inheritDoc}
 */
public WlAvatarCharacter getAvatarCharacter(Cell avatarCell,String userName,AvatarConfigInfo info){
  WorldManager wm=ClientContextJME.getWorldManager();
  CharacterParams attributes=new MaleAvatarParams(userName);
  String avatarURL=DEFAULT_URL;
  if (info != null && info.getAvatarConfigURL() != null) {
    avatarURL=info.getAvatarConfigURL();
  }
  String baseURL=null;
  try {
    URL tmpURL=AssetUtils.getAssetURL(BASE_URL,avatarCell);
    baseURL=tmpURL.toExternalForm();
  }
 catch (  MalformedURLException ex) {
    logger.log(Level.WARNING,"String_Node_Str",ex);
    return null;
  }
  PScene simpleScene=new PScene(ClientContextJME.getWorldManager());
  simpleScene.addMeshInstance(new PPolygonMesh("String_Node_Str"),new PMatrix());
  attributes.setUseSimpleStaticModel(true,simpleScene);
  attributes.setBaseURL(baseURL);
  attributes.setAnimateBody(false);
  attributes.setAnimateFace(false);
  WlAvatarCharacter avatar=new WlAvatarCharacter.WlAvatarCharacterBuilder(attributes,wm).addEntity(false).build();
  Spatial spatial=null;
  try {
    URL url=new URL(baseURL + avatarURL);
    DeployedModel dm=LoaderManager.getLoaderManager().getLoaderFromDeployment(url);
    spatial=dm.getModelLoader().loadDeployedModel(dm);
    spatial.setLocalScale(0.22f);
  }
 catch (  MalformedURLException excp) {
    logger.log(Level.WARNING,"String_Node_Str",excp);
    return null;
  }
catch (  IOException excp) {
    logger.log(Level.WARNING,"String_Node_Str",excp);
    return null;
  }
  avatar.getJScene().getExternalKidsRoot().attachChild(spatial);
  avatar.getJScene().setExternalKidsChanged(true);
  return avatar;
}