Wiki source code of MIB Designer 3.x fails to start
Last modified by Admin on 2024/05/25 21:21
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
5.1 | 1 | ==== Problem Description ==== |
2 | |||
3 | MIB Designer fails to start or fails to open a window with the following exception printed out on the console: | ||
4 | |||
5 | {{code}} | ||
6 | java.lang.NullPointerException | ||
7 | at javax.swing.plaf.ColorUIResource.<init>(Unknown Source) | ||
8 | at com.klg.jclass.table.JCTableUI.installDefaults(Unknown Source) | ||
9 | at com.klg.jclass.table.JCTableUI.installUI(Unknown Source) | ||
10 | at javax.swing.JComponent.setUI(Unknown Source) | ||
11 | at com.klg.jclass.table.JCTable.setUI(Unknown Source) | ||
12 | at com.klg.jclass.table.JCTable.<init>(Unknown Source) | ||
13 | at com.klg.jclass.table.JCListTable.<init>(Unknown Source) | ||
14 | ... | ||
15 | |||
16 | {{/code}} | ||
17 | |||
18 | ==== Root Cause ==== | ||
19 | |||
20 | 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. | ||
21 | |||
22 | ==== Solution ==== | ||
23 | |||
24 | 1. Edit the file **MIBDesigner3.cf** in your home directory. | ||
25 | 1. Remove the line that starts with **LookAndFeel=**. | ||
26 | 1. Save the file and restart MIB Designer. |