Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Web Help Desk (WHD) > java.lang.NullPointerException error after clicking a tech

java.lang.NullPointerException error after clicking a tech

Overview

The following error occurs when clicking Setup > Techs:

We're sorry, an unexpected error occurred:
java.lang.NullPointerException
A bug report has been e-mailed to SolarWinds.


Java.lang.NullPointerException
at com.macsdesign.whd.Tech.icon_tooltip(Tech.java:573)
at sun.reflect.GeneratedMethodAccessor477.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)...

Environment

WHD 12.3.0

Cause 

One or more client_id parameters have client_type set to NULL rather than 1 or 2 (Admin or Tech).

Resolution

 

  1. Log in to the Web Help Desk server as an administrator.
  2. Navigate to the WebHelpDesk directory.
    - Apple® OS X®:  /Library/WebHelpDesk    
    - Microsoft® Windows®:  \Program Files\WebHelpDesk    
    - Linux: /usr/local/webhelpdesk
  3. Open the \bin folder and double-click pgAdmin3.exe to display the pgAdmin III console. 
  4. Open the Object browser for your WHD database.
  5. Click SQL.
  6. Run the following query. Press F5 to execute.
    select client_id, first_name, last_name, user_name, inactive, deleted, seat_type, client_type from tech
    where client_type is NULL
    order by client_id
  7. Locate client_type parameters set to NULL.
  8. Update the client_type parameters set to NULL to the correct type.

 

Last modified
12:18, 8 Aug 2017

Tags

Classifications

Public