IBM Support

Server exception using mobile preview after fix pack upgrade

Troubleshooting


Problem

This problem affects users who installed Worklight Studio 5.0.0.0 and later upgraded to the 5.0.0.1 fix pack. When enabling the mobile browser/preview, the following exception may appear in the Tomcat/Liberty/Websphere server: caught: org.jboss.resteasy.spi.UnhandledException: java.lang.AbstractMethodError: com.worklight.server.bundle.api.WorklightBundles.isMobileBrowserSimulatorAvailable()Z

Resolving The Problem

There is related to an API change between 5.0.0.0 and 5.0.0.1. To work around the problem, rebuild the application in Worklight Studio (or re-run the Worklight WAR ant task) and redeploy its WAR  to the relevant server. Make sure the server includes the latest worklight-jee-library.jar file.

This issue is resolved in V5.0.0 Fix Pack 3.

[{"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Upgrades","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.0","Edition":"Consumer;Enterprise","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21599916