Problem Description

MIB Designer fails to start or fails to open a window with the following exception printed out on the console:

java.lang.NullPointerException
     at javax.swing.plaf.ColorUIResource.<init>(Unknown Source)
     at com.klg.jclass.table.JCTableUI.installDefaults(Unknown Source)
     at com.klg.jclass.table.JCTableUI.installUI(Unknown Source)
     at javax.swing.JComponent.setUI(Unknown Source)
     at com.klg.jclass.table.JCTable.setUI(Unknown Source)
     at com.klg.jclass.table.JCTable.<init>(Unknown Source)
     at com.klg.jclass.table.JCListTable.<init>(Unknown Source)
...

Root Cause

The problem is caused by an incompatibility of the configured Java Look&Feel with the graphics card driver. It can be sovled by using another Look&Feel.

Solution

  1. Edit the file MIBDesigner3.cf in your home directory.
  2. Remove the line that starts with LookAndFeel=.
  3. Save the file and restart MIB Designer.