Submit a ticketCall us

whitepaperYour VM Perplexities Called, and They Need You to Read This.

Virtualization can give you enormous flexibility with future workloads and can be a key enabler for other areas, like cloud computing and disaster recovery. So, how can you get a handle on the performance challenges in your virtual environment and manage deployments without erasing the potential upside? Learn the four key areas you need to be focusing on to help deliver a healthy and well-performing data center.

Get your free white paper.

Home > Success Center > Web Help Desk (WHD) > WHD - Knowledgebase Articles > 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

Tags

Classifications

Public