Tuesday, August 17, 2004 09:38 AM
A NullPointerException is generated when you try to access an attribute or method of an object which has not yet been instantiated or which has been de-referenced (sic!). For example, consider a class 'A' having a method 'getVal'. The following code would generate a NullPointerException...
A myA = null;
I would suggest that something is not being instantiated properly. This is probably a configuration issue. Are you passing in the same command line parameters in both instances? Are you referencing the same resource / property files?