Error Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException in Java program

In your Java code, you have the following code segment: public class BigOne { public static int i = 0;     JButton onebutton;     JLabel label;     JFrame frame;    public static void main(String[] args) {       BigOne gui = new BigOne();       gui.go();     } public void go() {     frame = new JFrame(); … Continue reading Error Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException in Java program

avast can not initialize avast! engine: Invalid argument

When running avast, the following error message is displayed at times: avast can not initialize avast! engine: Invalid argument To overcome this error, open a terminal window and enter the following command: $ sudo sysctl -w kernel.shmmax=100000000 <enter> Now you can start avast and it will work. Note that each time you start avast, you … Continue reading avast can not initialize avast! engine: Invalid argument

Overcoming GConf error: Failed to contact configuration server

If you get the following error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Server ping error: IDL:omg.org/CORBA/COMM_FAILURE:1.0) you can try resolving it by doing: $ mv … Continue reading Overcoming GConf error: Failed to contact configuration server