Tools
Web Help Desk generates a Java error when opening an asset
This article addresses a Java error that may display in Web Help Desk when opening an asset.
First published date
Last published date
Overview
java.lang.InstantiationException: com.macsdesign.whd.AssetContainerProduct section
Resolution
Modify the whd-web-jar file in your Web Help Desk home directory as instructed below.
SolarWinds strongly recommends that you edit the whd-web-jar file only as instructed. Any additional modifications may result in system performance issues or may create an error state.
- Log in to Web Help Desk as an administrator.
- Stop Web Help Desk.
- Navigate to your Web Help Desk home directory.
- Apple OSX:
/Library/WebHelpDesk - Microsoft Windows: \
Program Files\WebHelpDesk - Linux:
/user/local/webhelpdesk
- Apple OSX:
- Navigate to the following directory:
\bin\webapps\helpdesk\WEB-INF\lib\ - Open the
whd-web-jarfile using an archive or extraction tool: - In the archive, navigate to the following directory:
\Resources\assetSearch.wo\ - Open the
AssetSearch.wodfile in a text editor. - Replace the following text:
AssetContainer1:AssetContainer
with
AssetContainer1: com.macsdesign.whd.ui.AssetContainer - Save the file back to the archive.
- Start Web Help Desk.
The asset should now open without errors.