XenMobile: 500 Server Internal Error when uploading Android APK File to XMS

XenMobile: 500 Server Internal Error when uploading Android APK File to XMS

book

Article ID: CTX216532

calendar_today

Updated On:

Description

  • When trying to upload an APK app to the XMS console using Internet Explorer 11, we are getting a 500 Server Internal Error Looking into the error logs.
  • The previous version (x.x.x.0) works fine however upgrading the version gives -
    500 Server Internal Error (exid:15F529099BB-54F45A1D0DDB4C1CF5B18A0FF04C1CB5)
User-added image

On the debug server logs, we see lots of Java errors where the server is trying to manipulate the APK file, but for some reason the upload is eventually failing.

 | B7A547ED514AE77F  | ERROR | http-nio-14443-exec-5 | com.citrix.controlpoint.bo.MobileAppTools | /opt/sas/temp/a9c55153-3c7a-4064-a9bc-363078b2c750/example.apk (No such file or directory)
java.io.FileNotFoundException: /opt/sas/temp/a9c55153-3c7a-4064-a9bc-363078b2c750/example.apk (No such file or directory)

...
 | B7A547ED514AE77F  | ERROR | http-nio-14443-exec-5 | com.citrix.controlpoint.service.impl.MobileApplicationServiceImpl | error extracting mobile app data..
com.citrix.controlpoint.exception.AppExtractionException: java.io.FileNotFoundException: /opt/sas/temp/a9c55153-3c7a-4064-a9bc-363078b2c750/example.apk (No such file or directory)
...
Caused by: java.io.FileNotFoundException: /opt/sas/temp/a9c55153-3c7a-4064-a9bc-363078b2c750/example.apk (No such file or directory)
...

Resolution


Problem Cause

  • IE11 seems to have problems when uploading some APK files to XMS.
  • The apk-tool version used for XenMobile10.7.0.20.

Issue/Introduction

When trying to upload an APK app to the XMS console, we are getting a 500 Server Internal Error Looking into the error logs.