Child pages
  • AgenPro 3 hangs on startup with NullPointerException on Console

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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.

Code Block
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

Code Block
LookAndFeel=

or define it as:

Code Block
LookAndFeel=com.jgoodies.looks.plastic.Plastic3DLookAndFeel