AgenPro 3 hangs on startup with NullPointerException on Console

Last modified by Admin on 2024/05/25 21:17

If AgenPro does not start and prints the following stack trace on the console, some incompatibility of the used Look&Feel with the JDK's system color defaults could be the reason.


Exception in thread "main" 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.agentpp.common.table.PopupTable.<init>(Unknown Source)
       at com.agentpp.common.table.ExtendedTable.<init>(Unknown Source)
       at com.agentpp.agenpro.AgenProFrame$1.<init>(Unknown Source)
       at com.agentpp.agenpro.AgenProFrame.<init>(Unknown Source)
       at com.agentpp.agenpro.AgenPro.<init>(Unknown Source)
       at com.agentpp.agenpro.AgenPro.main(Unknown Source)

To get AgenPro to run again, edit the AgenPro3.cf file and remove the line that starts with


LookAndFeel=

or define it as:


LookAndFeel=com.jgoodies.looks.plastic.Plastic3DLookAndFeel